Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-8512 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-london-project-csit-api [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-d8unaEXGCSIM/agent.2090 SSH_AGENT_PID=2092 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-london-project-csit-api@tmp/private_key_11766329830429283719.key (/w/workspace/policy-api-london-project-csit-api@tmp/private_key_11766329830429283719.key) [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) The recommended git tool is: NONE using credential onap-jenkins-ssh Wiping out workspace first. Cloning the remote Git repository Cloning repository git://cloud.onap.org/mirror/policy/docker.git > git init /w/workspace/policy-api-london-project-csit-api # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_SSH to set credentials Gerrit user Verifying host key using manually-configured host key entries > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/london^{commit} # timeout=10 Checking out Revision e830ea142a4b760cf152d9db92c451d74b2da1f2 (refs/remotes/origin/london) > git config core.sparsecheckout # timeout=10 > git checkout -f e830ea142a4b760cf152d9db92c451d74b2da1f2 # timeout=30 Commit message: "Make update to allow local image to be used in Nordix" > git rev-list --no-walk e830ea142a4b760cf152d9db92c451d74b2da1f2 # timeout=10 provisioning config files... copy managed file [npmrc] to file:/home/jenkins/.npmrc copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins12680493623941956666.sh ---> python-tools-install.sh Setup pyenv: * system (set by /opt/pyenv/version) * 3.8.13 (set by /opt/pyenv/version) * 3.9.13 (set by /opt/pyenv/version) * 3.10.6 (set by /opt/pyenv/version) lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-hXTf lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-hXTf/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.2 from /tmp/venv-hXTf/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.1 aspy.yaml==1.3.0 attrs==23.1.0 autopage==0.5.2 Babel==2.14.0 beautifulsoup4==4.12.2 boto3==1.34.11 botocore==1.34.11 bs4==0.0.1 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.4.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.3.0 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.40 google-auth==2.25.2 httplib2==0.22.0 identify==2.5.33 idna==3.6 importlib-metadata==7.0.1 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.2 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.20.0 jsonschema-specifications==2023.12.1 keystoneauth1==5.4.0 kubernetes==28.1.0 lftools==0.37.8 lxml==5.0.0 MarkupSafe==2.1.3 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==0.9.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==2.9.0 oslo.config==9.2.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.2.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==4.1.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.3.0 python-jenkins==1.8.2 python-keystoneclient==5.2.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.32.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.16.2 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.10.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.9.0 tzdata==2023.4 urllib3==1.26.18 virtualenv==20.25.0 wcwidth==0.2.12 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 zipp==3.17.0 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-london-project-csit-api] $ /bin/sh /tmp/jenkins7627618460102719157.sh ---> update-java-alternatives.sh ---> Updating Java version ---> Ubuntu/Debian system detected update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode openjdk version "17.0.4" 2022-07-19 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' [EnvInject] - Variables injected successfully. [policy-api-london-project-csit-api] $ /bin/sh -xe /tmp/jenkins10671124882079746138.sh + /w/workspace/policy-api-london-project-csit-api/csit/run-project-csit.sh api + set +u + save_set + RUN_CSIT_SAVE_SET=ehxB + RUN_CSIT_SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail:xtrace + '[' 1 -eq 0 ']' + '[' -z /w/workspace/policy-api-london-project-csit-api ']' + export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin + export SCRIPTS=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts + SCRIPTS=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts + export ROBOT_VARIABLES= + ROBOT_VARIABLES= + export PROJECT=api + PROJECT=api + cd /w/workspace/policy-api-london-project-csit-api + rm -rf /w/workspace/policy-api-london-project-csit-api/csit/archives/api + mkdir -p /w/workspace/policy-api-london-project-csit-api/csit/archives/api + source_safely /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' +++ mktemp -d ++ ROBOT_VENV=/tmp/tmp.dRXn60hTZF ++ echo ROBOT_VENV=/tmp/tmp.dRXn60hTZF +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.dRXn60hTZF ++ source /tmp/tmp.dRXn60hTZF/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.dRXn60hTZF +++ export VIRTUAL_ENV +++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin +++ PATH=/tmp/tmp.dRXn60hTZF/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin +++ export PATH +++ '[' -n '' ']' +++ '[' -z '' ']' +++ _OLD_VIRTUAL_PS1= +++ '[' 'x(tmp.dRXn60hTZF) ' '!=' x ']' +++ PS1='(tmp.dRXn60hTZF) ' +++ export PS1 +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r ++ set -exu ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' ++ echo 'Installing Python Requirements' Installing Python Requirements ++ python3 -m pip install -qq -r /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.9.1 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.dRXn60hTZF/src/onap ++ rm -rf /tmp/tmp.dRXn60hTZF/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.9.1 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==0.18.3 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==5.0.0 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 PyYAML==6.0.1 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==0.6.0.dev105 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.dRXn60hTZF/bin/activate + '[' -z /tmp/tmp.dRXn60hTZF/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.dRXn60hTZF/bin/activate ++ deactivate nondestructive ++ '[' -n /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin ']' ++ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin ++ export PATH ++ unset _OLD_VIRTUAL_PATH ++ '[' -n '' ']' ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r ++ '[' -n '' ']' ++ unset VIRTUAL_ENV ++ '[' '!' nondestructive = nondestructive ']' ++ VIRTUAL_ENV=/tmp/tmp.dRXn60hTZF ++ export VIRTUAL_ENV ++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin ++ PATH=/tmp/tmp.dRXn60hTZF/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-london-project-csit-api/csit:/w/workspace/policy-api-london-project-csit-api/scripts:/bin ++ export PATH ++ '[' -n '' ']' ++ '[' -z '' ']' ++ _OLD_VIRTUAL_PS1='(tmp.dRXn60hTZF) ' ++ '[' 'x(tmp.dRXn60hTZF) ' '!=' x ']' ++ PS1='(tmp.dRXn60hTZF) (tmp.dRXn60hTZF) ' ++ export PS1 ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + export TEST_PLAN_DIR=/w/workspace/policy-api-london-project-csit-api/csit/resources/tests + TEST_PLAN_DIR=/w/workspace/policy-api-london-project-csit-api/csit/resources/tests + export TEST_OPTIONS= + TEST_OPTIONS= ++ mktemp -d + WORKDIR=/tmp/tmp.3wF95989Zv + cd /tmp/tmp.3wF95989Zv + docker login -u docker -p docker nexus3.onap.org:10001 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded + SETUP=/w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-london-project-csit-api/.gitreview +++ GERRIT_BRANCH=london +++ echo GERRIT_BRANCH=london GERRIT_BRANCH=london +++ rm -rf /w/workspace/policy-api-london-project-csit-api/models +++ mkdir /w/workspace/policy-api-london-project-csit-api/models +++ git clone -b london --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-london-project-csit-api/models Cloning into '/w/workspace/policy-api-london-project-csit-api/models'... +++ export DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json +++ sed -e 's!"version": "1.0.0"!"version": "2.0.0"!' -e 's!"policy-version": 1!"policy-version": 2!' /w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-london-project-csit-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose +++ grafana=false +++ gui=false +++ [[ 2 -gt 0 ]] +++ key=api +++ case $key in +++ echo api api +++ component=api +++ shift +++ [[ 1 -gt 0 ]] +++ key=--grafana +++ case $key in +++ grafana=true +++ shift +++ [[ 0 -gt 0 ]] +++ cd /w/workspace/policy-api-london-project-csit-api/compose +++ echo 'Configuring docker compose...' Configuring docker compose... +++ source export-ports.sh +++ source get-versions.sh +++ '[' -z api ']' +++ '[' -n api ']' +++ '[' api == logs ']' +++ '[' true = true ']' +++ echo 'Starting api application with Grafana' Starting api application with Grafana +++ docker-compose up -d api grafana Creating network "compose_default" with the default driver Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 10.10.2: Pulling from mariadb Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:2.6.2)... 2.6.2: Pulling from onap/policy-db-migrator Digest: sha256:a003c74f917627b7a14203f69b616fd4ffbb9c75689a5da0efcd611ad2535297 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:2.6.2 Pulling api (nexus3.onap.org:10001/onap/policy-api:2.8.2)... 2.8.2: Pulling from onap/policy-api Digest: sha256:217c303960fc98a3dbef0c32dcca2beb777ec0b98b821daa59093c76f331177d Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:2.8.2 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:a67e5e402ff5410b86ec48b39eab1a3c4df2a7e78a71bf025ec5e32e09090ad4 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... latest: Pulling from grafana/grafana Digest: sha256:6b5b37eb35bbf30e7f64bd7f0fd41c0a5b7637f65d3bf93223b04a192b8bf3e2 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating prometheus ... Creating mariadb ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-london-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-london-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 10 seconds policy-db-migrator Up 11 seconds grafana Up 13 seconds mariadb Up 12 seconds prometheus Up 14 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds mariadb Up 17 seconds prometheus Up 19 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds mariadb Up 22 seconds prometheus Up 24 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds NAMES STATUS policy-api Up 30 seconds grafana Up 33 seconds mariadb Up 32 seconds prometheus Up 34 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + tee /w/workspace/policy-api-london-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:37:26 up 4 min, 0 users, load average: 2.16, 0.98, 0.39 Tasks: 178 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.1 us, 1.8 sy, 0.0 ni, 83.6 id, 4.4 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 2.0G 25G 1.0M 3.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 30 seconds grafana Up 33 seconds mariadb Up 32 seconds prometheus Up 34 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 23dfa9111738 policy-api 0.10% 1008MiB / 31.41GiB 3.13% 1.04MB / 739kB 0B / 8.19kB 50 1308313c618d grafana 0.03% 51.9MiB / 31.41GiB 0.16% 18.6kB / 3.16kB 0B / 23.7MB 17 dc55d68f19a3 mariadb 0.01% 100.3MiB / 31.41GiB 0.31% 1.01MB / 1.21MB 11.2MB / 70.9MB 27 1889cbb1bfee prometheus 0.00% 18.72MiB / 31.41GiB 0.06% 1.38kB / 0B 4.1kB / 0B 14 + echo + cd /tmp/tmp.3wF95989Zv + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + sed 's|^|/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/|' api-slas.robot' + cat testplan.txt /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot' + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates' ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ... + relax_set + set +e + set +o pipefail + python3 -m robot.run -N api -v WORKSPACE:/tmp -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-london-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-london-project-csit-api/csit/resources/tests/api-slas.robot ============================================================================== api ============================================================================== api.Api-Test ============================================================================== Healthcheck :: Verify policy api health check | PASS | ------------------------------------------------------------------------------ Statistics :: Verify policy api statistics | PASS | ------------------------------------------------------------------------------ RetrievePolicyTypes :: Retrieve all policy types | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | ------------------------------------------------------------------------------ RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNodeTemplates :: Create node templates in database using spe... | PASS | ------------------------------------------------------------------------------ RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | ------------------------------------------------------------------------------ RetrieveAllPolicies :: Retrieve all policies | PASS | ------------------------------------------------------------------------------ RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | ------------------------------------------------------------------------------ RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | ------------------------------------------------------------------------------ RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | ------------------------------------------------------------------------------ DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ Metrics :: Verify policy-api is exporting prometheus metrics | PASS | ------------------------------------------------------------------------------ api.Api-Test | PASS | 23 tests, 23 passed, 0 failed ============================================================================== api.Api-Slas ============================================================================== WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForStatistics :: Validate statistics response ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ api.Api-Slas | PASS | 10 tests, 10 passed, 0 failed ============================================================================== api | PASS | 33 tests, 33 passed, 0 failed ============================================================================== Output: /tmp/tmp.3wF95989Zv/output.xml Log: /tmp/tmp.3wF95989Zv/log.html Report: /tmp/tmp.3wF95989Zv/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-london-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:38:36 up 5 min, 0 users, load average: 0.84, 0.84, 0.39 Tasks: 176 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.6 us, 1.5 sy, 0.0 ni, 86.3 id, 3.6 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 2.0G 25G 1.0M 3.9G 28G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 23dfa9111738 policy-api 0.08% 1.058GiB / 31.41GiB 3.37% 7.32MB / 2.87MB 0B / 8.19kB 52 1308313c618d grafana 0.05% 52.64MiB / 31.41GiB 0.16% 19.7kB / 4.4kB 0B / 23.7MB 17 dc55d68f19a3 mariadb 0.02% 101.1MiB / 31.41GiB 0.31% 2.75MB / 7.36MB 11.2MB / 71MB 18 1889cbb1bfee prometheus 0.00% 24.62MiB / 31.41GiB 0.08% 38.1kB / 7.16kB 4.1kB / 0B 14 + echo + source_safely /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-london-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-london-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-london-project-csit-api/compose ++ cd /w/workspace/policy-api-london-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-api, policy-db-migrator, grafana, mariadb, prometheus grafana | logger=settings t=2023-12-30T11:36:52.830032648Z level=info msg="Starting Grafana" version=10.2.3 commit=1e84fede543acc892d2a2515187e545eb047f237 branch=HEAD compiled=2023-12-18T15:46:07Z grafana | logger=settings t=2023-12-30T11:36:52.830229777Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2023-12-30T11:36:52.830240167Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2023-12-30T11:36:52.830243937Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2023-12-30T11:36:52.830246957Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2023-12-30T11:36:52.830250028Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2023-12-30T11:36:52.830253218Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2023-12-30T11:36:52.830256298Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2023-12-30T11:36:52.830260808Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2023-12-30T11:36:52.830264698Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2023-12-30T11:36:52.830267958Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2023-12-30T11:36:52.830271248Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2023-12-30T11:36:52.830275089Z level=info msg=Target target=[all] grafana | logger=settings t=2023-12-30T11:36:52.830280619Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2023-12-30T11:36:52.830283849Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2023-12-30T11:36:52.830287089Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2023-12-30T11:36:52.830290389Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2023-12-30T11:36:52.830293739Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2023-12-30T11:36:52.83029777Z level=info msg="App mode production" grafana | logger=sqlstore t=2023-12-30T11:36:52.830587672Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2023-12-30T11:36:52.830603563Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2023-12-30T11:36:52.831164058Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2023-12-30T11:36:52.832028596Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2023-12-30T11:36:52.832742147Z level=info msg="Migration successfully executed" id="create migration_log table" duration=713.191µs grafana | logger=migrator t=2023-12-30T11:36:52.836874979Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2023-12-30T11:36:52.837385731Z level=info msg="Migration successfully executed" id="create user table" duration=510.692µs grafana | logger=migrator t=2023-12-30T11:36:52.843855506Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2023-12-30T11:36:52.844954324Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.098448ms grafana | logger=migrator t=2023-12-30T11:36:52.849439502Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2023-12-30T11:36:52.850558911Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.11919ms grafana | logger=migrator t=2023-12-30T11:36:52.854421571Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2023-12-30T11:36:52.855416004Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=994.123µs grafana | logger=migrator t=2023-12-30T11:36:52.861292863Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2023-12-30T11:36:52.862030755Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=737.762µs grafana | logger=migrator t=2023-12-30T11:36:52.865803531Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2023-12-30T11:36:52.870075929Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.270198ms grafana | logger=migrator t=2023-12-30T11:36:52.873933029Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2023-12-30T11:36:52.875033207Z level=info msg="Migration successfully executed" id="create user table v2" duration=1.109419ms grafana | logger=migrator t=2023-12-30T11:36:52.881242941Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2023-12-30T11:36:52.882434483Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.191233ms grafana | logger=migrator t=2023-12-30T11:36:52.886133176Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2023-12-30T11:36:52.887245465Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.112289ms grafana | logger=migrator t=2023-12-30T11:36:52.891103434Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2023-12-30T11:36:52.891720771Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=617.337µs grafana | logger=migrator t=2023-12-30T11:36:52.895219225Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2023-12-30T11:36:52.895718997Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=499.282µs grafana | logger=migrator t=2023-12-30T11:36:52.900921086Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2023-12-30T11:36:52.902098448Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.176752ms grafana | logger=migrator t=2023-12-30T11:36:52.905634583Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2023-12-30T11:36:52.905699976Z level=info msg="Migration successfully executed" id="Update user table charset" duration=66.843µs grafana | logger=migrator t=2023-12-30T11:36:52.909308925Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2023-12-30T11:36:52.911000939Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.691434ms grafana | logger=migrator t=2023-12-30T11:36:52.91669662Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2023-12-30T11:36:52.916902549Z level=info msg="Migration successfully executed" id="Add missing user data" duration=205.599µs grafana | logger=migrator t=2023-12-30T11:36:52.920394443Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2023-12-30T11:36:52.921992813Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.5971ms grafana | logger=migrator t=2023-12-30T11:36:52.926436598Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2023-12-30T11:36:52.927547897Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.110689ms grafana | logger=migrator t=2023-12-30T11:36:52.931630617Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2023-12-30T11:36:52.93352818Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.897313ms grafana | logger=migrator t=2023-12-30T11:36:52.939392828Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2023-12-30T11:36:52.94876344Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=9.369932ms grafana | logger=migrator t=2023-12-30T11:36:52.952071926Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2023-12-30T11:36:52.952792968Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=720.822µs grafana | logger=migrator t=2023-12-30T11:36:52.956826405Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2023-12-30T11:36:52.957560337Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=733.082µs grafana | logger=migrator t=2023-12-30T11:36:52.96490075Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2023-12-30T11:36:52.966075412Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.173762ms grafana | logger=migrator t=2023-12-30T11:36:52.969602267Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2023-12-30T11:36:52.970750208Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.14731ms grafana | logger=migrator t=2023-12-30T11:36:52.974566635Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2023-12-30T11:36:52.975281387Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=714.262µs grafana | logger=migrator t=2023-12-30T11:36:52.980544278Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2023-12-30T11:36:52.980569169Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=25.451µs grafana | logger=migrator t=2023-12-30T11:36:52.984002411Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2023-12-30T11:36:52.984964593Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=961.763µs grafana | logger=migrator t=2023-12-30T11:36:52.99058723Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2023-12-30T11:36:52.991584814Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=996.934µs grafana | logger=migrator t=2023-12-30T11:36:52.995292247Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2023-12-30T11:36:52.996291421Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=998.864µs grafana | logger=migrator t=2023-12-30T11:36:53.001905368Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2023-12-30T11:36:53.002536026Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=630.368µs grafana | logger=migrator t=2023-12-30T11:36:53.006012679Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-30T11:36:53.011666417Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=5.652898ms grafana | logger=migrator t=2023-12-30T11:36:53.015217144Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2023-12-30T11:36:53.015963706Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=744.473µs grafana | logger=migrator t=2023-12-30T11:36:53.020606131Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2023-12-30T11:36:53.021379715Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=773.134µs grafana | logger=migrator t=2023-12-30T11:36:53.024752363Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2023-12-30T11:36:53.025938075Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.184922ms grafana | logger=migrator t=2023-12-30T11:36:53.030256695Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2023-12-30T11:36:53.031413236Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.156071ms grafana | logger=migrator t=2023-12-30T11:36:53.03764079Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2023-12-30T11:36:53.038736578Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.095188ms grafana | logger=migrator t=2023-12-30T11:36:53.042368878Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2023-12-30T11:36:53.042947083Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=578.395µs grafana | logger=migrator t=2023-12-30T11:36:53.046669427Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2023-12-30T11:36:53.047155968Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=486.021µs grafana | logger=migrator t=2023-12-30T11:36:53.053074179Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2023-12-30T11:36:53.053462896Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=388.437µs grafana | logger=migrator t=2023-12-30T11:36:53.056986521Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2023-12-30T11:36:53.057898001Z level=info msg="Migration successfully executed" id="create star table" duration=910.91µs grafana | logger=migrator t=2023-12-30T11:36:53.061350093Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2023-12-30T11:36:53.062483223Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.132269ms grafana | logger=migrator t=2023-12-30T11:36:53.092695662Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2023-12-30T11:36:53.093875483Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.183142ms grafana | logger=migrator t=2023-12-30T11:36:53.109465719Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2023-12-30T11:36:53.110635571Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.169741ms grafana | logger=migrator t=2023-12-30T11:36:53.114550453Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2023-12-30T11:36:53.115522866Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=971.822µs grafana | logger=migrator t=2023-12-30T11:36:53.119093823Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2023-12-30T11:36:53.119868067Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=776.385µs grafana | logger=migrator t=2023-12-30T11:36:53.123142131Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2023-12-30T11:36:53.123904594Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=761.743µs grafana | logger=migrator t=2023-12-30T11:36:53.128676404Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2023-12-30T11:36:53.129465719Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=788.865µs grafana | logger=migrator t=2023-12-30T11:36:53.133334149Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2023-12-30T11:36:53.133369341Z level=info msg="Migration successfully executed" id="Update org table charset" duration=35.872µs grafana | logger=migrator t=2023-12-30T11:36:53.139299041Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2023-12-30T11:36:53.139341163Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=39.532µs grafana | logger=migrator t=2023-12-30T11:36:53.143301978Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2023-12-30T11:36:53.14357586Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=269.002µs grafana | logger=migrator t=2023-12-30T11:36:53.148426093Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2023-12-30T11:36:53.149559713Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.13307ms grafana | logger=migrator t=2023-12-30T11:36:53.153105639Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2023-12-30T11:36:53.153881123Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=775.004µs grafana | logger=migrator t=2023-12-30T11:36:53.157815406Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2023-12-30T11:36:53.15859179Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=775.354µs grafana | logger=migrator t=2023-12-30T11:36:53.162412428Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2023-12-30T11:36:53.163396441Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=983.573µs grafana | logger=migrator t=2023-12-30T11:36:53.168016145Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2023-12-30T11:36:53.169247679Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.230605ms grafana | logger=migrator t=2023-12-30T11:36:53.173215993Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2023-12-30T11:36:53.174473699Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.219564ms grafana | logger=migrator t=2023-12-30T11:36:53.178663363Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2023-12-30T11:36:53.185030113Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=6.36577ms grafana | logger=migrator t=2023-12-30T11:36:53.189781092Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2023-12-30T11:36:53.19041614Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=635.838µs grafana | logger=migrator t=2023-12-30T11:36:53.193744406Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2023-12-30T11:36:53.194785082Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.039136ms grafana | logger=migrator t=2023-12-30T11:36:53.199451477Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2023-12-30T11:36:53.200666501Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.214764ms grafana | logger=migrator t=2023-12-30T11:36:53.206012036Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2023-12-30T11:36:53.206319269Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=307.093µs grafana | logger=migrator t=2023-12-30T11:36:53.221291438Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2023-12-30T11:36:53.222531623Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.242784ms grafana | logger=migrator t=2023-12-30T11:36:53.230075154Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2023-12-30T11:36:53.23021287Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=139.196µs grafana | logger=migrator t=2023-12-30T11:36:53.233943805Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2023-12-30T11:36:53.236734847Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.790403ms grafana | logger=migrator t=2023-12-30T11:36:53.244256948Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2023-12-30T11:36:53.245980894Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.723286ms grafana | logger=migrator t=2023-12-30T11:36:53.249931788Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2023-12-30T11:36:53.252631216Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=2.698858ms grafana | logger=migrator t=2023-12-30T11:36:53.257882547Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2023-12-30T11:36:53.25861924Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=736.153µs grafana | logger=migrator t=2023-12-30T11:36:53.261900564Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2023-12-30T11:36:53.26362125Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.720206ms grafana | logger=migrator t=2023-12-30T11:36:53.267394776Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2023-12-30T11:36:53.26817249Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=777.364µs grafana | logger=migrator t=2023-12-30T11:36:53.272684489Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2023-12-30T11:36:53.273504135Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=819.037µs grafana | logger=migrator t=2023-12-30T11:36:53.277672668Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2023-12-30T11:36:53.27770799Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=36.801µs grafana | logger=migrator t=2023-12-30T11:36:53.281624882Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2023-12-30T11:36:53.281665324Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=38.731µs grafana | logger=migrator t=2023-12-30T11:36:53.287364034Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2023-12-30T11:36:53.290279743Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.916328ms grafana | logger=migrator t=2023-12-30T11:36:53.295163167Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2023-12-30T11:36:53.296965357Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.801329ms grafana | logger=migrator t=2023-12-30T11:36:53.300105375Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2023-12-30T11:36:53.301973687Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.868282ms grafana | logger=migrator t=2023-12-30T11:36:53.306397871Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2023-12-30T11:36:53.308253533Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.854992ms grafana | logger=migrator t=2023-12-30T11:36:53.313239462Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2023-12-30T11:36:53.313434931Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=195.539µs grafana | logger=migrator t=2023-12-30T11:36:53.317807353Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2023-12-30T11:36:53.319046078Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.237795ms grafana | logger=migrator t=2023-12-30T11:36:53.323513604Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2023-12-30T11:36:53.324617843Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.103929ms grafana | logger=migrator t=2023-12-30T11:36:53.329294779Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2023-12-30T11:36:53.32932121Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=27.031µs grafana | logger=migrator t=2023-12-30T11:36:53.332554342Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2023-12-30T11:36:53.333322976Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=764.064µs grafana | logger=migrator t=2023-12-30T11:36:53.337094852Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2023-12-30T11:36:53.338136158Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.040845ms grafana | logger=migrator t=2023-12-30T11:36:53.342647986Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-30T11:36:53.354143942Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=11.497256ms grafana | logger=migrator t=2023-12-30T11:36:53.357424356Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2023-12-30T11:36:53.357877956Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=453.49µs grafana | logger=migrator t=2023-12-30T11:36:53.36273996Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2023-12-30T11:36:53.363703142Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=961.222µs grafana | logger=migrator t=2023-12-30T11:36:53.368758865Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2023-12-30T11:36:53.369771839Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.012535ms grafana | logger=migrator t=2023-12-30T11:36:53.373488273Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2023-12-30T11:36:53.373808857Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=320.185µs grafana | logger=migrator t=2023-12-30T11:36:53.377713438Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2023-12-30T11:36:53.378600647Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=886.489µs grafana | logger=migrator t=2023-12-30T11:36:53.383870109Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2023-12-30T11:36:53.387315391Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.446032ms grafana | logger=migrator t=2023-12-30T11:36:53.427957088Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2023-12-30T11:36:53.429569719Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=1.612191ms grafana | logger=migrator t=2023-12-30T11:36:53.433796065Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2023-12-30T11:36:53.434094218Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=298.123µs grafana | logger=migrator t=2023-12-30T11:36:53.439435483Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2023-12-30T11:36:53.439856512Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=420.499µs grafana | logger=migrator t=2023-12-30T11:36:53.443998284Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2023-12-30T11:36:53.444756167Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=757.653µs grafana | logger=migrator t=2023-12-30T11:36:53.448634608Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2023-12-30T11:36:53.450707079Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.072091ms grafana | logger=migrator t=2023-12-30T11:36:53.454348049Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2023-12-30T11:36:53.455228808Z level=info msg="Migration successfully executed" id="create data_source table" duration=880.509µs grafana | logger=migrator t=2023-12-30T11:36:53.459808979Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2023-12-30T11:36:53.460893437Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.082638ms grafana | logger=migrator t=2023-12-30T11:36:53.464945105Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2023-12-30T11:36:53.466309895Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.36389ms grafana | logger=migrator t=2023-12-30T11:36:53.470392855Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2023-12-30T11:36:53.471087296Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=694.39µs grafana | logger=migrator t=2023-12-30T11:36:53.475473709Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2023-12-30T11:36:53.476829958Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.3569ms grafana | logger=migrator t=2023-12-30T11:36:53.48186593Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2023-12-30T11:36:53.492282348Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=10.417308ms grafana | logger=migrator t=2023-12-30T11:36:53.496675371Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2023-12-30T11:36:53.497273997Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=598.196µs grafana | logger=migrator t=2023-12-30T11:36:53.500634975Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2023-12-30T11:36:53.501274603Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=639.178µs grafana | logger=migrator t=2023-12-30T11:36:53.505085401Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2023-12-30T11:36:53.505985921Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=900.34µs grafana | logger=migrator t=2023-12-30T11:36:53.510557422Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2023-12-30T11:36:53.511062204Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=503.282µs grafana | logger=migrator t=2023-12-30T11:36:53.515697378Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2023-12-30T11:36:53.51801283Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.316402ms grafana | logger=migrator t=2023-12-30T11:36:53.521629069Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2023-12-30T11:36:53.523814725Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.185286ms grafana | logger=migrator t=2023-12-30T11:36:53.528816025Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2023-12-30T11:36:53.528840226Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=24.861µs grafana | logger=migrator t=2023-12-30T11:36:53.532210994Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2023-12-30T11:36:53.532378112Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=166.947µs grafana | logger=migrator t=2023-12-30T11:36:53.535882046Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2023-12-30T11:36:53.539488174Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.605448ms grafana | logger=migrator t=2023-12-30T11:36:53.543969101Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2023-12-30T11:36:53.54415972Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=192.749µs grafana | logger=migrator t=2023-12-30T11:36:53.548534292Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2023-12-30T11:36:53.548685799Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=151.467µs grafana | logger=migrator t=2023-12-30T11:36:53.55212319Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2023-12-30T11:36:53.556061643Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.937583ms grafana | logger=migrator t=2023-12-30T11:36:53.559723984Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2023-12-30T11:36:53.560001547Z level=info msg="Migration successfully executed" id="Update uid value" duration=277.542µs grafana | logger=migrator t=2023-12-30T11:36:53.564458343Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2023-12-30T11:36:53.565278499Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=822.037µs grafana | logger=migrator t=2023-12-30T11:36:53.568469169Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2023-12-30T11:36:53.569274524Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=803.015µs grafana | logger=migrator t=2023-12-30T11:36:53.573065581Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2023-12-30T11:36:53.573790063Z level=info msg="Migration successfully executed" id="create api_key table" duration=724.592µs grafana | logger=migrator t=2023-12-30T11:36:53.578160265Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2023-12-30T11:36:53.579379789Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.218124ms grafana | logger=migrator t=2023-12-30T11:36:53.583148965Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2023-12-30T11:36:53.584364368Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.215083ms grafana | logger=migrator t=2023-12-30T11:36:53.588546482Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2023-12-30T11:36:53.58939621Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=851.147µs grafana | logger=migrator t=2023-12-30T11:36:53.595284549Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2023-12-30T11:36:53.596385817Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.101039ms grafana | logger=migrator t=2023-12-30T11:36:53.60009533Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2023-12-30T11:36:53.60123048Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.13485ms grafana | logger=migrator t=2023-12-30T11:36:53.604984995Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2023-12-30T11:36:53.605749739Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=764.104µs grafana | logger=migrator t=2023-12-30T11:36:53.639096716Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2023-12-30T11:36:53.65124045Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=12.145614ms grafana | logger=migrator t=2023-12-30T11:36:53.666504341Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2023-12-30T11:36:53.667486804Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=982.093µs grafana | logger=migrator t=2023-12-30T11:36:53.674080304Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2023-12-30T11:36:53.675287228Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=1.206723ms grafana | logger=migrator t=2023-12-30T11:36:53.679492603Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2023-12-30T11:36:53.680728627Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.235685ms grafana | logger=migrator t=2023-12-30T11:36:53.684384258Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2023-12-30T11:36:53.685852492Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.466654ms grafana | logger=migrator t=2023-12-30T11:36:53.690191183Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2023-12-30T11:36:53.690531148Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=339.935µs grafana | logger=migrator t=2023-12-30T11:36:53.694005911Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2023-12-30T11:36:53.694531334Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=525.443µs grafana | logger=migrator t=2023-12-30T11:36:53.699601937Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2023-12-30T11:36:53.699629218Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=28.311µs grafana | logger=migrator t=2023-12-30T11:36:53.703004497Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2023-12-30T11:36:53.705390952Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.386275ms grafana | logger=migrator t=2023-12-30T11:36:53.709834247Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2023-12-30T11:36:53.712229913Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.397985ms grafana | logger=migrator t=2023-12-30T11:36:53.715477645Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2023-12-30T11:36:53.715638482Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=160.947µs grafana | logger=migrator t=2023-12-30T11:36:53.719289693Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2023-12-30T11:36:53.72172471Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.433727ms grafana | logger=migrator t=2023-12-30T11:36:53.725739027Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2023-12-30T11:36:53.728204705Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.465658ms grafana | logger=migrator t=2023-12-30T11:36:53.73126064Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2023-12-30T11:36:53.731893257Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=632.287µs grafana | logger=migrator t=2023-12-30T11:36:53.734999044Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2023-12-30T11:36:53.735499956Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=497.822µs grafana | logger=migrator t=2023-12-30T11:36:53.742097406Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2023-12-30T11:36:53.743204825Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.106669ms grafana | logger=migrator t=2023-12-30T11:36:53.74673879Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2023-12-30T11:36:53.747953954Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.213864ms grafana | logger=migrator t=2023-12-30T11:36:53.751802433Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2023-12-30T11:36:53.752573107Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=770.874µs grafana | logger=migrator t=2023-12-30T11:36:53.756460928Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2023-12-30T11:36:53.757336697Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=875.399µs grafana | logger=migrator t=2023-12-30T11:36:53.760259525Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2023-12-30T11:36:53.760323148Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=64.433µs grafana | logger=migrator t=2023-12-30T11:36:53.763629183Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2023-12-30T11:36:53.763655095Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=26.741µs grafana | logger=migrator t=2023-12-30T11:36:53.766860426Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2023-12-30T11:36:53.769490791Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=2.630136ms grafana | logger=migrator t=2023-12-30T11:36:53.773450625Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2023-12-30T11:36:53.776175925Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.7228ms grafana | logger=migrator t=2023-12-30T11:36:53.779372276Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2023-12-30T11:36:53.779435899Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=64.403µs grafana | logger=migrator t=2023-12-30T11:36:53.782728994Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2023-12-30T11:36:53.783364021Z level=info msg="Migration successfully executed" id="create quota table v1" duration=634.948µs mariadb | 2023-12-30 11:36:53+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-12-30 11:36:54+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2023-12-30 11:36:54+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-12-30 11:36:54+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2023-12-30 11:36:54 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-12-30 11:36:54 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-12-30 11:36:54 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2023-12-30 11:36:56+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2023-12-30 11:36:56+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2023-12-30 11:36:56+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2023-12-30 11:36:56 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 97 ... mariadb | 2023-12-30 11:36:56 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 grafana | logger=migrator t=2023-12-30T11:36:53.787453141Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2023-12-30T11:36:53.788255077Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=801.175µs grafana | logger=migrator t=2023-12-30T11:36:53.791185596Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2023-12-30T11:36:53.791213007Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=27.792µs grafana | logger=migrator t=2023-12-30T11:36:53.793853473Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2023-12-30T11:36:53.794541413Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=688.11µs grafana | logger=migrator t=2023-12-30T11:36:53.79856937Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2023-12-30T11:36:53.799349545Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=779.825µs grafana | logger=migrator t=2023-12-30T11:36:53.802861189Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2023-12-30T11:36:53.805703074Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.841545ms grafana | logger=migrator t=2023-12-30T11:36:53.809369175Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2023-12-30T11:36:53.809393676Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=25.631µs grafana | logger=migrator t=2023-12-30T11:36:53.813657804Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2023-12-30T11:36:53.814435038Z level=info msg="Migration successfully executed" id="create session table" duration=777.104µs grafana | logger=migrator t=2023-12-30T11:36:53.817851628Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2023-12-30T11:36:53.817987384Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=136.086µs grafana | logger=migrator t=2023-12-30T11:36:53.821894776Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2023-12-30T11:36:53.822016212Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=122.396µs grafana | logger=migrator t=2023-12-30T11:36:53.825968765Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2023-12-30T11:36:53.826607314Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=640.408µs grafana | logger=migrator t=2023-12-30T11:36:53.830830889Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2023-12-30T11:36:53.831456927Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=625.878µs grafana | logger=migrator t=2023-12-30T11:36:53.8349328Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2023-12-30T11:36:53.834957201Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=24.931µs grafana | logger=migrator t=2023-12-30T11:36:53.83767486Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2023-12-30T11:36:53.837710212Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=33.182µs grafana | logger=migrator t=2023-12-30T11:36:53.84539186Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2023-12-30T11:36:53.850653151Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=5.264471ms grafana | logger=migrator t=2023-12-30T11:36:53.854013609Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2023-12-30T11:36:53.857029002Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.014963ms grafana | logger=migrator t=2023-12-30T11:36:53.859996072Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2023-12-30T11:36:53.860080616Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=85.344µs grafana | logger=migrator t=2023-12-30T11:36:53.864917559Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2023-12-30T11:36:53.864997102Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=80.123µs grafana | logger=migrator t=2023-12-30T11:36:53.868274736Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2023-12-30T11:36:53.868937586Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=662.739µs grafana | logger=migrator t=2023-12-30T11:36:53.873746677Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2023-12-30T11:36:53.873771848Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=25.531µs grafana | logger=migrator t=2023-12-30T11:36:53.880374819Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2023-12-30T11:36:53.885621049Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=5.246001ms grafana | logger=migrator t=2023-12-30T11:36:53.891004276Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2023-12-30T11:36:53.891258227Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=254.701µs grafana | logger=migrator t=2023-12-30T11:36:53.894704359Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2023-12-30T11:36:53.899221568Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=4.520448ms grafana | logger=migrator t=2023-12-30T11:36:53.904346723Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2023-12-30T11:36:53.908637482Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=4.293859ms grafana | logger=migrator t=2023-12-30T11:36:53.912029061Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2023-12-30T11:36:53.912079253Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=50.342µs grafana | logger=migrator t=2023-12-30T11:36:53.915038853Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2023-12-30T11:36:53.915698722Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=659.299µs grafana | logger=migrator t=2023-12-30T11:36:53.921515128Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2023-12-30T11:36:53.922857517Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.341749ms grafana | logger=migrator t=2023-12-30T11:36:53.926073009Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2023-12-30T11:36:53.927043321Z level=info msg="Migration successfully executed" id="create alert table v1" duration=968.742µs grafana | logger=migrator t=2023-12-30T11:36:53.944133853Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2023-12-30T11:36:53.945553086Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.418542ms grafana | logger=migrator t=2023-12-30T11:36:53.953591829Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2023-12-30T11:36:53.956924186Z level=info msg="Migration successfully executed" id="add index alert state" duration=3.335437ms grafana | logger=migrator t=2023-12-30T11:36:53.960082155Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2023-12-30T11:36:53.961370891Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.291107ms grafana | logger=migrator t=2023-12-30T11:36:53.965026922Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2023-12-30T11:36:53.965614758Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=587.826µs grafana | logger=migrator t=2023-12-30T11:36:53.971498557Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2023-12-30T11:36:53.972881808Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.382871ms grafana | logger=migrator t=2023-12-30T11:36:53.979102081Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2023-12-30T11:36:53.980394438Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.291997ms grafana | logger=migrator t=2023-12-30T11:36:53.986441744Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2023-12-30T11:36:53.999966159Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=13.523815ms grafana | logger=migrator t=2023-12-30T11:36:54.004977629Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2023-12-30T11:36:54.005636228Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=658.499µs grafana | logger=migrator t=2023-12-30T11:36:54.010677219Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" grafana | logger=migrator t=2023-12-30T11:36:54.014247105Z level=info msg="Migration successfully executed" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" duration=3.569036ms grafana | logger=migrator t=2023-12-30T11:36:54.020333311Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2023-12-30T11:36:54.023067761Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=2.7396ms grafana | logger=migrator t=2023-12-30T11:36:54.029828227Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2023-12-30T11:36:54.030396441Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=568.254µs grafana | logger=migrator t=2023-12-30T11:36:54.0349443Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2023-12-30T11:36:54.036046059Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.101709ms grafana | logger=migrator t=2023-12-30T11:36:54.040077365Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2023-12-30T11:36:54.043607359Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.529834ms grafana | logger=migrator t=2023-12-30T11:36:54.05549584Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2023-12-30T11:36:54.058047301Z level=info msg="Migration successfully executed" id="Add column frequency" duration=2.552172ms grafana | logger=migrator t=2023-12-30T11:36:54.060849434Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2023-12-30T11:36:54.063339483Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=2.489899ms grafana | logger=migrator t=2023-12-30T11:36:54.066291022Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2023-12-30T11:36:54.069467861Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.176009ms grafana | logger=migrator t=2023-12-30T11:36:54.077071023Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2023-12-30T11:36:54.078677194Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.609391ms grafana | logger=migrator t=2023-12-30T11:36:54.082423368Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2023-12-30T11:36:54.082464139Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=42.452µs grafana | logger=migrator t=2023-12-30T11:36:54.085244951Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2023-12-30T11:36:54.085268992Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=24.751µs grafana | logger=migrator t=2023-12-30T11:36:54.091930643Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2023-12-30T11:36:54.093065763Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.13588ms grafana | logger=migrator t=2023-12-30T11:36:54.096965874Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-12-30T11:36:54.098354785Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.38824ms grafana | logger=migrator t=2023-12-30T11:36:54.101934951Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2023-12-30T11:36:54.102621961Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=686.8µs grafana | logger=migrator t=2023-12-30T11:36:54.107925553Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2023-12-30T11:36:54.109318284Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.397851ms grafana | logger=migrator t=2023-12-30T11:36:54.115271495Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-12-30T11:36:54.116177694Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=906.23µs grafana | logger=migrator t=2023-12-30T11:36:54.12042725Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2023-12-30T11:36:54.124148113Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.720743ms grafana | logger=migrator t=2023-12-30T11:36:54.332155892Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2023-12-30T11:36:54.33874219Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=6.589508ms grafana | logger=migrator t=2023-12-30T11:36:54.413545492Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2023-12-30T11:36:54.413910868Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=367.376µs grafana | logger=migrator t=2023-12-30T11:36:54.4194266Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2023-12-30T11:36:54.42080975Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.38264ms grafana | logger=migrator t=2023-12-30T11:36:54.476196243Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2023-12-30T11:36:54.477598115Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.397641ms grafana | logger=migrator t=2023-12-30T11:36:54.562893776Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2023-12-30T11:36:54.568715391Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=5.821495ms grafana | logger=migrator t=2023-12-30T11:36:54.573482199Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2023-12-30T11:36:54.573545792Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=64.123µs grafana | logger=migrator t=2023-12-30T11:36:54.583373252Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2023-12-30T11:36:54.584641088Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.267365ms grafana | logger=migrator t=2023-12-30T11:36:54.588525667Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2023-12-30T11:36:54.589936539Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.410342ms grafana | logger=migrator t=2023-12-30T11:36:54.594239867Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2023-12-30T11:36:54.594360573Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=121.306µs grafana | logger=migrator t=2023-12-30T11:36:54.603366247Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2023-12-30T11:36:54.604696665Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.330138ms grafana | logger=migrator t=2023-12-30T11:36:54.609294436Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2023-12-30T11:36:54.610164654Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=869.458µs grafana | logger=migrator t=2023-12-30T11:36:54.61554742Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2023-12-30T11:36:54.617200642Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.653023ms grafana | logger=migrator t=2023-12-30T11:36:54.623462326Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2023-12-30T11:36:54.624344294Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=881.508µs grafana | logger=migrator t=2023-12-30T11:36:54.630815398Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2023-12-30T11:36:54.632316893Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.513716ms grafana | logger=migrator t=2023-12-30T11:36:54.641292456Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2023-12-30T11:36:54.642943678Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.649532ms grafana | logger=migrator t=2023-12-30T11:36:54.650178935Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2023-12-30T11:36:54.650221097Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=43.441µs grafana | logger=migrator t=2023-12-30T11:36:54.658262028Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2023-12-30T11:36:54.665499845Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=7.233687ms grafana | logger=migrator t=2023-12-30T11:36:54.669675518Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2023-12-30T11:36:54.670482813Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=807.255µs grafana | logger=migrator t=2023-12-30T11:36:54.676338489Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2023-12-30T11:36:54.682449766Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=6.110527ms grafana | logger=migrator t=2023-12-30T11:36:54.689120638Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2023-12-30T11:36:54.689768417Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=647.569µs grafana | logger=migrator t=2023-12-30T11:36:54.694052854Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2023-12-30T11:36:54.695578361Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.521406ms grafana | logger=migrator t=2023-12-30T11:36:54.701799903Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2023-12-30T11:36:54.702598958Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=799.005µs grafana | logger=migrator t=2023-12-30T11:36:54.708964136Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2023-12-30T11:36:54.726372058Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=17.409182ms grafana | logger=migrator t=2023-12-30T11:36:54.731416049Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2023-12-30T11:36:54.732052796Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=637.057µs grafana | logger=migrator t=2023-12-30T11:36:54.738428055Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" grafana | logger=migrator t=2023-12-30T11:36:54.739418789Z level=info msg="Migration successfully executed" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" duration=988.954µs grafana | logger=migrator t=2023-12-30T11:36:54.744144705Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2023-12-30T11:36:54.744567834Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=423.219µs grafana | logger=migrator t=2023-12-30T11:36:54.749612165Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2023-12-30T11:36:54.750102976Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=488.251µs grafana | logger=migrator t=2023-12-30T11:36:54.755301304Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2023-12-30T11:36:54.755572385Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=271.612µs grafana | logger=migrator t=2023-12-30T11:36:54.792998743Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2023-12-30T11:36:54.799726927Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.726864ms grafana | logger=migrator t=2023-12-30T11:36:54.809077886Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2023-12-30T11:36:54.814259303Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=5.178847ms grafana | logger=migrator t=2023-12-30T11:36:54.821204497Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2023-12-30T11:36:54.822861509Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.656162ms grafana | logger=migrator t=2023-12-30T11:36:54.826262668Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2023-12-30T11:36:54.827713381Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.450503ms grafana | logger=migrator t=2023-12-30T11:36:54.831205934Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2023-12-30T11:36:54.831460675Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=254.711µs grafana | logger=migrator t=2023-12-30T11:36:54.838291944Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2023-12-30T11:36:54.844185782Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=5.914019ms grafana | logger=migrator t=2023-12-30T11:36:54.851295193Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2023-12-30T11:36:54.852863882Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.567969ms grafana | logger=migrator t=2023-12-30T11:36:54.859548154Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2023-12-30T11:36:54.859808416Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=263.971µs grafana | logger=migrator t=2023-12-30T11:36:54.865309806Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2023-12-30T11:36:54.866006057Z level=info msg="Migration successfully executed" id="Move region to single row" duration=696.24µs grafana | logger=migrator t=2023-12-30T11:36:54.871313579Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2023-12-30T11:36:54.872914869Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.60153ms grafana | logger=migrator t=2023-12-30T11:36:54.881302486Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2023-12-30T11:36:54.882919947Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.61746ms grafana | logger=migrator t=2023-12-30T11:36:55.009426518Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-12-30T11:36:55.011292363Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.866885ms grafana | logger=migrator t=2023-12-30T11:36:55.021715307Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-12-30T11:36:55.022807856Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.09143ms grafana | logger=migrator t=2023-12-30T11:36:55.028341447Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2023-12-30T11:36:55.029862857Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.521349ms grafana | logger=migrator t=2023-12-30T11:36:55.047603222Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2023-12-30T11:36:55.049246237Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.642815ms grafana | logger=migrator t=2023-12-30T11:36:55.053921749Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2023-12-30T11:36:55.05414763Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=227.25µs grafana | logger=migrator t=2023-12-30T11:36:55.060657335Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2023-12-30T11:36:55.066735131Z level=info msg="Migration successfully executed" id="create test_data table" duration=6.072876ms grafana | logger=migrator t=2023-12-30T11:36:55.070742553Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2023-12-30T11:36:55.071413464Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=667.13µs grafana | logger=migrator t=2023-12-30T11:36:55.076573138Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2023-12-30T11:36:55.077320602Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=746.904µs grafana | logger=migrator t=2023-12-30T11:36:55.084026807Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2023-12-30T11:36:55.085515734Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.488208ms grafana | logger=migrator t=2023-12-30T11:36:55.092976903Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2023-12-30T11:36:55.093309828Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=333.905µs grafana | logger=migrator t=2023-12-30T11:36:55.103680139Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2023-12-30T11:36:55.104374371Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=691.821µs grafana | logger=migrator t=2023-12-30T11:36:55.111038423Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" mariadb | 2023-12-30 11:36:56 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-12-30 11:36:56 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-12-30 11:36:56 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-12-30 11:36:56 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-12-30 11:36:56 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-12-30 11:36:56 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-12-30 11:36:56 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-12-30 11:36:56 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-12-30 11:36:56 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-12-30 11:36:56 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-12-30 11:36:56 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-12-30 11:36:56 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2023-12-30 11:36:56 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-12-30 11:36:56 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-12-30 11:36:56 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-12-30 11:36:56 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-12-30 11:36:56 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2023-12-30 11:36:57+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2023-12-30 11:36:59+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2023-12-30 11:36:59+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | mariadb | 2023-12-30 11:36:59+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | 2023-12-30 11:36:59+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" grafana | logger=migrator t=2023-12-30T11:36:55.111142458Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=105.665µs grafana | logger=migrator t=2023-12-30T11:36:55.115190682Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2023-12-30T11:36:55.116286342Z level=info msg="Migration successfully executed" id="create team table" duration=1.095149ms grafana | logger=migrator t=2023-12-30T11:36:55.122832969Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2023-12-30T11:36:55.124458563Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.625764ms grafana | logger=migrator t=2023-12-30T11:36:55.132561281Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2023-12-30T11:36:55.133471712Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=910.241µs grafana | logger=migrator t=2023-12-30T11:36:55.144267812Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2023-12-30T11:36:55.150093407Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=5.820065ms grafana | logger=migrator t=2023-12-30T11:36:55.154870814Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2023-12-30T11:36:55.155107115Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=236.761µs grafana | logger=migrator t=2023-12-30T11:36:55.159860901Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2023-12-30T11:36:55.160534851Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=673.96µs grafana | logger=migrator t=2023-12-30T11:36:55.164600356Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2023-12-30T11:36:55.165365541Z level=info msg="Migration successfully executed" id="create team member table" duration=765.065µs grafana | logger=migrator t=2023-12-30T11:36:55.17349178Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2023-12-30T11:36:55.17460571Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.115101ms grafana | logger=migrator t=2023-12-30T11:36:55.17833188Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2023-12-30T11:36:55.179245501Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=913.322µs grafana | logger=migrator t=2023-12-30T11:36:55.18825746Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2023-12-30T11:36:55.189643853Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.385993ms grafana | logger=migrator t=2023-12-30T11:36:55.193736579Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2023-12-30T11:36:55.201851428Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=8.113908ms grafana | logger=migrator t=2023-12-30T11:36:55.208411066Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2023-12-30T11:36:55.212081162Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=3.669266ms grafana | logger=migrator t=2023-12-30T11:36:55.216946583Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2023-12-30T11:36:55.221633146Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.684753ms grafana | logger=migrator t=2023-12-30T11:36:55.226888325Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2023-12-30T11:36:55.227852129Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=963.693µs grafana | logger=migrator t=2023-12-30T11:36:55.234118743Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2023-12-30T11:36:55.235241384Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.122531ms grafana | logger=migrator t=2023-12-30T11:36:55.24043953Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2023-12-30T11:36:55.241460567Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.020677ms grafana | logger=migrator t=2023-12-30T11:36:55.248110449Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2023-12-30T11:36:55.249276442Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.166782ms grafana | logger=migrator t=2023-12-30T11:36:55.258723201Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2023-12-30T11:36:55.26046682Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.742499ms grafana | logger=migrator t=2023-12-30T11:36:55.266680192Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2023-12-30T11:36:55.267625805Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=945.783µs grafana | logger=migrator t=2023-12-30T11:36:55.273365356Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2023-12-30T11:36:55.274258566Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=893.19µs grafana | logger=migrator t=2023-12-30T11:36:55.280929369Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2023-12-30T11:36:55.281889733Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=961.214µs grafana | logger=migrator t=2023-12-30T11:36:55.288161668Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2023-12-30T11:36:55.288821528Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=663.13µs grafana | logger=migrator t=2023-12-30T11:36:55.295143705Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2023-12-30T11:36:55.295421877Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=278.482µs grafana | logger=migrator t=2023-12-30T11:36:55.299760424Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2023-12-30T11:36:55.30055457Z level=info msg="Migration successfully executed" id="create tag table" duration=793.756µs grafana | logger=migrator t=2023-12-30T11:36:55.305225313Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2023-12-30T11:36:55.30625988Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.032816ms grafana | logger=migrator t=2023-12-30T11:36:55.313395984Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2023-12-30T11:36:55.314500234Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.10393ms prometheus | ts=2023-12-30T11:36:51.837Z caller=main.go:539 level=info msg="No time or size retention was set so using the default time retention" duration=15d mariadb | done policy-db-migrator | Waiting for mariadb port 3306... policy-api | Waiting for mariadb port 3306... grafana | logger=migrator t=2023-12-30T11:36:55.321617587Z level=info msg="Executing migration" id="add index login_attempt.username" prometheus | ts=2023-12-30T11:36:51.837Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.48.1, branch=HEAD, revision=63894216648f0d6be310c9d16fb48293c45c9310)" mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-api | mariadb (172.17.0.3:3306) open grafana | logger=migrator t=2023-12-30T11:36:55.323048772Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.428975ms prometheus | ts=2023-12-30T11:36:51.837Z caller=main.go:588 level=info build_context="(go=go1.21.5, platform=linux/amd64, user=root@71f108ff5632, date=20231208-23:33:22, tags=netgo,builtinassets,stringlabels)" mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-api | Waiting for policy-db-migrator port 6824... grafana | logger=migrator t=2023-12-30T11:36:55.32674726Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" prometheus | ts=2023-12-30T11:36:51.837Z caller=main.go:589 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-api | policy-db-migrator (172.17.0.5:6824) open grafana | logger=migrator t=2023-12-30T11:36:55.327609919Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=865.949µs prometheus | ts=2023-12-30T11:36:51.837Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml grafana | logger=migrator t=2023-12-30T11:36:55.393510932Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" prometheus | ts=2023-12-30T11:36:51.837Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-api | grafana | logger=migrator t=2023-12-30T11:36:55.41437825Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=20.869878ms prometheus | ts=2023-12-30T11:36:51.839Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-api | . ____ _ __ _ _ grafana | logger=migrator t=2023-12-30T11:36:55.418583881Z level=info msg="Executing migration" id="create login_attempt v2" prometheus | ts=2023-12-30T11:36:51.840Z caller=main.go:1024 level=info msg="Starting TSDB ..." mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | nc: connect to mariadb port 3306 (tcp) failed: Connection refused policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ grafana | logger=migrator t=2023-12-30T11:36:55.419154407Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=570.366µs prometheus | ts=2023-12-30T11:36:51.843Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' policy-db-migrator | Connection to mariadb 3306 port [tcp/mysql] succeeded! policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ grafana | logger=migrator t=2023-12-30T11:36:55.426434548Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" prometheus | ts=2023-12-30T11:36:51.843Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | 314 blocks policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) grafana | logger=migrator t=2023-12-30T11:36:55.427423452Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=988.585µs prometheus | ts=2023-12-30T11:36:51.844Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | Preparing upgrade release version: 0800 policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / grafana | logger=migrator t=2023-12-30T11:36:55.434355177Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" prometheus | ts=2023-12-30T11:36:51.844Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=3.02µs mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' policy-db-migrator | Preparing upgrade release version: 0900 policy-api | =========|_|==============|___/=/_/_/_/ grafana | logger=migrator t=2023-12-30T11:36:55.434873141Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=517.864µs prometheus | ts=2023-12-30T11:36:51.844Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | Preparing upgrade release version: 1000 policy-api | :: Spring Boot :: (v2.7.8) grafana | logger=migrator t=2023-12-30T11:36:55.439832876Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" prometheus | ts=2023-12-30T11:36:51.844Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | Preparing upgrade release version: 1100 policy-api | grafana | logger=migrator t=2023-12-30T11:36:55.440977018Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=1.143502ms prometheus | ts=2023-12-30T11:36:51.844Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=26.971µs wal_replay_duration=365.144µs wbl_replay_duration=180ns total_replay_duration=431.327µs mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' policy-db-migrator | Preparing upgrade release version: 1200 policy-api | [2023-12-30T11:37:10.375+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 11.0.19 on policy-api with PID 36 (/app/api.jar started by policy in /opt/app/policy/api/bin) grafana | logger=migrator t=2023-12-30T11:36:55.446997641Z level=info msg="Executing migration" id="create user auth table" prometheus | ts=2023-12-30T11:36:51.847Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | Done policy-api | [2023-12-30T11:37:10.377+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" grafana | logger=migrator t=2023-12-30T11:36:55.448222047Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.239066ms prometheus | ts=2023-12-30T11:36:51.847Z caller=main.go:1048 level=info msg="TSDB started" mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | name version policy-api | [2023-12-30T11:37:11.708+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. grafana | logger=migrator t=2023-12-30T11:36:55.456531644Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" prometheus | ts=2023-12-30T11:36:51.847Z caller=main.go:1230 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' policy-db-migrator | policyadmin 0 policy-api | [2023-12-30T11:37:11.796+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 75 ms. Found 6 JPA repository interfaces. grafana | logger=migrator t=2023-12-30T11:36:55.457292029Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=760.335µs prometheus | ts=2023-12-30T11:36:51.848Z caller=main.go:1267 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.135505ms db_storage=1.71µs remote_storage=2.74µs web_handler=930ns query_engine=1.46µs scrape=258.97µs scrape_sd=181.068µs notify=34.071µs notify_sd=16.441µs rules=1.96µs tracing=6.06µs mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | policyadmin: upgrade available: 0 -> 1200 policy-api | [2023-12-30T11:37:12.879+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) grafana | logger=migrator t=2023-12-30T11:36:55.462432072Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" prometheus | ts=2023-12-30T11:36:51.848Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." mariadb | policy-db-migrator | upgrade: 0 -> 1200 policy-api | [2023-12-30T11:37:12.890+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] grafana | logger=migrator t=2023-12-30T11:36:55.462678324Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=245.961µs policy-db-migrator | policy-api | [2023-12-30T11:37:12.891+00:00|INFO|StandardService|main] Starting service [Tomcat] mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" grafana | logger=migrator t=2023-12-30T11:36:55.46941927Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" prometheus | ts=2023-12-30T11:36:51.848Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-api | [2023-12-30T11:37:12.891+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/9.0.71] mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' grafana | logger=migrator t=2023-12-30T11:36:55.477615112Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=8.194722ms policy-db-migrator | -------------- policy-api | [2023-12-30T11:37:12.968+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql grafana | logger=migrator t=2023-12-30T11:36:55.484548697Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-api | [2023-12-30T11:37:12.969+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2531 ms mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp grafana | logger=migrator t=2023-12-30T11:36:55.489883379Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.332102ms policy-db-migrator | -------------- policy-api | [2023-12-30T11:37:13.451+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] mariadb | grafana | logger=migrator t=2023-12-30T11:36:55.495305305Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | policy-api | [2023-12-30T11:37:13.520+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 5.6.15.Final mariadb | 2023-12-30 11:37:00+00:00 [Note] [Entrypoint]: Stopping temporary server grafana | logger=migrator t=2023-12-30T11:36:55.500337304Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.030549ms policy-db-migrator | policy-api | [2023-12-30T11:37:13.799+00:00|INFO|Version|main] HCANN000001: Hibernate Commons Annotations {5.1.2.Final} mariadb | 2023-12-30 11:37:00 0 [Note] mariadbd (initiated by: unknown): Normal shutdown grafana | logger=migrator t=2023-12-30T11:36:55.504334946Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-api | [2023-12-30T11:37:13.936+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... mariadb | 2023-12-30 11:37:00 0 [Note] InnoDB: FTS optimize thread exiting. grafana | logger=migrator t=2023-12-30T11:36:55.509413666Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.078181ms policy-db-migrator | -------------- policy-api | [2023-12-30T11:37:14.039+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. mariadb | 2023-12-30 11:37:00 0 [Note] InnoDB: Starting shutdown... grafana | logger=migrator t=2023-12-30T11:36:55.514403373Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-api | [2023-12-30T11:37:14.063+00:00|INFO|Dialect|main] HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect mariadb | 2023-12-30 11:37:00 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool grafana | logger=migrator t=2023-12-30T11:36:55.515458261Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.054668ms policy-db-migrator | -------------- policy-api | [2023-12-30T11:37:15.497+00:00|INFO|JtaPlatformInitiator|main] HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] mariadb | 2023-12-30 11:37:00 0 [Note] InnoDB: Buffer pool(s) dump completed at 231230 11:37:00 grafana | logger=migrator t=2023-12-30T11:36:55.520470198Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | policy-api | [2023-12-30T11:37:15.512+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' mariadb | 2023-12-30 11:37:01 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" grafana | logger=migrator t=2023-12-30T11:36:55.528489633Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=8.018684ms policy-db-migrator | policy-api | [2023-12-30T11:37:16.650+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml mariadb | 2023-12-30 11:37:01 0 [Note] InnoDB: Shutdown completed; log sequence number 330701; transaction id 298 grafana | logger=migrator t=2023-12-30T11:36:55.534216143Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-api | [2023-12-30T11:37:17.353+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] mariadb | 2023-12-30 11:37:01 0 [Note] mariadbd: Shutdown complete grafana | logger=migrator t=2023-12-30T11:36:55.5348292Z level=info msg="Migration successfully executed" id="create server_lock table" duration=612.387µs policy-db-migrator | -------------- policy-api | [2023-12-30T11:37:18.383+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@78571a17, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@6434d49e, org.springframework.security.web.context.SecurityContextPersistenceFilter@55e073c8, org.springframework.security.web.header.HeaderWriterFilter@2692910f, org.springframework.security.web.authentication.logout.LogoutFilter@58965e17, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@274010fe, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@bb0dcb6, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@47ba8e3c, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@64c189d8, org.springframework.security.web.session.SessionManagementFilter@2a2d0cff, org.springframework.security.web.access.ExceptionTranslationFilter@6fad6743, org.springframework.security.web.access.intercept.AuthorizationFilter@14d294f4] mariadb | grafana | logger=migrator t=2023-12-30T11:36:55.542409395Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-api | [2023-12-30T11:37:18.567+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning mariadb | 2023-12-30 11:37:01+00:00 [Note] [Entrypoint]: Temporary server stopped grafana | logger=migrator t=2023-12-30T11:36:55.54405985Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.650495ms policy-db-migrator | -------------- policy-api | [2023-12-30T11:37:22.153+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' mariadb | grafana | logger=migrator t=2023-12-30T11:36:55.550299633Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | policy-api | [2023-12-30T11:37:22.216+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] mariadb | 2023-12-30 11:37:01+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. grafana | logger=migrator t=2023-12-30T11:36:55.551166742Z level=info msg="Migration successfully executed" id="create user auth token table" duration=866.719µs policy-db-migrator | policy-api | [2023-12-30T11:37:22.279+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' mariadb | grafana | logger=migrator t=2023-12-30T11:36:55.555914918Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-api | [2023-12-30T11:37:22.300+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 12.768 seconds (JVM running for 13.391) mariadb | 2023-12-30 11:37:01 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... grafana | logger=migrator t=2023-12-30T11:36:55.557541352Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.624984ms policy-db-migrator | -------------- policy-api | [2023-12-30T11:37:29.393+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' mariadb | 2023-12-30 11:37:01 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 grafana | logger=migrator t=2023-12-30T11:36:55.565975745Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-api | [2023-12-30T11:37:29.393+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' mariadb | 2023-12-30 11:37:01 0 [Note] InnoDB: Number of transaction pools: 1 grafana | logger=migrator t=2023-12-30T11:36:55.567693283Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.716458ms policy-db-migrator | -------------- policy-api | [2023-12-30T11:37:29.395+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 2 ms mariadb | 2023-12-30 11:37:01 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions grafana | logger=migrator t=2023-12-30T11:36:55.573968178Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | policy-api | [2023-12-30T11:37:31.602+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-5] ***** OrderedServiceImpl implementers: mariadb | 2023-12-30 11:37:01 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) grafana | logger=migrator t=2023-12-30T11:36:55.575164522Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.193244ms policy-db-migrator | policy-api | [] mariadb | 2023-12-30 11:37:01 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) grafana | logger=migrator t=2023-12-30T11:36:55.581076441Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-api | [2023-12-30T11:37:31.726+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes mariadb | 2023-12-30 11:37:01 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF grafana | logger=migrator t=2023-12-30T11:36:55.587151247Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=6.074396ms policy-db-migrator | -------------- policy-api | [2023-12-30T11:37:31.995+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes mariadb | 2023-12-30 11:37:01 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB grafana | logger=migrator t=2023-12-30T11:36:55.593519276Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-api | [2023-12-30T11:37:33.182+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies mariadb | 2023-12-30 11:37:01 0 [Note] InnoDB: Completed initialization of buffer pool grafana | logger=migrator t=2023-12-30T11:36:55.594579714Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.060398ms policy-db-migrator | -------------- policy-api | [2023-12-30T11:37:35.025+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 mariadb | 2023-12-30 11:37:01 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) grafana | logger=migrator t=2023-12-30T11:36:55.599261597Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | policy-api | [2023-12-30T11:37:35.425+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 mariadb | 2023-12-30 11:37:01 0 [Note] InnoDB: 128 rollback segments are active. grafana | logger=migrator t=2023-12-30T11:36:55.600562746Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.300429ms policy-db-migrator | policy-api | [2023-12-30T11:37:35.672+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 mariadb | 2023-12-30 11:37:01 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... grafana | logger=migrator t=2023-12-30T11:36:55.606018724Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-api | [2023-12-30T11:37:35.909+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 mariadb | 2023-12-30 11:37:01 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. grafana | logger=migrator t=2023-12-30T11:36:55.607464939Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.447475ms policy-db-migrator | -------------- policy-api | [2023-12-30T11:37:36.126+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 mariadb | 2023-12-30 11:37:01 0 [Note] InnoDB: log sequence number 330701; transaction id 299 grafana | logger=migrator t=2023-12-30T11:36:55.615654011Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-api | [2023-12-30T11:37:36.332+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 mariadb | 2023-12-30 11:37:01 0 [Note] Plugin 'FEEDBACK' is disabled. policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:55.616794793Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.140282ms mariadb | 2023-12-30 11:37:01 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:55.622872169Z level=info msg="Executing migration" id="add index short_url.org_id-uid" mariadb | 2023-12-30 11:37:01 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:55.624521294Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.648815ms mariadb | 2023-12-30 11:37:01 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql grafana | logger=migrator t=2023-12-30T11:36:55.673884506Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" mariadb | 2023-12-30 11:37:01 0 [Note] Server socket created on IP: '0.0.0.0'. policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:55.674113246Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=218.74µs mariadb | 2023-12-30 11:37:01 0 [Note] Server socket created on IP: '::'. policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-30T11:36:55.682266387Z level=info msg="Executing migration" id="delete alert_definition table" mariadb | 2023-12-30 11:37:01 0 [Note] mariadbd: ready for connections. policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:55.682514588Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=247.402µs mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:55.688907608Z level=info msg="Executing migration" id="recreate alert_definition table" mariadb | 2023-12-30 11:37:01 0 [Note] InnoDB: Buffer pool(s) load completed at 231230 11:37:01 policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:55.690378565Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.475277ms mariadb | 2023-12-30 11:37:01 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql grafana | logger=migrator t=2023-12-30T11:36:55.695355911Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" mariadb | 2023-12-30 11:37:01 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:55.696346366Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=990.275µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) grafana | logger=migrator t=2023-12-30T11:36:55.701324282Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:55.702945726Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.612563ms policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:55.707995585Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:55.708205195Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=209.269µs policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql grafana | logger=migrator t=2023-12-30T11:36:55.714386565Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:55.716095443Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.710838ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-30T11:36:55.720841039Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:55.721785981Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=943.703µs policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:55.728411422Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:55.729951232Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.53961ms policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql grafana | logger=migrator t=2023-12-30T11:36:55.735779967Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:55.73671805Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=937.872µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-30T11:36:55.741943437Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:55.749101032Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=7.159005ms policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:55.751878038Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:55.75258063Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=702.222µs policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql grafana | logger=migrator t=2023-12-30T11:36:55.757943864Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:55.758072079Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=127.805µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-30T11:36:55.763652223Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:55.764995244Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.342381ms policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:55.769661266Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:55.771311341Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.649905ms policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql grafana | logger=migrator t=2023-12-30T11:36:55.778177593Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:55.77922098Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.042938ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-30T11:36:55.784882317Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:55.785108077Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=230.76µs policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:55.792134756Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:55.793650075Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.514779ms policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql grafana | logger=migrator t=2023-12-30T11:36:55.799837116Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:55.801337384Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.499238ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-30T11:36:55.806992331Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:55.808010727Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=1.017966ms policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:55.814152436Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:55.81577501Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.621814ms policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql grafana | logger=migrator t=2023-12-30T11:36:55.820684443Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:55.826380042Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=5.688118ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:55.831169079Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:55.832126193Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=956.954µs policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:55.838853948Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2023-12-30T11:36:55.842013192Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=3.159104ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:55.84769125Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-30T11:36:55.885855853Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=38.163343ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:55.89150596Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:55.926630375Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=35.124476ms policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:55.932176077Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql grafana | logger=migrator t=2023-12-30T11:36:55.933244965Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.068928ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:55.940444052Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-30T11:36:55.942277315Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.842753ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:55.980570135Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:55.988744406Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=8.175152ms policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:55.993441389Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql grafana | logger=migrator t=2023-12-30T11:36:55.994513518Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.071979ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.00490072Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-30T11:36:56.006529661Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.628472ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.013108049Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.01473847Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.629931ms policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.019346732Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql grafana | logger=migrator t=2023-12-30T11:36:56.021084858Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.737706ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.028106355Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-30T11:36:56.028177778Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=71.273µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.035131693Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.042960265Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=7.829303ms policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.04763697Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql grafana | logger=migrator t=2023-12-30T11:36:56.053491896Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=5.854506ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.059510009Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2023-12-30T11:36:56.065452489Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.93716ms grafana | logger=migrator t=2023-12-30T11:36:56.106436112Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-30T11:36:56.108052253Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.61642ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.111464582Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.113319383Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.853881ms policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.119213081Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql grafana | logger=migrator t=2023-12-30T11:36:56.125200313Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=5.986752ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.163497308Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-30T11:36:56.172510973Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=9.013485ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.178047935Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.178794387Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=746.042µs policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.18570912Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql grafana | logger=migrator t=2023-12-30T11:36:56.193688589Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=7.980729ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.253250965Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2023-12-30T11:36:56.26411014Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=10.858715ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.267126242Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.267201595Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=75.363µs policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.269575419Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql grafana | logger=migrator t=2023-12-30T11:36:56.270314301Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=739.002µs policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-30T11:36:56.27531092Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.276469191Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" duration=1.15635ms policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.280281297Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.281744311Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" duration=1.466674ms policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql grafana | logger=migrator t=2023-12-30T11:36:56.287221881Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.287371417Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=149.486µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-30T11:36:56.29130489Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.297502831Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.197642ms policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.302137773Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.31235477Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=10.219297ms policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2023-12-30T11:36:56.317188432Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.322245043Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=5.055711ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2023-12-30T11:36:56.325354889Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.331513059Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.157849ms policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.334382884Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.340427619Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.043974ms policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2023-12-30T11:36:56.343709582Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.343773175Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=64.043µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-30T11:36:56.348969162Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.349678163Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=708.911µs policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.352455855Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.362292085Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=9.83584ms policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql grafana | logger=migrator t=2023-12-30T11:36:56.376777039Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.376873193Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=97.104µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-30T11:36:56.382993181Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.391014812Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=8.022431ms policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.39416912Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.395181954Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.012634ms policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql grafana | logger=migrator t=2023-12-30T11:36:56.398219057Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.404379246Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.161349ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-30T11:36:56.40971675Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.410422841Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=706.131µs policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.413442253Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.414390414Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=947.771µs policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql grafana | logger=migrator t=2023-12-30T11:36:56.417428847Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.426218042Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=8.789935ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-30T11:36:56.429357599Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.430047919Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=690.41µs policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.435186014Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.436165717Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=979.113µs policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql grafana | logger=migrator t=2023-12-30T11:36:56.442430571Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.443610063Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.174121ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-30T11:36:56.447337526Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.448847062Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.509006ms policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.464924755Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.464999488Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=75.483µs policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql grafana | logger=migrator t=2023-12-30T11:36:56.489134834Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.490487703Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.352529ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.551556305Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.553140874Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.583319ms policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.566378343Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql grafana | logger=migrator t=2023-12-30T11:36:56.567031382Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.584908494Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) grafana | logger=migrator t=2023-12-30T11:36:56.585637986Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=728.742µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.603063238Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.60493811Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.875342ms policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.619608092Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql grafana | logger=migrator t=2023-12-30T11:36:56.629031044Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=9.420052ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.638644575Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-30T11:36:56.640344869Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.694364ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.647718142Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.649524051Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.81315ms policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.655483592Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql grafana | logger=migrator t=2023-12-30T11:36:56.656533488Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.080997ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.66207444Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-30T11:36:56.664072067Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.982047ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.670464867Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.671714062Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.247995ms policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.675806011Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql grafana | logger=migrator t=2023-12-30T11:36:56.675831622Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=26.481µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.680314258Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-12-30T11:36:56.680469755Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=156.277µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.683932596Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.684511022Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=576.935µs policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.689354693Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2023-12-30T11:36:56.690961264Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.611211ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.695242791Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2023-12-30T11:36:56.696092928Z level=info msg="Migration successfully executed" id="create secrets table" duration=849.237µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.70001135Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.748765583Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=48.751212ms policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.761725449Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2023-12-30T11:36:56.768022105Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=6.298156ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.77247962Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) grafana | logger=migrator t=2023-12-30T11:36:56.772667818Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=186.898µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.777213467Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.824047086Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=46.833989ms policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.827531788Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | > upgrade 0460-pdppolicystatus.sql grafana | logger=migrator t=2023-12-30T11:36:56.872322398Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=44.79035ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.877354068Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2023-12-30T11:36:56.877985416Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=626.747µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.881577283Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.88266055Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.082397ms policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.886247277Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2023-12-30T11:36:56.886480107Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=232.14µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.890819147Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2023-12-30T11:36:56.891663304Z level=info msg="Migration successfully executed" id="create permission table" duration=843.717µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.89729192Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | grafana | logger=migrator t=2023-12-30T11:36:56.898966063Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.673813ms policy-db-migrator | policy-db-migrator | > upgrade 0480-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:56.903047502Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2023-12-30T11:36:56.904617981Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.570519ms grafana | logger=migrator t=2023-12-30T11:36:56.909255204Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2023-12-30T11:36:56.910111861Z level=info msg="Migration successfully executed" id="create role table" duration=856.027µs grafana | logger=migrator t=2023-12-30T11:36:56.914049803Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2023-12-30T11:36:56.921333942Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.283879ms grafana | logger=migrator t=2023-12-30T11:36:56.924823655Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2023-12-30T11:36:56.930048893Z level=info msg="Migration successfully executed" id="add column group_name" duration=5.224788ms grafana | logger=migrator t=2023-12-30T11:36:56.934462396Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2023-12-30T11:36:56.935536943Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.075447ms grafana | logger=migrator t=2023-12-30T11:36:56.940284451Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2023-12-30T11:36:56.941986676Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.700594ms grafana | logger=migrator t=2023-12-30T11:36:56.945830594Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2023-12-30T11:36:56.947499537Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.669193ms grafana | logger=migrator t=2023-12-30T11:36:56.952034085Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2023-12-30T11:36:56.953232988Z level=info msg="Migration successfully executed" id="create team role table" duration=1.198972ms grafana | logger=migrator t=2023-12-30T11:36:56.957193921Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2023-12-30T11:36:56.958166843Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=972.812µs grafana | logger=migrator t=2023-12-30T11:36:56.962173259Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2023-12-30T11:36:56.963420113Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.244734ms grafana | logger=migrator t=2023-12-30T11:36:56.968432732Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2023-12-30T11:36:56.970011632Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.578509ms grafana | logger=migrator t=2023-12-30T11:36:56.973996466Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2023-12-30T11:36:56.974739168Z level=info msg="Migration successfully executed" id="create user role table" duration=742.022µs grafana | logger=migrator t=2023-12-30T11:36:56.980216358Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2023-12-30T11:36:56.981812698Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.59393ms grafana | logger=migrator t=2023-12-30T11:36:56.98688279Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2023-12-30T11:36:56.988436748Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.553938ms grafana | logger=migrator t=2023-12-30T11:36:56.992266255Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2023-12-30T11:36:56.993266319Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=999.904µs grafana | logger=migrator t=2023-12-30T11:36:56.998693916Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2023-12-30T11:36:56.999438289Z level=info msg="Migration successfully executed" id="create builtin role table" duration=744.203µs grafana | logger=migrator t=2023-12-30T11:36:57.003067908Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2023-12-30T11:36:57.004085802Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.017844ms grafana | logger=migrator t=2023-12-30T11:36:57.008992237Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2023-12-30T11:36:57.010596887Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.6042ms grafana | logger=migrator t=2023-12-30T11:36:57.014837963Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2023-12-30T11:36:57.022454656Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.614253ms grafana | logger=migrator t=2023-12-30T11:36:57.02598897Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2023-12-30T11:36:57.026994224Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.004724ms grafana | logger=migrator t=2023-12-30T11:36:57.030984609Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2023-12-30T11:36:57.032029475Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.043516ms grafana | logger=migrator t=2023-12-30T11:36:57.036553253Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2023-12-30T11:36:57.037804687Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.250084ms grafana | logger=migrator t=2023-12-30T11:36:57.042052243Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2023-12-30T11:36:57.043676524Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.622071ms grafana | logger=migrator t=2023-12-30T11:36:57.04861145Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2023-12-30T11:36:57.049341612Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=729.662µs grafana | logger=migrator t=2023-12-30T11:36:57.053431881Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2023-12-30T11:36:57.054700767Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.264895ms grafana | logger=migrator t=2023-12-30T11:36:57.058525984Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2023-12-30T11:36:57.068426837Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=9.901463ms grafana | logger=migrator t=2023-12-30T11:36:57.195415513Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2023-12-30T11:36:57.205067585Z level=info msg="Migration successfully executed" id="permission kind migration" duration=9.652393ms policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:57.208804538Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2023-12-30T11:36:57.21660818Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=7.803132ms grafana | logger=migrator t=2023-12-30T11:36:57.220246439Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2023-12-30T11:36:57.225809192Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=5.562293ms grafana | logger=migrator t=2023-12-30T11:36:57.230440815Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2023-12-30T11:36:57.231543203Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.102248ms grafana | logger=migrator t=2023-12-30T11:36:57.234986384Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2023-12-30T11:36:57.236403556Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.415281ms grafana | logger=migrator t=2023-12-30T11:36:57.240304856Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2023-12-30T11:36:57.242111675Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.806349ms grafana | logger=migrator t=2023-12-30T11:36:57.247596535Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2023-12-30T11:36:57.247662318Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=66.253µs grafana | logger=migrator t=2023-12-30T11:36:57.252162845Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2023-12-30T11:36:57.252210307Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=49.082µs grafana | logger=migrator t=2023-12-30T11:36:57.264045215Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2023-12-30T11:36:57.264658872Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=615.627µs grafana | logger=migrator t=2023-12-30T11:36:57.267486595Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2023-12-30T11:36:57.268167915Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=681.99µs grafana | logger=migrator t=2023-12-30T11:36:57.271562014Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2023-12-30T11:36:57.272289866Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=726.011µs grafana | logger=migrator t=2023-12-30T11:36:57.276346093Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2023-12-30T11:36:57.276605674Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=259.091µs grafana | logger=migrator t=2023-12-30T11:36:57.281603893Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2023-12-30T11:36:57.282172218Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=566.285µs grafana | logger=migrator t=2023-12-30T11:36:57.286975078Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2023-12-30T11:36:57.288286125Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.309767ms grafana | logger=migrator t=2023-12-30T11:36:57.293680011Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2023-12-30T11:36:57.295443369Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.762587ms grafana | logger=migrator t=2023-12-30T11:36:57.298856678Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2023-12-30T11:36:57.308749791Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=9.892933ms grafana | logger=migrator t=2023-12-30T11:36:57.312054225Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2023-12-30T11:36:57.312120018Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=66.133µs grafana | logger=migrator t=2023-12-30T11:36:57.316423206Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2023-12-30T11:36:57.317373078Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=949.332µs grafana | logger=migrator t=2023-12-30T11:36:57.321392044Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2023-12-30T11:36:57.322870588Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.477024ms grafana | logger=migrator t=2023-12-30T11:36:57.328572588Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2023-12-30T11:36:57.330357206Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.784388ms grafana | logger=migrator t=2023-12-30T11:36:57.335461709Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2023-12-30T11:36:57.343568054Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.105505ms grafana | logger=migrator t=2023-12-30T11:36:57.347096158Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2023-12-30T11:36:57.348209827Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.113079ms grafana | logger=migrator t=2023-12-30T11:36:57.351543203Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0670-toscapolicies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0690-toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0700-toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0710-toscapolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0730-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0770-toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0780-toscarequirements.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0820-toscatrigger.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:57.352609159Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.065746ms grafana | logger=migrator t=2023-12-30T11:36:57.356626015Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-30T11:36:57.385131732Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=28.504737ms grafana | logger=migrator t=2023-12-30T11:36:57.388696858Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2023-12-30T11:36:57.389774605Z level=info msg="Migration successfully executed" id="create correlation v2" duration=1.075727ms grafana | logger=migrator t=2023-12-30T11:36:57.393978889Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2023-12-30T11:36:57.395163641Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.184222ms grafana | logger=migrator t=2023-12-30T11:36:57.398655254Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2023-12-30T11:36:57.399918129Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.262765ms grafana | logger=migrator t=2023-12-30T11:36:57.403433493Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2023-12-30T11:36:57.404895197Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.460284ms grafana | logger=migrator t=2023-12-30T11:36:57.411659253Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2023-12-30T11:36:57.412162745Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=500.921µs grafana | logger=migrator t=2023-12-30T11:36:57.416546127Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2023-12-30T11:36:57.417842463Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.295337ms grafana | logger=migrator t=2023-12-30T11:36:57.421546615Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2023-12-30T11:36:57.429895241Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.347955ms grafana | logger=migrator t=2023-12-30T11:36:57.434382117Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2023-12-30T11:36:57.434971873Z level=info msg="Migration successfully executed" id="create entity_events table" duration=589.135µs grafana | logger=migrator t=2023-12-30T11:36:57.438328209Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2023-12-30T11:36:57.439048301Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=720.082µs grafana | logger=migrator t=2023-12-30T11:36:57.442887469Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-12-30T11:36:57.443687644Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-12-30T11:36:57.448958574Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-12-30T11:36:57.449787081Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-12-30T11:36:57.453764885Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2023-12-30T11:36:57.455172866Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.409022ms grafana | logger=migrator t=2023-12-30T11:36:57.459222133Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2023-12-30T11:36:57.460888416Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.665443ms grafana | logger=migrator t=2023-12-30T11:36:57.466098384Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-12-30T11:36:57.467924494Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.8237ms grafana | logger=migrator t=2023-12-30T11:36:57.471635977Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-12-30T11:36:57.472818058Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.196512ms grafana | logger=migrator t=2023-12-30T11:36:57.476195786Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-12-30T11:36:57.477333716Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.13731ms grafana | logger=migrator t=2023-12-30T11:36:57.484654756Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-12-30T11:36:57.486382362Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.727486ms grafana | logger=migrator t=2023-12-30T11:36:57.49046318Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2023-12-30T11:36:57.49182884Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.36487ms grafana | logger=migrator t=2023-12-30T11:36:57.496315186Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2023-12-30T11:36:57.497392353Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.076437ms grafana | logger=migrator t=2023-12-30T11:36:57.503112944Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-12-30T11:36:57.504913922Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.800799ms grafana | logger=migrator t=2023-12-30T11:36:57.510017546Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-12-30T11:36:57.511152275Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.134249ms grafana | logger=migrator t=2023-12-30T11:36:57.51584138Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2023-12-30T11:36:57.517574486Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.731776ms grafana | logger=migrator t=2023-12-30T11:36:57.522605906Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2023-12-30T11:36:57.557414199Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=34.808543ms grafana | logger=migrator t=2023-12-30T11:36:57.561262058Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2023-12-30T11:36:57.568542556Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=7.279319ms grafana | logger=migrator t=2023-12-30T11:36:57.573076424Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2023-12-30T11:36:57.581647179Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.570045ms grafana | logger=migrator t=2023-12-30T11:36:57.58532024Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2023-12-30T11:36:57.585498798Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=177.838µs grafana | logger=migrator t=2023-12-30T11:36:57.588890096Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2023-12-30T11:36:57.595924484Z level=info msg="Migration successfully executed" id="add share column" duration=7.034448ms grafana | logger=migrator t=2023-12-30T11:36:57.600341517Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2023-12-30T11:36:57.600602599Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=260.041µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-30T11:36:57.604042199Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2023-12-30T11:36:57.604926848Z level=info msg="Migration successfully executed" id="create file table" duration=884.039µs grafana | logger=migrator t=2023-12-30T11:36:57.608707843Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2023-12-30T11:36:57.610509002Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.800879ms grafana | logger=migrator t=2023-12-30T11:36:57.616321486Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2023-12-30T11:36:57.617461896Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.13996ms grafana | logger=migrator t=2023-12-30T11:36:57.622260706Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2023-12-30T11:36:57.623604535Z level=info msg="Migration successfully executed" id="create file_meta table" duration=1.342589ms grafana | logger=migrator t=2023-12-30T11:36:57.628194226Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2023-12-30T11:36:57.630201884Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=2.007247ms grafana | logger=migrator t=2023-12-30T11:36:57.637986534Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2023-12-30T11:36:57.638051527Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=65.443µs grafana | logger=migrator t=2023-12-30T11:36:57.641420454Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2023-12-30T11:36:57.641575401Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=152.417µs grafana | logger=migrator t=2023-12-30T11:36:57.646102419Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2023-12-30T11:36:57.64702972Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=926.68µs grafana | logger=migrator t=2023-12-30T11:36:57.651072027Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2023-12-30T11:36:57.651347299Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=274.982µs grafana | logger=migrator t=2023-12-30T11:36:57.655822274Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2023-12-30T11:36:57.65663022Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=807.636µs grafana | logger=migrator t=2023-12-30T11:36:57.660095561Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2023-12-30T11:36:57.668859665Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.762154ms grafana | logger=migrator t=2023-12-30T11:36:57.672336517Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2023-12-30T11:36:57.672563617Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=226.24µs grafana | logger=migrator t=2023-12-30T11:36:57.676935138Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2023-12-30T11:36:57.678104369Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.168921ms grafana | logger=migrator t=2023-12-30T11:36:57.681342691Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2023-12-30T11:36:57.681796741Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=453.09µs grafana | logger=migrator t=2023-12-30T11:36:57.684804032Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2023-12-30T11:36:57.685081714Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=277.302µs grafana | logger=migrator t=2023-12-30T11:36:57.688268714Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2023-12-30T11:36:57.688791707Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=522.433µs grafana | logger=migrator t=2023-12-30T11:36:57.69480161Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2023-12-30T11:36:57.706175687Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=11.373638ms grafana | logger=migrator t=2023-12-30T11:36:57.74237532Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2023-12-30T11:36:57.753082658Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=10.708018ms grafana | logger=migrator t=2023-12-30T11:36:57.757885698Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2023-12-30T11:36:57.759482868Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.5973ms grafana | logger=migrator t=2023-12-30T11:36:57.763980965Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2023-12-30T11:36:57.86970117Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=105.720115ms grafana | logger=migrator t=2023-12-30T11:36:57.904013171Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2023-12-30T11:36:57.904794765Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=782.934µs grafana | logger=migrator t=2023-12-30T11:36:57.908656274Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2023-12-30T11:36:57.910456883Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.799759ms grafana | logger=migrator t=2023-12-30T11:36:57.915229312Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2023-12-30T11:36:57.948036697Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=32.806895ms grafana | logger=migrator t=2023-12-30T11:36:57.951432786Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2023-12-30T11:36:57.951568362Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=136.676µs grafana | logger=migrator t=2023-12-30T11:36:57.954857025Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2023-12-30T11:36:57.955046454Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=189.249µs grafana | logger=migrator t=2023-12-30T11:36:57.95952305Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2023-12-30T11:36:57.95975052Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=227.639µs grafana | logger=migrator t=2023-12-30T11:36:57.964353201Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2023-12-30T11:36:57.96570741Z level=info msg="Migration successfully executed" id="create folder table" duration=1.354179ms grafana | logger=migrator t=2023-12-30T11:36:57.969757447Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2023-12-30T11:36:57.971541545Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.783258ms grafana | logger=migrator t=2023-12-30T11:36:57.976392638Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2023-12-30T11:36:57.977610361Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.217033ms grafana | logger=migrator t=2023-12-30T11:36:57.981848036Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2023-12-30T11:36:57.981873517Z level=info msg="Migration successfully executed" id="Update folder title length" duration=22.611µs grafana | logger=migrator t=2023-12-30T11:36:57.98559946Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-12-30T11:36:57.987394479Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.794279ms grafana | logger=migrator t=2023-12-30T11:36:57.992281723Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-12-30T11:36:57.993330209Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.047945ms grafana | logger=migrator t=2023-12-30T11:36:57.997838896Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2023-12-30T11:36:57.998966955Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.127709ms grafana | logger=migrator t=2023-12-30T11:36:58.002583993Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2023-12-30T11:36:58.003442951Z level=info msg="Migration successfully executed" id="create anon_device table" duration=858.768µs grafana | logger=migrator t=2023-12-30T11:36:58.008498342Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2023-12-30T11:36:58.010385305Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.889113ms grafana | logger=migrator t=2023-12-30T11:36:58.014868911Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2023-12-30T11:36:58.016462921Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.595409ms grafana | logger=migrator t=2023-12-30T11:36:58.021998083Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2023-12-30T11:36:58.022784677Z level=info msg="Migration successfully executed" id="create signing_key table" duration=780.764µs grafana | logger=migrator t=2023-12-30T11:36:58.027287184Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2023-12-30T11:36:58.029071352Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.781428ms grafana | logger=migrator t=2023-12-30T11:36:58.033086918Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2023-12-30T11:36:58.034761141Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.674383ms grafana | logger=migrator t=2023-12-30T11:36:58.040316784Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2023-12-30T11:36:58.040583036Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=267.172µs grafana | logger=migrator t=2023-12-30T11:36:58.044288708Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2023-12-30T11:36:58.057301967Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=13.013379ms grafana | logger=migrator t=2023-12-30T11:36:58.060758918Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2023-12-30T11:36:58.061294092Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=536.054µs grafana | logger=migrator t=2023-12-30T11:36:58.064936511Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2023-12-30T11:36:58.066476339Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.535817ms grafana | logger=migrator t=2023-12-30T11:36:58.071472987Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2023-12-30T11:36:58.07291777Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.444653ms grafana | logger=migrator t=2023-12-30T11:36:58.0777174Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2023-12-30T11:36:58.078406871Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=690.13µs grafana | logger=migrator t=2023-12-30T11:36:58.082009998Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2023-12-30T11:36:58.082329942Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=319.924µs grafana | logger=migrator t=2023-12-30T11:36:58.087246647Z level=info msg="migrations completed" performed=523 skipped=0 duration=5.255239913s grafana | logger=sqlstore t=2023-12-30T11:36:58.098013578Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2023-12-30T11:36:58.09828448Z level=info msg="Created default organization" grafana | logger=secrets t=2023-12-30T11:36:58.102194761Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2023-12-30T11:36:58.123023242Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2023-12-30T11:36:58.157577304Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2023-12-30T11:36:58.157626586Z level=info msg="Plugins loaded" count=55 duration=34.604284ms grafana | logger=query_data t=2023-12-30T11:36:58.160955132Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2023-12-30T11:36:58.169928634Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2023-12-30T11:36:58.179744254Z level=info msg=Starting grafana | logger=ngalert.migration orgID=1 t=2023-12-30T11:36:58.180658854Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-12-30T11:36:58.181146015Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-12-30T11:36:58.181636267Z level=warn msg="No available receivers" grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2023-12-30T11:36:58.184415978Z level=info msg="Completed legacy migration" grafana | logger=infra.usagestats.collector t=2023-12-30T11:36:58.212558749Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2023-12-30T11:36:58.214733245Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2023-12-30T11:36:58.227100236Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2023-12-30T11:36:58.227115216Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2023-12-30T11:36:58.228321319Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2023-12-30T11:36:58.229054181Z level=info msg="Warming state cache for startup" grafana | logger=ngalert.multiorg.alertmanager t=2023-12-30T11:36:58.230582108Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=http.server t=2023-12-30T11:36:58.232712881Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=grafana.update.checker t=2023-12-30T11:36:58.256187988Z level=info msg="Update check succeeded" duration=27.615168ms grafana | logger=plugins.update.checker t=2023-12-30T11:36:58.306435306Z level=info msg="Update check succeeded" duration=78.904052ms grafana | logger=ngalert.state.manager t=2023-12-30T11:36:58.345219203Z level=info msg="State cache has been initialized" states=0 duration=116.163572ms grafana | logger=ngalert.scheduler t=2023-12-30T11:36:58.345253094Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2023-12-30T11:36:58.345300217Z level=info msg=starting first_tick=2023-12-30T11:37:00Z grafana | logger=infra.usagestats t=2023-12-30T11:38:17.238629148Z level=info msg="Usage stats are ready to report" policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdp.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE jpapdpstatistics_enginestats a policy-db-migrator | JOIN pdpstatistics b policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp policy-db-migrator | SET a.id = b.id policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-sequence.sql policy-db-migrator | -------------- policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscatrigger policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaparameter policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaproperty policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-upgrade.sql policy-db-migrator | -------------- policy-db-migrator | select 'upgrade to 1100 completed' as msg policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | msg policy-db-migrator | upgrade to 1100 completed policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-audit_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policyadmin: OK: upgrade (1200) policy-db-migrator | name version policy-db-migrator | policyadmin 1200 policy-db-migrator | ID script operation from_version to_version tag success atTime policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:02 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:02 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:02 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:02 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:02 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:02 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:02 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:02 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:02 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:02 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:02 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:02 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:02 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:02 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:02 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:02 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:02 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:02 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:02 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:03 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:03 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:03 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:03 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:03 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:03 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:03 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:03 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:03 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:03 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:03 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:03 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:03 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:03 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:03 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:03 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:03 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:03 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:03 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:03 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:03 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:03 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:03 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:03 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:03 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:04 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:04 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:04 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:04 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:04 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:04 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:04 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:04 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:04 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:04 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:04 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:04 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:04 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:04 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:04 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:04 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:04 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:04 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:04 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:04 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:04 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:04 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:04 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:05 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:05 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:05 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:05 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:05 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:05 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:05 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:05 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:05 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:05 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:05 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:05 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:05 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:05 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:05 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:05 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:05 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:05 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:05 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:05 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:05 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:05 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:06 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:06 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:06 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:06 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:06 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:06 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 3012231137020800u 1 2023-12-30 11:37:06 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 3012231137020900u 1 2023-12-30 11:37:06 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 3012231137020900u 1 2023-12-30 11:37:06 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 3012231137020900u 1 2023-12-30 11:37:06 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 3012231137020900u 1 2023-12-30 11:37:06 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 3012231137020900u 1 2023-12-30 11:37:06 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 3012231137020900u 1 2023-12-30 11:37:06 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 3012231137020900u 1 2023-12-30 11:37:06 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 3012231137020900u 1 2023-12-30 11:37:06 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 3012231137020900u 1 2023-12-30 11:37:07 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 3012231137020900u 1 2023-12-30 11:37:07 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 3012231137020900u 1 2023-12-30 11:37:07 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 3012231137020900u 1 2023-12-30 11:37:07 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 3012231137020900u 1 2023-12-30 11:37:07 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 3012231137021000u 1 2023-12-30 11:37:07 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 3012231137021000u 1 2023-12-30 11:37:07 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 3012231137021000u 1 2023-12-30 11:37:07 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 3012231137021000u 1 2023-12-30 11:37:07 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 3012231137021000u 1 2023-12-30 11:37:07 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 3012231137021000u 1 2023-12-30 11:37:07 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 3012231137021000u 1 2023-12-30 11:37:07 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 3012231137021000u 1 2023-12-30 11:37:07 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 3012231137021000u 1 2023-12-30 11:37:07 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 3012231137021100u 1 2023-12-30 11:37:07 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 3012231137021200u 1 2023-12-30 11:37:07 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 3012231137021200u 1 2023-12-30 11:37:07 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 3012231137021200u 1 2023-12-30 11:37:07 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 3012231137021200u 1 2023-12-30 11:37:08 policy-db-migrator | policyadmin: OK @ 1200 ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing mariadb ... Removing prometheus ... Removing policy-api ... done Removing policy-db-migrator ... done Removing grafana ... done Removing mariadb ... done Removing prometheus ... done Removing network compose_default ++ cd /w/workspace/policy-api-london-project-csit-api + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.3wF95989Zv ]] + rsync -av /tmp/tmp.3wF95989Zv/ /w/workspace/policy-api-london-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,346,456 bytes received 95 bytes 2,693,102.00 bytes/sec total size is 1,345,807 speedup is 1.00 + rm -rf /w/workspace/policy-api-london-project-csit-api/models + exit 0 $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2092 killed; [ssh-agent] Stopped. Robot results publisher started... -Parsing output xml: Done! WARNING! Could not find file: **/log.html WARNING! Could not find file: **/report.html -Copying log files to build dir: Done! -Assigning results to build: Done! -Checking thresholds: Done! Done publishing Robot results. [PostBuildScript] - [INFO] Executing post build scripts. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins6322242871655817849.sh ---> sysstat.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins5800875845315921478.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/policy-api-london-project-csit-api + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/policy-api-london-project-csit-api ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/policy-api-london-project-csit-api ']' + mkdir -p /w/workspace/policy-api-london-project-csit-api/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-london-project-csit-api/archives/ [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins15043141332640578296.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-hXTf from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-hXTf/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins3688204695311517680.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-london-project-csit-api@tmp/config3124528111626366051tmp Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] Run condition [Regular expression match] preventing perform for step [Provide Configuration files] [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SERVER_ID=logs [EnvInject] - Variables injected successfully. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins5337033393901017360.sh ---> create-netrc.sh [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins6745989135075799527.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-hXTf from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-hXTf/bin to PATH [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins11513639024913172037.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-london-project-csit-api] $ /bin/bash /tmp/jenkins6086022739937720115.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-hXTf from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-hXTf/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [policy-api-london-project-csit-api] $ /bin/bash -l /tmp/jenkins12735066903151865493.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-london-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-hXTf from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-hXTf/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-london-project-csit-api/225 INFO: archiving workspace using pattern(s): -p **/target/surefire-reports/*-output.txt Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-docker-8c-8g-8512 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2800.000 BogoMIPS: 5600.00 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 851 27395 0 3920 30860 Swap: 1023 0 1023 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 link/ether fa:16:3e:e8:be:12 brd ff:ff:ff:ff:ff:ff inet 10.30.107.190/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86030sec preferred_lft 86030sec inet6 fe80::f816:3eff:fee8:be12/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:7c:b4:6a:0f brd ff:ff:ff:ff:ff:ff inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 valid_lft forever preferred_lft forever ---> sar -b -r -n DEV: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-8512) 12/30/23 _x86_64_ (8 CPU) 11:33:33 LINUX RESTART (8 CPU) 11:34:01 tps rtps wtps bread/s bwrtn/s 11:35:01 133.94 71.40 62.54 4614.16 20887.72 11:36:01 121.66 19.71 101.95 2298.17 24420.79 11:37:01 309.65 10.35 299.30 986.74 70344.56 11:38:01 85.60 6.37 79.24 282.75 11936.84 11:39:01 39.39 0.87 38.53 47.19 12878.42 Average: 138.05 21.74 116.31 1645.82 28093.54 11:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:35:01 30124308 31676676 2814912 8.55 66840 1797976 1395756 4.11 894336 1635292 143348 11:36:01 29753216 31733616 3186004 9.67 89672 2183304 1370720 4.03 886876 1971336 148860 11:37:01 27910432 31481068 5028788 15.27 123524 3675596 3309104 9.74 1217792 3366560 1392 11:38:01 26745220 30353008 6194000 18.80 126388 3678092 4758200 14.00 2391536 3352004 236 11:39:01 28067780 31596884 4871440 14.79 127112 3638200 1496364 4.40 1178936 3269304 3880 Average: 28520191 31368250 4419029 13.42 106707 2994634 2466029 7.26 1313895 2718899 59543 11:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:35:01 ens3 315.18 237.26 1474.03 58.99 0.00 0.00 0.00 0.00 11:35:01 lo 1.73 1.73 0.18 0.18 0.00 0.00 0.00 0.00 11:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:36:01 ens3 68.44 48.75 1086.67 9.00 0.00 0.00 0.00 0.00 11:36:01 lo 2.80 2.80 0.27 0.27 0.00 0.00 0.00 0.00 11:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:37:01 veth42a609f 0.28 0.43 0.01 0.03 0.00 0.00 0.00 0.00 11:37:01 veth4b4bfb6 0.15 0.30 0.01 0.02 0.00 0.00 0.00 0.00 11:37:01 veth6a07237 0.42 0.58 0.05 0.30 0.00 0.00 0.00 0.00 11:37:01 br-097a7ebc98ca 0.45 0.47 0.05 0.29 0.00 0.00 0.00 0.00 11:38:01 veth42a609f 119.90 148.94 119.70 44.68 0.00 0.00 0.00 0.01 11:38:01 veth6a07237 0.12 0.22 0.01 0.01 0.00 0.00 0.00 0.00 11:38:01 br-097a7ebc98ca 3.20 3.67 5.89 2.23 0.00 0.00 0.00 0.00 11:38:01 ens3 669.27 471.14 11031.49 83.90 0.00 0.00 0.00 0.00 11:39:01 ens3 48.89 40.06 68.11 21.37 0.00 0.00 0.00 0.00 11:39:01 lo 33.91 33.91 10.39 10.39 0.00 0.00 0.00 0.00 11:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: ens3 141.51 100.33 2206.46 20.80 0.00 0.00 0.00 0.00 Average: lo 6.10 6.10 2.02 2.02 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-8512) 12/30/23 _x86_64_ (8 CPU) 11:33:33 LINUX RESTART (8 CPU) 11:34:01 CPU %user %nice %system %iowait %steal %idle 11:35:01 all 11.05 0.00 1.09 2.53 0.04 85.30 11:35:01 0 5.96 0.00 1.08 13.54 0.05 79.37 11:35:01 1 6.98 0.00 0.75 0.87 0.03 91.36 11:35:01 2 5.77 0.00 0.70 1.09 0.08 92.36 11:35:01 3 14.90 0.00 1.35 0.73 0.05 82.97 11:35:01 4 28.69 0.00 1.86 2.12 0.05 67.27 11:35:01 5 16.23 0.00 1.45 1.00 0.05 81.27 11:35:01 6 7.30 0.00 0.80 0.27 0.03 91.60 11:35:01 7 2.62 0.00 0.65 0.57 0.03 96.12 11:36:01 all 10.05 0.00 0.83 2.52 0.04 86.56 11:36:01 0 1.82 0.00 0.47 3.43 0.02 94.26 11:36:01 1 7.54 0.00 0.58 0.35 0.02 91.52 11:36:01 2 12.77 0.00 1.04 7.10 0.08 79.01 11:36:01 3 7.36 0.00 0.75 0.22 0.05 91.62 11:36:01 4 8.48 0.00 0.75 5.12 0.02 85.63 11:36:01 5 5.81 0.00 0.55 0.52 0.03 93.09 11:36:01 6 24.44 0.00 1.67 3.12 0.05 70.73 11:36:01 7 12.19 0.00 0.83 0.37 0.03 86.58 11:37:01 all 6.50 0.00 2.70 8.98 0.05 81.76 11:37:01 0 5.19 0.00 2.66 0.74 0.07 91.34 11:37:01 1 7.27 0.00 2.33 1.94 0.05 88.42 11:37:01 2 4.72 0.00 3.60 4.39 0.03 87.26 11:37:01 3 7.06 0.00 2.42 6.41 0.07 84.05 11:37:01 4 6.63 0.00 1.97 8.40 0.05 82.95 11:37:01 5 8.80 0.00 2.86 7.17 0.05 81.13 11:37:01 6 5.17 0.00 2.18 0.34 0.05 92.26 11:37:01 7 7.19 0.00 3.60 42.67 0.08 46.45 11:38:01 all 15.84 0.00 1.69 1.22 0.05 81.20 11:38:01 0 10.39 0.00 1.52 1.88 0.03 86.17 11:38:01 1 18.25 0.00 1.61 0.02 0.03 80.10 11:38:01 2 21.09 0.00 2.23 2.90 0.03 73.75 11:38:01 3 19.41 0.00 1.56 4.60 0.05 74.38 11:38:01 4 12.28 0.00 1.67 0.23 0.03 85.78 11:38:01 5 16.08 0.00 1.87 0.12 0.05 81.88 11:38:01 6 17.98 0.00 1.96 0.03 0.05 79.98 11:38:01 7 11.23 0.00 1.14 0.00 0.07 87.56 11:39:01 all 2.07 0.00 0.44 1.00 0.03 96.46 11:39:01 0 0.62 0.00 0.42 0.52 0.03 98.42 11:39:01 1 0.93 0.00 0.40 0.07 0.02 98.58 11:39:01 2 0.88 0.00 0.37 0.02 0.02 98.72 11:39:01 3 0.75 0.00 0.25 6.10 0.02 92.88 11:39:01 4 1.05 0.00 0.42 0.22 0.02 98.30 11:39:01 5 4.65 0.00 0.68 0.90 0.05 93.71 11:39:01 6 5.98 0.00 0.57 0.18 0.02 93.25 11:39:01 7 1.69 0.00 0.43 0.02 0.08 97.78 Average: all 9.10 0.00 1.35 3.24 0.04 86.27 Average: 0 4.79 0.00 1.23 4.03 0.04 89.91 Average: 1 8.19 0.00 1.13 0.64 0.03 90.01 Average: 2 9.04 0.00 1.58 3.09 0.05 86.23 Average: 3 9.89 0.00 1.27 3.61 0.05 85.19 Average: 4 11.42 0.00 1.33 3.21 0.03 84.00 Average: 5 10.30 0.00 1.48 1.93 0.05 86.24 Average: 6 12.18 0.00 1.43 0.79 0.04 85.56 Average: 7 6.98 0.00 1.33 8.63 0.06 83.00