Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-4520 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-master-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-s1i50HWkjq96/agent.2090 SSH_AGENT_PID=2092 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-master-project-csit-api@tmp/private_key_3567623460121431232.key (/w/workspace/policy-api-master-project-csit-api@tmp/private_key_3567623460121431232.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-master-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/master^{commit} # timeout=10 Checking out Revision b688e1ed0c5780b8c4239ed72827913d48383137 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f b688e1ed0c5780b8c4239ed72827913d48383137 # timeout=30 Commit message: "Update snapshot and/or references of policy/docker to latest snapshots" > git rev-list --no-walk b688e1ed0c5780b8c4239ed72827913d48383137 # 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-master-project-csit-api] $ /bin/bash /tmp/jenkins868586009845607189.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-CuMm 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-CuMm/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.1 from /tmp/venv-CuMm/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.13.1 beautifulsoup4==4.12.2 boto3==1.33.12 botocore==1.33.12 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.2.2 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.0 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.11.2 keystoneauth1==5.4.0 kubernetes==28.1.0 lftools==0.37.8 lxml==4.9.3 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.13.2 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.8.2 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.3 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-master-project-csit-api] $ /bin/sh /tmp/jenkins5243673289211642083.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-master-project-csit-api] $ /bin/sh -xe /tmp/jenkins251474106971066244.sh + /w/workspace/policy-api-master-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-master-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-master-project-csit-api/csit:/w/workspace/policy-api-master-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-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin + export SCRIPTS=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts + SCRIPTS=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts + export ROBOT_VARIABLES= + ROBOT_VARIABLES= + export PROJECT=api + PROJECT=api + cd /w/workspace/policy-api-master-project-csit-api + rm -rf /w/workspace/policy-api-master-project-csit-api/csit/archives/api + mkdir -p /w/workspace/policy-api-master-project-csit-api/csit/archives/api + source_safely /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh + '[' -z /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' +++ mktemp -d ++ ROBOT_VENV=/tmp/tmp.qVGappjDDk ++ echo ROBOT_VENV=/tmp/tmp.qVGappjDDk +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.qVGappjDDk ++ source /tmp/tmp.qVGappjDDk/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.qVGappjDDk +++ 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-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin +++ PATH=/tmp/tmp.qVGappjDDk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin +++ export PATH +++ '[' -n '' ']' +++ '[' -z '' ']' +++ _OLD_VIRTUAL_PS1= +++ '[' 'x(tmp.qVGappjDDk) ' '!=' x ']' +++ PS1='(tmp.qVGappjDDk) ' +++ 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-master-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.8.5 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==4.9.3 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.3.1 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.qVGappjDDk/src/onap ++ rm -rf /tmp/tmp.qVGappjDDk/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.8.5 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==4.9.3 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.3.1 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.qVGappjDDk/bin/activate + '[' -z /tmp/tmp.qVGappjDDk/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.qVGappjDDk/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-master-project-csit-api/csit:/w/workspace/policy-api-master-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-master-project-csit-api/csit:/w/workspace/policy-api-master-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.qVGappjDDk ++ 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-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin ++ PATH=/tmp/tmp.qVGappjDDk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin ++ export PATH ++ '[' -n '' ']' ++ '[' -z '' ']' ++ _OLD_VIRTUAL_PS1='(tmp.qVGappjDDk) ' ++ '[' 'x(tmp.qVGappjDDk) ' '!=' x ']' ++ PS1='(tmp.qVGappjDDk) (tmp.qVGappjDDk) ' ++ 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-master-project-csit-api/csit/resources/tests + TEST_PLAN_DIR=/w/workspace/policy-api-master-project-csit-api/csit/resources/tests + export TEST_OPTIONS= + TEST_OPTIONS= ++ mktemp -d + WORKDIR=/tmp/tmp.taaLdPN7xM + cd /tmp/tmp.taaLdPN7xM + 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-master-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-master-project-csit-api/.gitreview +++ GERRIT_BRANCH=master +++ echo GERRIT_BRANCH=master GERRIT_BRANCH=master +++ rm -rf /w/workspace/policy-api-master-project-csit-api/models +++ mkdir /w/workspace/policy-api-master-project-csit-api/models +++ git clone -b master --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-master-project-csit-api/models Cloning into '/w/workspace/policy-api-master-project-csit-api/models'... +++ export DATA=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-master-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-master-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-master-project-csit-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-master-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-master-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:3.1.0-SNAPSHOT)... 3.1.0-SNAPSHOT: Pulling from onap/policy-db-migrator Digest: sha256:2cb91767d5c6ee47c5d2a9c1934f0f94c42ac8195f6bdc68f2074bff47bd42dc Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.1.0-SNAPSHOT Pulling api (nexus3.onap.org:10001/onap/policy-api:3.1.0-SNAPSHOT)... 3.1.0-SNAPSHOT: Pulling from onap/policy-api Digest: sha256:32a1ac5d483a14504c78b832b9351ddb75c277bc93c1976d4c5d9d338b0116cd Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.1.0-SNAPSHOT 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:e3e9c2b5776fe3657f4954dfa91579224f98a0316f51d431989b15425e95530f 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-master-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-master-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 ++ 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-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-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 + docker_stats + tee /w/workspace/policy-api-master-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:23:55 up 3 min, 0 users, load average: 2.21, 0.96, 0.38 Tasks: 180 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.3 us, 2.0 sy, 0.0 ni, 83.5 id, 4.0 wa, 0.0 hi, 0.1 si, 0.1 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.4G 26G 1.0M 4.0G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS a557a433c0ce policy-api 0.55% 470.4MiB / 31.41GiB 1.46% 999kB / 710kB 0B / 0B 54 261d40c8ce1c grafana 0.06% 89.92MiB / 31.41GiB 0.28% 18.5kB / 3.09kB 0B / 23.6MB 16 af0d00444af4 mariadb 0.02% 100.3MiB / 31.41GiB 0.31% 985kB / 1.18MB 11.2MB / 67.9MB 29 fef854c6b258 prometheus 0.54% 18.7MiB / 31.41GiB 0.06% 1.52kB / 158B 4.1kB / 0B 12 + echo + cd /tmp/tmp.taaLdPN7xM + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' api-slas.robot' + sed 's|^|/w/workspace/policy-api-master-project-csit-api/csit/resources/tests/|' + cat testplan.txt /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-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-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-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-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-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-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ============================================================================== api ============================================================================== api.Api-Test ============================================================================== Healthcheck :: Verify policy api health check | 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 | 22 tests, 22 passed, 0 failed ============================================================================== api.Api-Slas ============================================================================== WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForHealthcheck :: Validate component healthche... | 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 | 9 tests, 9 passed, 0 failed ============================================================================== api | PASS | 31 tests, 31 passed, 0 failed ============================================================================== Output: /tmp/tmp.taaLdPN7xM/output.xml Log: /tmp/tmp.taaLdPN7xM/log.html Report: /tmp/tmp.taaLdPN7xM/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-master-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:25:07 up 5 min, 0 users, load average: 0.83, 0.82, 0.38 Tasks: 178 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.9 us, 1.6 sy, 0.0 ni, 86.2 id, 3.2 wa, 0.0 hi, 0.1 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.9G 25G 1.0M 4.0G 29G 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 a557a433c0ce policy-api 0.10% 953.3MiB / 31.41GiB 2.96% 7MB / 2.55MB 0B / 0B 53 261d40c8ce1c grafana 0.02% 96.35MiB / 31.41GiB 0.30% 19.7kB / 4.37kB 0B / 23.6MB 16 af0d00444af4 mariadb 0.01% 101.2MiB / 31.41GiB 0.31% 2.39MB / 7.04MB 11.2MB / 68.2MB 18 fef854c6b258 prometheus 0.00% 23.38MiB / 31.41GiB 0.07% 55.5kB / 6.59kB 4.1kB / 0B 12 + echo + source_safely /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-api/compose ++ cd /w/workspace/policy-api-master-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 mariadb | 2023-12-12 11:23:27+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-12-12 11:23:27+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2023-12-12 11:23:27+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-12-12 11:23:28+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2023-12-12 11:23:28 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-12 11:23:28 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-12-12 11:23:28 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-12 11:23:29+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2023-12-12 11:23:29+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2023-12-12 11:23:29+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2023-12-12 11:23:29 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 101 ... mariadb | 2023-12-12 11:23:29 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-12-12 11:23:29 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-12-12 11:23:29 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-12-12 11:23:29 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2023-12-12 11:23:29 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-12 11:23:29 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-12-12 11:23:29 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-12-12 11:23:29 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-12-12 11:23:29 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-12-12 11:23:30 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-12-12 11:23:30 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-12-12 11:23:30 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-12-12 11:23:30 0 [Note] InnoDB: log sequence number 46590; transaction id 14 grafana | logger=settings t=2023-12-12T11:23:26.700937316Z level=info msg="Starting Grafana" version=10.2.2 commit=161e3cac5075540918e3a39004f2364ad104d5bb branch=HEAD compiled=2023-11-20T12:28:00Z grafana | logger=settings t=2023-12-12T11:23:26.70113111Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2023-12-12T11:23:26.701139611Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2023-12-12T11:23:26.701143971Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2023-12-12T11:23:26.701147911Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2023-12-12T11:23:26.701151441Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2023-12-12T11:23:26.701154521Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2023-12-12T11:23:26.701157791Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2023-12-12T11:23:26.701161771Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2023-12-12T11:23:26.701165751Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2023-12-12T11:23:26.701169621Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2023-12-12T11:23:26.701172731Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2023-12-12T11:23:26.701175871Z level=info msg=Target target=[all] grafana | logger=settings t=2023-12-12T11:23:26.701180881Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2023-12-12T11:23:26.701184192Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2023-12-12T11:23:26.701187922Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2023-12-12T11:23:26.701191442Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2023-12-12T11:23:26.701194692Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2023-12-12T11:23:26.701197552Z level=info msg="App mode production" grafana | logger=sqlstore t=2023-12-12T11:23:26.701454818Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2023-12-12T11:23:26.701469128Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2023-12-12T11:23:26.702081432Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2023-12-12T11:23:26.702952861Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2023-12-12T11:23:26.703683087Z level=info msg="Migration successfully executed" id="create migration_log table" duration=728.206µs grafana | logger=migrator t=2023-12-12T11:23:26.707593284Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2023-12-12T11:23:26.708062015Z level=info msg="Migration successfully executed" id="create user table" duration=468.861µs grafana | logger=migrator t=2023-12-12T11:23:26.711271176Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2023-12-12T11:23:26.711964272Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=691.356µs grafana | logger=migrator t=2023-12-12T11:23:26.717997126Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2023-12-12T11:23:26.718680882Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=685.445µs grafana | logger=migrator t=2023-12-12T11:23:26.721971245Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2023-12-12T11:23:26.722596509Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=623.444µs grafana | logger=migrator t=2023-12-12T11:23:26.725824461Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2023-12-12T11:23:26.726776482Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=951.641µs grafana | logger=migrator t=2023-12-12T11:23:26.733076272Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2023-12-12T11:23:26.737340217Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.262475ms grafana | logger=migrator t=2023-12-12T11:23:26.740779924Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2023-12-12T11:23:26.741854798Z level=info msg="Migration successfully executed" id="create user table v2" duration=1.075594ms grafana | logger=migrator t=2023-12-12T11:23:26.779414485Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2023-12-12T11:23:26.780714414Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.298569ms grafana | logger=migrator t=2023-12-12T11:23:26.819409957Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2023-12-12T11:23:26.820625624Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.216927ms grafana | logger=migrator t=2023-12-12T11:23:26.824241065Z level=info msg="Executing migration" id="copy data_source v1 to v2" mariadb | 2023-12-12 11:23:30 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-12-12 11:23:30 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-12-12 11:23:30 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-12-12 11:23:30 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-12-12 11:23:30 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-12 11:23:30+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2023-12-12 11:23:32+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2023-12-12 11:23:32+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2023-12-12 11:23:32+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2023-12-12 11:23:32+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}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' grafana | logger=migrator t=2023-12-12T11:23:26.824846188Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=604.833µs grafana | logger=migrator t=2023-12-12T11:23:26.828120541Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2023-12-12T11:23:26.828927409Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=807.108µs grafana | logger=migrator t=2023-12-12T11:23:26.832410967Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2023-12-12T11:23:26.833754227Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.34419ms grafana | logger=migrator t=2023-12-12T11:23:26.838932172Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2023-12-12T11:23:26.838955043Z level=info msg="Migration successfully executed" id="Update user table charset" duration=23.621µs grafana | logger=migrator t=2023-12-12T11:23:26.842012871Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2023-12-12T11:23:26.843815781Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.8049ms grafana | logger=migrator t=2023-12-12T11:23:26.847459102Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2023-12-12T11:23:26.847779359Z level=info msg="Migration successfully executed" id="Add missing user data" duration=320.067µs grafana | logger=migrator t=2023-12-12T11:23:26.851188105Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2023-12-12T11:23:26.8522886Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.100275ms policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb (172.17.0.3) 3306 port [tcp/mysql] succeeded! policy-db-migrator | 321 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Preparing upgrade release version: 1300 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 policy-db-migrator | upgrade: 0 -> 1300 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- 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-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- 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-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- 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-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- 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-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- 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-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- 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-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-db-migrator | -------------- 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 | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.3:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.5:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v3.1.4) policy-api | policy-api | [2023-12-12T11:23:43.099+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 22 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2023-12-12T11:23:43.101+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2023-12-12T11:23:44.780+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2023-12-12T11:23:44.877+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 84 ms. Found 6 JPA repository interfaces. policy-api | [2023-12-12T11:23:45.322+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler policy-api | [2023-12-12T11:23:45.323+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler policy-api | [2023-12-12T11:23:45.961+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2023-12-12T11:23:45.971+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2023-12-12T11:23:45.974+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2023-12-12T11:23:45.974+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.16] policy-api | [2023-12-12T11:23:46.064+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2023-12-12T11:23:46.065+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2900 ms policy-api | [2023-12-12T11:23:46.488+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2023-12-12T11:23:46.556+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-api | [2023-12-12T11:23:46.558+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-api | [2023-12-12T11:23:46.601+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-api | [2023-12-12T11:23:46.985+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-api | [2023-12-12T11:23:47.012+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2023-12-12T11:23:47.114+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@3d37203b policy-api | [2023-12-12T11:23:47.117+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2023-12-12T11:23:47.148+00:00|WARN|deprecation|main] HHH90000025: MariaDB103Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) policy-api | [2023-12-12T11:23:47.150+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead policy-api | [2023-12-12T11:23:49.105+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-api | [2023-12-12T11:23:49.109+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2023-12-12T11:23:50.351+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2023-12-12T11:23:51.221+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2023-12-12T11:23:52.452+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 policy-api | [2023-12-12T11:23:52.713+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@fb74661, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@4b7feb38, org.springframework.security.web.context.SecurityContextHolderFilter@25e7e6d, org.springframework.security.web.header.HeaderWriterFilter@66161fee, org.springframework.security.web.authentication.logout.LogoutFilter@607c7f58, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@729f8c5d, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@53d257e7, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@56b5de49, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@6e04275e, org.springframework.security.web.access.ExceptionTranslationFilter@56bc8c45, org.springframework.security.web.access.intercept.AuthorizationFilter@31829b82] policy-api | [2023-12-12T11:23:53.679+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2023-12-12T11:23:53.738+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2023-12-12T11:23:53.760+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2023-12-12T11:23:53.779+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.429 seconds (process running for 12.008) policy-api | [2023-12-12T11:23:58.284+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2023-12-12T11:23:58.284+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2023-12-12T11:23:58.286+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 2 ms policy-api | [2023-12-12T11:24:01.526+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-6] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2023-12-12T11:24:01.648+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2023-12-12T11:24:01.909+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2023-12-12T11:24:03.103+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policies policy-api | [2023-12-12T11:24:05.206+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2023-12-12T11:24:05.519+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2023-12-12T11:24:05.791+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:26.857255531Z level=info msg="Executing migration" id="Add index user.login/user.email" mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql policy-api | [2023-12-12T11:24:06.016+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 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-12T11:23:26.857971977Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=715.726µs mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp prometheus | ts=2023-12-12T11:23:25.709Z caller=main.go:539 level=info msg="No time or size retention was set so using the default time retention" duration=15d policy-api | [2023-12-12T11:24:06.274+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:26.861640818Z level=info msg="Executing migration" id="Add is_service_account column to user" mariadb | prometheus | ts=2023-12-12T11:23:25.709Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.48.1, branch=HEAD, revision=63894216648f0d6be310c9d16fb48293c45c9310)" policy-api | [2023-12-12T11:24:06.505+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:26.863836967Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=2.194149ms mariadb | 2023-12-12 11:23:33+00:00 [Note] [Entrypoint]: Stopping temporary server prometheus | ts=2023-12-12T11:23:25.709Z 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)" policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:26.867724144Z level=info msg="Executing migration" id="Update is_service_account column to nullable" mariadb | 2023-12-12 11:23:33 0 [Note] mariadbd (initiated by: unknown): Normal shutdown prometheus | ts=2023-12-12T11:23:25.709Z 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))" policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql grafana | logger=migrator t=2023-12-12T11:23:26.877288427Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=9.562273ms mariadb | 2023-12-12 11:23:33 0 [Note] InnoDB: FTS optimize thread exiting. prometheus | ts=2023-12-12T11:23:25.709Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:26.882255798Z level=info msg="Executing migration" id="create temp user table v1-7" mariadb | 2023-12-12 11:23:33 0 [Note] InnoDB: Starting shutdown... prometheus | ts=2023-12-12T11:23:25.709Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" 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-12T11:23:26.882999194Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=743.016µs mariadb | 2023-12-12 11:23:33 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool prometheus | ts=2023-12-12T11:23:25.712Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:26.886423701Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" mariadb | 2023-12-12 11:23:33 0 [Note] InnoDB: Buffer pool(s) dump completed at 231212 11:23:33 prometheus | ts=2023-12-12T11:23:25.713Z caller=main.go:1024 level=info msg="Starting TSDB ..." policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:26.887204508Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=779.607µs mariadb | 2023-12-12 11:23:34 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" prometheus | ts=2023-12-12T11:23:25.714Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:26.890398969Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" mariadb | 2023-12-12 11:23:34 0 [Note] InnoDB: Shutdown completed; log sequence number 349702; transaction id 298 prometheus | ts=2023-12-12T11:23:25.715Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql grafana | logger=migrator t=2023-12-12T11:23:26.891197477Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=793.248µs mariadb | 2023-12-12 11:23:34 0 [Note] mariadbd: Shutdown complete prometheus | ts=2023-12-12T11:23:25.720Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:26.896940245Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" mariadb | prometheus | ts=2023-12-12T11:23:25.720Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=1.82µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2023-12-12T11:23:26.898091011Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.150066ms mariadb | 2023-12-12 11:23:34+00:00 [Note] [Entrypoint]: Temporary server stopped prometheus | ts=2023-12-12T11:23:25.720Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:26.901492587Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" mariadb | prometheus | ts=2023-12-12T11:23:25.720Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:26.902192042Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=698.955µs mariadb | 2023-12-12 11:23:34+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. prometheus | ts=2023-12-12T11:23:25.720Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=106.693µs wal_replay_duration=353.518µs wbl_replay_duration=190ns total_replay_duration=487.111µs policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:26.905442055Z level=info msg="Executing migration" id="Update temp_user table charset" mariadb | prometheus | ts=2023-12-12T11:23:25.723Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql grafana | logger=migrator t=2023-12-12T11:23:26.905466265Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=26.98µs mariadb | 2023-12-12 11:23:34 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... prometheus | ts=2023-12-12T11:23:25.723Z caller=main.go:1048 level=info msg="TSDB started" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:26.908742168Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" mariadb | 2023-12-12 11:23:34 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 prometheus | ts=2023-12-12T11:23:25.723Z caller=main.go:1230 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml 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-12T11:23:26.909758721Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.015733ms mariadb | 2023-12-12 11:23:34 0 [Note] InnoDB: Number of transaction pools: 1 prometheus | ts=2023-12-12T11:23:25.724Z caller=main.go:1267 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.033294ms db_storage=1.28µs remote_storage=1.82µs web_handler=770ns query_engine=990ns scrape=236.515µs scrape_sd=110.213µs notify=61.301µs notify_sd=14.541µs rules=1.91µs tracing=5.56µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:26.914805633Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" mariadb | 2023-12-12 11:23:34 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions prometheus | ts=2023-12-12T11:23:25.724Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:26.915890758Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.084535ms mariadb | 2023-12-12 11:23:34 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) prometheus | ts=2023-12-12T11:23:25.724Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:26.919424056Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" mariadb | 2023-12-12 11:23:34 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql grafana | logger=migrator t=2023-12-12T11:23:26.92003918Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=614.354µs mariadb | 2023-12-12 11:23:34 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:26.925933272Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" mariadb | 2023-12-12 11:23:34 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 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-12T11:23:26.926897423Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=963.762µs mariadb | 2023-12-12 11:23:34 0 [Note] InnoDB: Completed initialization of buffer pool policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:26.93035138Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" mariadb | 2023-12-12 11:23:34 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:26.9357314Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=5.38041ms mariadb | 2023-12-12 11:23:34 0 [Note] InnoDB: 128 rollback segments are active. policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:26.93888191Z level=info msg="Executing migration" id="create temp_user v2" mariadb | 2023-12-12 11:23:34 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2023-12-12T11:23:26.939622957Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=740.497µs mariadb | 2023-12-12 11:23:34 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:26.94289368Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" mariadb | 2023-12-12 11:23:34 0 [Note] InnoDB: log sequence number 349702; transaction id 299 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2023-12-12T11:23:26.943619606Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=723.116µs mariadb | 2023-12-12 11:23:34 0 [Note] Plugin 'FEEDBACK' is disabled. policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:26.948799581Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" mariadb | 2023-12-12 11:23:34 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:26.949489857Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=688.526µs mariadb | 2023-12-12 11:23:34 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-12T11:23:26.952636037Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" mariadb | 2023-12-12 11:23:34 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2023-12-12T11:23:26.953737371Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.098734ms mariadb | 2023-12-12 11:23:34 0 [Note] Server socket created on IP: '0.0.0.0'. policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:26.957006844Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" mariadb | 2023-12-12 11:23:34 0 [Note] Server socket created on IP: '::'. 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-12T11:23:26.958110359Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.102165ms mariadb | 2023-12-12 11:23:34 0 [Note] mariadbd: ready for connections. policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:26.963970589Z level=info msg="Executing migration" id="copy temp_user v1 to v2" 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-12T11:23:26.964344398Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=373.669µs mariadb | 2023-12-12 11:23:34 0 [Note] InnoDB: Buffer pool(s) load completed at 231212 11:23:34 policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:26.967855486Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" mariadb | 2023-12-12 11:23:34 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql grafana | logger=migrator t=2023-12-12T11:23:26.968519621Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=662.555µs mariadb | 2023-12-12 11:23:34 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:26.97250946Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" 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-12T11:23:26.973125004Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=616.103µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:26.978735139Z level=info msg="Executing migration" id="create star table" policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:26.979299221Z level=info msg="Migration successfully executed" id="create star table" duration=563.112µs policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:26.982424511Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql grafana | logger=migrator t=2023-12-12T11:23:26.983184428Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=759.697µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:26.98641981Z level=info msg="Executing migration" id="create org table v1" 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-12T11:23:26.987514634Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.093674ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:26.992224099Z level=info msg="Executing migration" id="create index UQE_org_name - v1" policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:26.993415856Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.191107ms policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql grafana | logger=migrator t=2023-12-12T11:23:26.999087432Z level=info msg="Executing migration" id="create org_user table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:26.999678195Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=590.093µs 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-12T11:23:27.002654842Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:27.003403269Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=747.857µs policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:27.006550852Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:27.007817051Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.267639ms policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql grafana | logger=migrator t=2023-12-12T11:23:27.01129884Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:27.012428696Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.128846ms 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-12T11:23:27.017588504Z level=info msg="Executing migration" id="Update org table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:27.017612654Z level=info msg="Migration successfully executed" id="Update org table charset" duration=24.821µs policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:27.020641013Z level=info msg="Executing migration" id="Update org_user table charset" policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:27.020662414Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=22.17µs policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql grafana | logger=migrator t=2023-12-12T11:23:27.023220312Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:27.023492958Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=272.856µs 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) grafana | logger=migrator t=2023-12-12T11:23:27.026899656Z level=info msg="Executing migration" id="create dashboard table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:27.027920519Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.020394ms policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:27.033268271Z level=info msg="Executing migration" id="add index dashboard.account_id" policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:27.034018358Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=751.218µs policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql grafana | logger=migrator t=2023-12-12T11:23:27.036830232Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:27.03763389Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=801.008µs 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-12T11:23:27.040668729Z level=info msg="Executing migration" id="create dashboard_tag table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:27.041729863Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.062604ms policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:27.045075319Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:27.046361379Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.28485ms policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql grafana | logger=migrator t=2023-12-12T11:23:27.051484625Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:27.052154041Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=670.075µs 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-12T11:23:27.054873792Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:27.061273918Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=6.399236ms policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:27.064140613Z level=info msg="Executing migration" id="create dashboard v2" policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:27.064780838Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=639.635µs policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql grafana | logger=migrator t=2023-12-12T11:23:27.069560397Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:27.070251333Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=688.585µs 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-12T11:23:27.073413895Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:27.074116381Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=701.886µs policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:27.077088188Z level=info msg="Executing migration" id="copy dashboard v1 to v2" policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:27.077398185Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=310.167µs policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql grafana | logger=migrator t=2023-12-12T11:23:27.082399479Z level=info msg="Executing migration" id="drop table dashboard_v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:27.083153856Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=754.227µs 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-12T11:23:27.086138684Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:27.086202946Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=64.452µs policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:27.089241205Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:27.090919623Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.677938ms policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2023-12-12T11:23:27.096442719Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:27.099449507Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=3.005478ms 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-12T11:23:27.102989198Z level=info msg="Executing migration" id="Add column gnetId in dashboard" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:27.105595297Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=2.604759ms policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:27.108714608Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:27.109452695Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=737.087µs policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2023-12-12T11:23:27.11538013Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:27.118126613Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.746163ms 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-12T11:23:27.121781046Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:27.123117936Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.33558ms policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:27.12681478Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" policy-db-migrator | policy-db-migrator | > upgrade 0460-pdppolicystatus.sql grafana | logger=migrator t=2023-12-12T11:23:27.127625339Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=809.949µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:27.133106024Z level=info msg="Executing migration" id="Update dashboard table charset" 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-12T11:23:27.133135274Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=29.11µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:27.136650264Z level=info msg="Executing migration" id="Update dashboard_tag table charset" policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:27.136686575Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=36.551µs policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:27.13952097Z level=info msg="Executing migration" id="Add column folder_id in dashboard" policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2023-12-12T11:23:27.142480957Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.945737ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:27.150437848Z level=info msg="Executing migration" id="Add column isFolder in dashboard" 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-12T11:23:27.15360731Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=3.168222ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:27.15753397Z level=info msg="Executing migration" id="Add column has_acl in dashboard" policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:27.160400865Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.867225ms policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:27.164837986Z level=info msg="Executing migration" id="Add column uid in dashboard" policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2023-12-12T11:23:27.166643147Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.807131ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:27.172533111Z level=info msg="Executing migration" id="Update uid column values in dashboard" 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)) grafana | logger=migrator t=2023-12-12T11:23:27.172711255Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=177.134µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:27.175217963Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:27.17643997Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.220898ms policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:27.17994237Z level=info msg="Executing migration" id="Remove unique index org_id_slug" policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2023-12-12T11:23:27.180724798Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=783.128µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:27.186438068Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2023-12-12T11:23:27.186461129Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=23.48µs grafana | logger=migrator t=2023-12-12T11:23:27.189671362Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" 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 | -------------- grafana | logger=migrator t=2023-12-12T11:23:27.190842078Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.170026ms policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:27.227704868Z level=info msg="Executing migration" id="create dashboard_provisioning" policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:27.228714991Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.010253ms policy-db-migrator | > upgrade 0500-pdpsubgroup.sql grafana | logger=migrator t=2023-12-12T11:23:27.235208688Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:27.245317439Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=10.109761ms 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 | -------------- grafana | logger=migrator t=2023-12-12T11:23:27.250597379Z level=info msg="Executing migration" id="create dashboard_provisioning v2" policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:27.25107723Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=479.301µs policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:27.254316613Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql grafana | logger=migrator t=2023-12-12T11:23:27.255123622Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=806.569µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:27.25856253Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" 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)) grafana | logger=migrator t=2023-12-12T11:23:27.259389259Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=823.769µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:27.264968086Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:27.265446417Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=480.011µs policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:27.269032429Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql grafana | logger=migrator t=2023-12-12T11:23:27.269868868Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=835.979µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:27.27348706Z level=info msg="Executing migration" id="Add check_sum column" 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)) grafana | logger=migrator t=2023-12-12T11:23:27.276635092Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.145311ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:27.281770789Z level=info msg="Executing migration" id="Add index for dashboard_title" policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:27.282533476Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=762.067µs policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:27.285879052Z level=info msg="Executing migration" id="delete tags for deleted dashboards" policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql grafana | logger=migrator t=2023-12-12T11:23:27.286040696Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=161.634µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:27.289716539Z level=info msg="Executing migration" id="delete stars for deleted dashboards" 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)) grafana | logger=migrator t=2023-12-12T11:23:27.289992576Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=276.497µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:27.296921074Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:27.298117191Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.196198ms policy-db-migrator | grafana | logger=migrator t=2023-12-12T11:23:27.301881066Z level=info msg="Executing migration" id="Add isPublic for dashboard" policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql grafana | logger=migrator t=2023-12-12T11:23:27.305214792Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.333246ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-12-12T11:23:27.308833435Z level=info msg="Executing migration" id="create data_source table" 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)) grafana | logger=migrator t=2023-12-12T11:23:27.309642613Z level=info msg="Migration successfully executed" id="create data_source table" duration=808.798µs 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 | -------------- 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 | -------------- grafana | logger=migrator t=2023-12-12T11:23:27.314124805Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2023-12-12T11:23:27.314876772Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=751.647µs grafana | logger=migrator t=2023-12-12T11:23:27.318632008Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2023-12-12T11:23:27.319971468Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.33912ms grafana | logger=migrator t=2023-12-12T11:23:27.323461108Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2023-12-12T11:23:27.324172424Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=711.046µs grafana | logger=migrator t=2023-12-12T11:23:27.328693137Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2023-12-12T11:23:27.329386023Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=692.536µs grafana | logger=migrator t=2023-12-12T11:23:27.332677638Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2023-12-12T11:23:27.340411804Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=7.733436ms grafana | logger=migrator t=2023-12-12T11:23:27.343710849Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2023-12-12T11:23:27.344268882Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=557.282µs grafana | logger=migrator t=2023-12-12T11:23:27.348468107Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2023-12-12T11:23:27.349117692Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=648.775µs grafana | logger=migrator t=2023-12-12T11:23:27.352629342Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2023-12-12T11:23:27.353502032Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=873.87µs grafana | logger=migrator t=2023-12-12T11:23:27.356906749Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2023-12-12T11:23:27.357480852Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=573.783µs grafana | logger=migrator t=2023-12-12T11:23:27.362039716Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2023-12-12T11:23:27.365119336Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.07909ms grafana | logger=migrator t=2023-12-12T11:23:27.368502213Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2023-12-12T11:23:27.370779005Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.276422ms grafana | logger=migrator t=2023-12-12T11:23:27.374127771Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2023-12-12T11:23:27.374152722Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=25.551µs grafana | logger=migrator t=2023-12-12T11:23:27.378716026Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2023-12-12T11:23:27.37891241Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=193.424µs grafana | logger=migrator t=2023-12-12T11:23:27.382094283Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2023-12-12T11:23:27.384409335Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.314592ms grafana | logger=migrator t=2023-12-12T11:23:27.424354015Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2023-12-12T11:23:27.424663312Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=308.897µs grafana | logger=migrator t=2023-12-12T11:23:27.430066105Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2023-12-12T11:23:27.430349841Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=280.256µs grafana | logger=migrator t=2023-12-12T11:23:27.434287991Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2023-12-12T11:23:27.438249751Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.96255ms grafana | logger=migrator t=2023-12-12T11:23:27.441779042Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2023-12-12T11:23:27.441973136Z level=info msg="Migration successfully executed" id="Update uid value" duration=192.944µs grafana | logger=migrator t=2023-12-12T11:23:27.445734662Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2023-12-12T11:23:27.446875808Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.139506ms grafana | logger=migrator t=2023-12-12T11:23:27.452213409Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2023-12-12T11:23:27.453526299Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.31223ms grafana | logger=migrator t=2023-12-12T11:23:27.457157462Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2023-12-12T11:23:27.457915049Z level=info msg="Migration successfully executed" id="create api_key table" duration=758.457µs grafana | logger=migrator t=2023-12-12T11:23:27.461329827Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2023-12-12T11:23:27.462084384Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=754.277µs grafana | logger=migrator t=2023-12-12T11:23:27.466817272Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2023-12-12T11:23:27.467682421Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=865.819µs grafana | logger=migrator t=2023-12-12T11:23:27.471761544Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2023-12-12T11:23:27.472918061Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.154417ms grafana | logger=migrator t=2023-12-12T11:23:27.478441796Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2023-12-12T11:23:27.479680685Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.236349ms grafana | logger=migrator t=2023-12-12T11:23:27.484349101Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2023-12-12T11:23:27.485138709Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=789.178µs grafana | logger=migrator t=2023-12-12T11:23:27.488546667Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2023-12-12T11:23:27.489418706Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=870.69µs grafana | logger=migrator t=2023-12-12T11:23:27.494147494Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2023-12-12T11:23:27.505584584Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=11.43628ms grafana | logger=migrator t=2023-12-12T11:23:27.509587096Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2023-12-12T11:23:27.51022445Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=636.844µs grafana | logger=migrator t=2023-12-12T11:23:27.513705589Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2023-12-12T11:23:27.514451306Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=745.107µs grafana | logger=migrator t=2023-12-12T11:23:27.518761384Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2023-12-12T11:23:27.519977552Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.212098ms grafana | logger=migrator t=2023-12-12T11:23:27.523746238Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2023-12-12T11:23:27.525007287Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.262009ms grafana | logger=migrator t=2023-12-12T11:23:27.528463315Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2023-12-12T11:23:27.528800543Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=337.048µs grafana | logger=migrator t=2023-12-12T11:23:27.533020059Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2023-12-12T11:23:27.533532861Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=512.572µs grafana | logger=migrator t=2023-12-12T11:23:27.53702564Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2023-12-12T11:23:27.537066591Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=41.981µs grafana | logger=migrator t=2023-12-12T11:23:27.540656573Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2023-12-12T11:23:27.54491674Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.259107ms grafana | logger=migrator t=2023-12-12T11:23:27.54932137Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2023-12-12T11:23:27.551702334Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.380434ms grafana | logger=migrator t=2023-12-12T11:23:27.554856776Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2023-12-12T11:23:27.55500928Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=152.444µs grafana | logger=migrator t=2023-12-12T11:23:27.558260814Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2023-12-12T11:23:27.560656478Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.394944ms grafana | logger=migrator t=2023-12-12T11:23:27.564008535Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2023-12-12T11:23:27.56642966Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.420465ms grafana | logger=migrator t=2023-12-12T11:23:27.57215178Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2023-12-12T11:23:27.572813845Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=661.975µs grafana | logger=migrator t=2023-12-12T11:23:27.575922086Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2023-12-12T11:23:27.576437548Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=515.072µs grafana | logger=migrator t=2023-12-12T11:23:27.580078261Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2023-12-12T11:23:27.580833178Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=754.467µs grafana | logger=migrator t=2023-12-12T11:23:27.584672465Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2023-12-12T11:23:27.585440343Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=767.428µs grafana | logger=migrator t=2023-12-12T11:23:27.588630725Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2023-12-12T11:23:27.589374192Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=743.087µs grafana | logger=migrator t=2023-12-12T11:23:27.592866012Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2023-12-12T11:23:27.593723871Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=857.099µs grafana | logger=migrator t=2023-12-12T11:23:27.604412595Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2023-12-12T11:23:27.605318465Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=913.091µs grafana | logger=migrator t=2023-12-12T11:23:27.610121035Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2023-12-12T11:23:27.610143755Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=25.531µs grafana | logger=migrator t=2023-12-12T11:23:27.612746914Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2023-12-12T11:23:27.614790721Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=2.043787ms grafana | logger=migrator t=2023-12-12T11:23:27.61736892Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2023-12-12T11:23:27.619216272Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=1.847102ms grafana | logger=migrator t=2023-12-12T11:23:27.623279704Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2023-12-12T11:23:27.623326805Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=47.691µs grafana | logger=migrator t=2023-12-12T11:23:27.625931545Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2023-12-12T11:23:27.626393645Z level=info msg="Migration successfully executed" id="create quota table v1" duration=461.66µs grafana | logger=migrator t=2023-12-12T11:23:27.632487034Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" 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)) grafana | logger=migrator t=2023-12-12T11:23:27.633076057Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=588.593µs grafana | logger=migrator t=2023-12-12T11:23:27.635856071Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2023-12-12T11:23:27.635871331Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=15.801µs grafana | logger=migrator t=2023-12-12T11:23:27.639823181Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2023-12-12T11:23:27.640970987Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.149436ms grafana | logger=migrator t=2023-12-12T11:23:27.648936908Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2023-12-12T11:23:27.649847319Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=910.411µs grafana | logger=migrator t=2023-12-12T11:23:27.65341254Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2023-12-12T11:23:27.657822651Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.406981ms grafana | logger=migrator t=2023-12-12T11:23:27.662146699Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2023-12-12T11:23:27.662233131Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=91.392µs grafana | logger=migrator t=2023-12-12T11:23:27.665304511Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2023-12-12T11:23:27.666198451Z level=info msg="Migration successfully executed" id="create session table" duration=892.97µs grafana | logger=migrator t=2023-12-12T11:23:27.669328093Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2023-12-12T11:23:27.669488696Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=159.893µs grafana | logger=migrator t=2023-12-12T11:23:27.673366985Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2023-12-12T11:23:27.673534168Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=169.264µs grafana | logger=migrator t=2023-12-12T11:23:27.676828373Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2023-12-12T11:23:27.67799503Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.166017ms grafana | logger=migrator t=2023-12-12T11:23:27.681444319Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2023-12-12T11:23:27.682638136Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.192848ms grafana | logger=migrator t=2023-12-12T11:23:27.685934171Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2023-12-12T11:23:27.686004242Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=70.871µs grafana | logger=migrator t=2023-12-12T11:23:27.690590247Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2023-12-12T11:23:27.690655178Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=70.931µs grafana | logger=migrator t=2023-12-12T11:23:27.69423388Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2023-12-12T11:23:27.699389667Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=5.157857ms grafana | logger=migrator t=2023-12-12T11:23:27.702537109Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2023-12-12T11:23:27.705597518Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.059689ms grafana | logger=migrator t=2023-12-12T11:23:27.742651122Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2023-12-12T11:23:27.742806056Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=163.134µs grafana | logger=migrator t=2023-12-12T11:23:27.820463674Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2023-12-12T11:23:27.82072725Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=262.966µs grafana | logger=migrator t=2023-12-12T11:23:27.936800353Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2023-12-12T11:23:27.937620271Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=822.769µs grafana | logger=migrator t=2023-12-12T11:23:27.94505272Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2023-12-12T11:23:27.945071821Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=19.801µs grafana | logger=migrator t=2023-12-12T11:23:27.949174854Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2023-12-12T11:23:27.952575482Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.403408ms grafana | logger=migrator t=2023-12-12T11:23:27.956341998Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2023-12-12T11:23:27.956617894Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=275.387µs grafana | logger=migrator t=2023-12-12T11:23:27.960089153Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2023-12-12T11:23:27.963226914Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.137391ms grafana | logger=migrator t=2023-12-12T11:23:27.967464471Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2023-12-12T11:23:27.970564251Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.09901ms grafana | logger=migrator t=2023-12-12T11:23:27.975841471Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2023-12-12T11:23:27.976111068Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=265.236µs grafana | logger=migrator t=2023-12-12T11:23:27.981284785Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2023-12-12T11:23:27.983878084Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=2.592569ms grafana | logger=migrator t=2023-12-12T11:23:27.990547496Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2023-12-12T11:23:27.991436227Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=893.16µs grafana | logger=migrator t=2023-12-12T11:23:27.995200862Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2023-12-12T11:23:27.996228226Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.026844ms grafana | logger=migrator t=2023-12-12T11:23:28.036779134Z level=info msg="Executing migration" id="add index alert org_id & id " 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 | -------------- 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 | -------------- 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) grafana | logger=migrator t=2023-12-12T11:23:28.038384667Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.605873ms grafana | logger=migrator t=2023-12-12T11:23:28.044373441Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2023-12-12T11:23:28.045862772Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.493291ms grafana | logger=migrator t=2023-12-12T11:23:28.053062432Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2023-12-12T11:23:28.054088613Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.029712ms grafana | logger=migrator t=2023-12-12T11:23:28.087454875Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2023-12-12T11:23:28.088573428Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=1.120033ms grafana | logger=migrator t=2023-12-12T11:23:28.093772716Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2023-12-12T11:23:28.095135874Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.364918ms grafana | logger=migrator t=2023-12-12T11:23:28.099391833Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2023-12-12T11:23:28.100353273Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=965.09µs grafana | logger=migrator t=2023-12-12T11:23:28.104635521Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2023-12-12T11:23:28.119143912Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=14.505071ms grafana | logger=migrator t=2023-12-12T11:23:28.128505316Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2023-12-12T11:23:28.129748232Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=1.245386ms grafana | logger=migrator t=2023-12-12T11:23:28.133081321Z 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-12T11:23:28.134685325Z 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=1.604584ms grafana | logger=migrator t=2023-12-12T11:23:28.14218591Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2023-12-12T11:23:28.142508467Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=324.277µs grafana | logger=migrator t=2023-12-12T11:23:28.147049951Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2023-12-12T11:23:28.147772776Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=726.795µs grafana | logger=migrator t=2023-12-12T11:23:28.155483356Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2023-12-12T11:23:28.156581369Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.097613ms grafana | logger=migrator t=2023-12-12T11:23:28.1653081Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2023-12-12T11:23:28.171683032Z level=info msg="Migration successfully executed" id="Add column is_default" duration=6.377382ms grafana | logger=migrator t=2023-12-12T11:23:28.178440492Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2023-12-12T11:23:28.184634151Z level=info msg="Migration successfully executed" id="Add column frequency" duration=6.191258ms grafana | logger=migrator t=2023-12-12T11:23:28.189187075Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2023-12-12T11:23:28.191774039Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=2.586494ms grafana | logger=migrator t=2023-12-12T11:23:28.198690612Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2023-12-12T11:23:28.202433Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.740038ms grafana | logger=migrator t=2023-12-12T11:23:28.208927465Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2023-12-12T11:23:28.210443196Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.512792ms grafana | logger=migrator t=2023-12-12T11:23:28.217917381Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2023-12-12T11:23:28.217962312Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=48.991µs grafana | logger=migrator t=2023-12-12T11:23:28.223229751Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2023-12-12T11:23:28.223272722Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=47.751µs grafana | logger=migrator t=2023-12-12T11:23:28.22654272Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2023-12-12T11:23:28.227295586Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=752.966µs grafana | logger=migrator t=2023-12-12T11:23:28.231330009Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-12-12T11:23:28.232112015Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=782.186µs grafana | logger=migrator t=2023-12-12T11:23:28.237252722Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2023-12-12T11:23:28.237780783Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=527.831µs grafana | logger=migrator t=2023-12-12T11:23:28.242835868Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2023-12-12T11:23:28.244226697Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.391479ms grafana | logger=migrator t=2023-12-12T11:23:28.248438904Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2023-12-12T11:23:28.249971926Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.526812ms grafana | logger=migrator t=2023-12-12T11:23:28.255110282Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2023-12-12T11:23:28.259662417Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=4.550835ms grafana | logger=migrator t=2023-12-12T11:23:28.26510776Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2023-12-12T11:23:28.270092983Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=4.982733ms 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 | grafana | logger=migrator t=2023-12-12T11:23:28.275451544Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2023-12-12T11:23:28.275695429Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=240.895µs grafana | logger=migrator t=2023-12-12T11:23:28.281615292Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2023-12-12T11:23:28.283156064Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.542722ms grafana | logger=migrator t=2023-12-12T11:23:28.290588828Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2023-12-12T11:23:28.291913856Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.324698ms grafana | logger=migrator t=2023-12-12T11:23:28.296209615Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2023-12-12T11:23:28.30221561Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=6.004774ms grafana | logger=migrator t=2023-12-12T11:23:28.307415607Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2023-12-12T11:23:28.30752309Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=108.303µs grafana | logger=migrator t=2023-12-12T11:23:28.311702806Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2023-12-12T11:23:28.313071415Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.368129ms grafana | logger=migrator t=2023-12-12T11:23:28.317089608Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2023-12-12T11:23:28.318037738Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=947.68µs grafana | logger=migrator t=2023-12-12T11:23:28.325487862Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2023-12-12T11:23:28.325610865Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=124.113µs grafana | logger=migrator t=2023-12-12T11:23:28.330744361Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2023-12-12T11:23:28.332474057Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.729276ms grafana | logger=migrator t=2023-12-12T11:23:28.338166635Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2023-12-12T11:23:28.339525563Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.357948ms grafana | logger=migrator t=2023-12-12T11:23:28.345003897Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2023-12-12T11:23:28.347349086Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=2.347249ms grafana | logger=migrator t=2023-12-12T11:23:28.352256057Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2023-12-12T11:23:28.353091045Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=834.548µs grafana | logger=migrator t=2023-12-12T11:23:28.357052637Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2023-12-12T11:23:28.357983696Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=930.129µs grafana | logger=migrator t=2023-12-12T11:23:28.365054493Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2023-12-12T11:23:28.366090794Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.032871ms grafana | logger=migrator t=2023-12-12T11:23:28.370493426Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2023-12-12T11:23:28.370550557Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=58.211µs grafana | logger=migrator t=2023-12-12T11:23:28.377203165Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2023-12-12T11:23:28.383434584Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=6.230789ms grafana | logger=migrator t=2023-12-12T11:23:28.388208343Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2023-12-12T11:23:28.38900792Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=799.287µs grafana | logger=migrator t=2023-12-12T11:23:28.39385279Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2023-12-12T11:23:28.40011066Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=6.25867ms grafana | logger=migrator t=2023-12-12T11:23:28.406141265Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2023-12-12T11:23:28.406728237Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=586.482µs grafana | logger=migrator t=2023-12-12T11:23:28.413785644Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2023-12-12T11:23:28.4155252Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.738726ms grafana | logger=migrator t=2023-12-12T11:23:28.420791969Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2023-12-12T11:23:28.422411163Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.618704ms grafana | logger=migrator t=2023-12-12T11:23:28.426571509Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2023-12-12T11:23:28.442168622Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=15.598083ms grafana | logger=migrator t=2023-12-12T11:23:28.447701277Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2023-12-12T11:23:28.448379381Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=675.454µs grafana | logger=migrator t=2023-12-12T11:23:28.454669402Z 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-12T11:23:28.455703653Z 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=1.032891ms grafana | logger=migrator t=2023-12-12T11:23:28.459859249Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2023-12-12T11:23:28.460448202Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=588.073µs grafana | logger=migrator t=2023-12-12T11:23:28.466006327Z level=info msg="Executing migration" id="drop table annotation_tag_v2" policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql 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 | -------------- grafana | logger=migrator t=2023-12-12T11:23:28.466887835Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=881.098µs grafana | logger=migrator t=2023-12-12T11:23:28.470100482Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2023-12-12T11:23:28.470269815Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=171.463µs grafana | logger=migrator t=2023-12-12T11:23:28.504531056Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2023-12-12T11:23:28.509893707Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=5.360711ms grafana | logger=migrator t=2023-12-12T11:23:28.515396081Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2023-12-12T11:23:28.519326133Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=3.928802ms grafana | logger=migrator t=2023-12-12T11:23:28.524622202Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2023-12-12T11:23:28.5254877Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=865.118µs grafana | logger=migrator t=2023-12-12T11:23:28.530168927Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2023-12-12T11:23:28.531542735Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.371338ms grafana | logger=migrator t=2023-12-12T11:23:28.537116831Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2023-12-12T11:23:28.537475048Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=356.417µs grafana | logger=migrator t=2023-12-12T11:23:28.542886961Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2023-12-12T11:23:28.549577249Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=6.689899ms grafana | logger=migrator t=2023-12-12T11:23:28.554127384Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2023-12-12T11:23:28.554979861Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=851.687µs grafana | logger=migrator t=2023-12-12T11:23:28.563695932Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2023-12-12T11:23:28.563855325Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=159.403µs grafana | logger=migrator t=2023-12-12T11:23:28.567199645Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2023-12-12T11:23:28.567819958Z level=info msg="Migration successfully executed" id="Move region to single row" duration=619.183µs grafana | logger=migrator t=2023-12-12T11:23:28.571489694Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2023-12-12T11:23:28.572718969Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.228805ms grafana | logger=migrator t=2023-12-12T11:23:28.576189381Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2023-12-12T11:23:28.576961687Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=771.856µs grafana | logger=migrator t=2023-12-12T11:23:28.581222136Z 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-12T11:23:28.582085674Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=862.918µs grafana | logger=migrator t=2023-12-12T11:23:28.58528394Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2023-12-12T11:23:28.586118967Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=834.577µs grafana | logger=migrator t=2023-12-12T11:23:28.590398446Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2023-12-12T11:23:28.591223563Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=824.817µs grafana | logger=migrator t=2023-12-12T11:23:28.595352229Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2023-12-12T11:23:28.596643426Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.290736ms grafana | logger=migrator t=2023-12-12T11:23:28.600655759Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2023-12-12T11:23:28.600752341Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=96.362µs grafana | logger=migrator t=2023-12-12T11:23:28.644485158Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2023-12-12T11:23:28.645731464Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.243936ms grafana | logger=migrator t=2023-12-12T11:23:28.652024994Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2023-12-12T11:23:28.653120707Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.097973ms grafana | logger=migrator t=2023-12-12T11:23:28.658954858Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2023-12-12T11:23:28.660283996Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.328488ms grafana | logger=migrator t=2023-12-12T11:23:28.666445143Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2023-12-12T11:23:28.667910294Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.463941ms grafana | logger=migrator t=2023-12-12T11:23:28.674291376Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2023-12-12T11:23:28.674543871Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=252.305µs grafana | logger=migrator t=2023-12-12T11:23:28.679553975Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2023-12-12T11:23:28.680096217Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=542.271µs grafana | logger=migrator t=2023-12-12T11:23:28.684945277Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2023-12-12T11:23:28.685043249Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=95.612µs grafana | logger=migrator t=2023-12-12T11:23:28.691734338Z level=info msg="Executing migration" id="create team table" 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 grafana | logger=migrator t=2023-12-12T11:23:28.692768809Z level=info msg="Migration successfully executed" id="create team table" duration=1.033881ms grafana | logger=migrator t=2023-12-12T11:23:28.698676072Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2023-12-12T11:23:28.700177583Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.500911ms grafana | logger=migrator t=2023-12-12T11:23:28.705615256Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2023-12-12T11:23:28.706977384Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.361578ms grafana | logger=migrator t=2023-12-12T11:23:28.714050801Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2023-12-12T11:23:28.721071756Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=7.019915ms grafana | logger=migrator t=2023-12-12T11:23:28.726273344Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2023-12-12T11:23:28.726441648Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=168.324µs grafana | logger=migrator t=2023-12-12T11:23:28.731163946Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2023-12-12T11:23:28.732563315Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.399679ms grafana | logger=migrator t=2023-12-12T11:23:28.738003938Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2023-12-12T11:23:28.738791024Z level=info msg="Migration successfully executed" id="create team member table" duration=788.246µs grafana | logger=migrator t=2023-12-12T11:23:28.744094584Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2023-12-12T11:23:28.744954062Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=859.318µs grafana | logger=migrator t=2023-12-12T11:23:28.750055188Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2023-12-12T11:23:28.751820714Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.767547ms grafana | logger=migrator t=2023-12-12T11:23:28.756395909Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2023-12-12T11:23:28.757248927Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=853.048µs grafana | logger=migrator t=2023-12-12T11:23:28.763804853Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2023-12-12T11:23:28.768533631Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.728428ms grafana | logger=migrator t=2023-12-12T11:23:28.776062187Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2023-12-12T11:23:28.783043042Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=6.985685ms grafana | logger=migrator t=2023-12-12T11:23:28.786895712Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2023-12-12T11:23:28.791530208Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.633666ms grafana | logger=migrator t=2023-12-12T11:23:28.80029165Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2023-12-12T11:23:28.801804481Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.516332ms grafana | logger=migrator t=2023-12-12T11:23:28.806926557Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2023-12-12T11:23:28.808381397Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.45143ms grafana | logger=migrator t=2023-12-12T11:23:28.8133037Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2023-12-12T11:23:28.81428133Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=974.091µs grafana | logger=migrator t=2023-12-12T11:23:28.817606349Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2023-12-12T11:23:28.818495527Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=888.788µs grafana | logger=migrator t=2023-12-12T11:23:28.824313558Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2023-12-12T11:23:28.825561964Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.248726ms grafana | logger=migrator t=2023-12-12T11:23:28.83164512Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2023-12-12T11:23:28.832499518Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=853.968µs grafana | logger=migrator t=2023-12-12T11:23:28.837195635Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2023-12-12T11:23:28.838562253Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.365208ms grafana | logger=migrator t=2023-12-12T11:23:28.843288971Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2023-12-12T11:23:28.84417291Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=885.219µs grafana | logger=migrator t=2023-12-12T11:23:28.84997306Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2023-12-12T11:23:28.850419849Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=447.139µs grafana | logger=migrator t=2023-12-12T11:23:28.857882694Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2023-12-12T11:23:28.858108449Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=225.885µs grafana | logger=migrator t=2023-12-12T11:23:28.953670761Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2023-12-12T11:23:28.954928147Z level=info msg="Migration successfully executed" id="create tag table" duration=1.258906ms grafana | logger=migrator t=2023-12-12T11:23:28.964010315Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2023-12-12T11:23:28.964921164Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=907.199µs grafana | logger=migrator t=2023-12-12T11:23:28.969015119Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2023-12-12T11:23:28.969675203Z level=info msg="Migration successfully executed" id="create login attempt table" duration=659.644µs grafana | logger=migrator t=2023-12-12T11:23:28.974294069Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2023-12-12T11:23:28.975190797Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=893.838µs 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 | -------------- grafana | logger=migrator t=2023-12-12T11:23:28.980938807Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2023-12-12T11:23:28.982429688Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.49035ms grafana | logger=migrator t=2023-12-12T11:23:28.990221819Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-12T11:23:29.014136273Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=23.915403ms grafana | logger=migrator t=2023-12-12T11:23:29.018768338Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2023-12-12T11:23:29.019287358Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=518.841µs grafana | logger=migrator t=2023-12-12T11:23:29.027495846Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2023-12-12T11:23:29.028824534Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.331878ms grafana | logger=migrator t=2023-12-12T11:23:29.034615782Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2023-12-12T11:23:29.035183784Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=567.602µs grafana | logger=migrator t=2023-12-12T11:23:29.040870301Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2023-12-12T11:23:29.041707718Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=836.797µs grafana | logger=migrator t=2023-12-12T11:23:29.048966597Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2023-12-12T11:23:29.049759833Z level=info msg="Migration successfully executed" id="create user auth table" duration=792.916µs grafana | logger=migrator t=2023-12-12T11:23:29.054669444Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2023-12-12T11:23:29.056417349Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.748035ms grafana | logger=migrator t=2023-12-12T11:23:29.065190419Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2023-12-12T11:23:29.065261011Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=67.422µs grafana | logger=migrator t=2023-12-12T11:23:29.070514989Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2023-12-12T11:23:29.079074534Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=8.558786ms grafana | logger=migrator t=2023-12-12T11:23:29.083382622Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2023-12-12T11:23:29.088672151Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.289619ms grafana | logger=migrator t=2023-12-12T11:23:29.09546993Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2023-12-12T11:23:29.099716097Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=4.245327ms grafana | logger=migrator t=2023-12-12T11:23:29.102552305Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2023-12-12T11:23:29.106100838Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=3.548193ms grafana | logger=migrator t=2023-12-12T11:23:29.112634622Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2023-12-12T11:23:29.113682714Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.051702ms grafana | logger=migrator t=2023-12-12T11:23:29.11936345Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2023-12-12T11:23:29.12620332Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=6.84301ms grafana | logger=migrator t=2023-12-12T11:23:29.131234843Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2023-12-12T11:23:29.13255108Z level=info msg="Migration successfully executed" id="create server_lock table" duration=1.316917ms grafana | logger=migrator t=2023-12-12T11:23:29.139460022Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2023-12-12T11:23:29.140399311Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=940.689µs grafana | logger=migrator t=2023-12-12T11:23:29.143500425Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2023-12-12T11:23:29.144616928Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.112303ms grafana | logger=migrator t=2023-12-12T11:23:29.148763423Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2023-12-12T11:23:29.150422317Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.662434ms grafana | logger=migrator t=2023-12-12T11:23:29.159705547Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2023-12-12T11:23:29.160642536Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=933.959µs grafana | logger=migrator t=2023-12-12T11:23:29.165028366Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2023-12-12T11:23:29.166025117Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=993.571µs grafana | logger=migrator t=2023-12-12T11:23:29.171624792Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2023-12-12T11:23:29.177435191Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.810209ms grafana | logger=migrator t=2023-12-12T11:23:29.183278801Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2023-12-12T11:23:29.184424694Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.145273ms grafana | logger=migrator t=2023-12-12T11:23:29.193843257Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2023-12-12T11:23:29.194613813Z level=info msg="Migration successfully executed" id="create cache_data table" duration=773.446µs grafana | logger=migrator t=2023-12-12T11:23:29.198782158Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2023-12-12T11:23:29.199479993Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=697.895µs grafana | logger=migrator t=2023-12-12T11:23:29.202880972Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2023-12-12T11:23:29.203697609Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=816.347µs policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | TRUNCATE TABLE sequence policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE statistics_sequence policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policyadmin: OK: upgrade (1300) policy-db-migrator | name version policy-db-migrator | policyadmin 1300 policy-db-migrator | ID script operation from_version to_version tag success atTime policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:35 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:35 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:35 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:35 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:35 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:35 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:35 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:35 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:35 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:35 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:35 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:35 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:35 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:35 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:35 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:35 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:35 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:36 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:36 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:36 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:36 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:36 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:36 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:36 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:36 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:36 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:36 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:36 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:36 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:36 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:36 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:36 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:36 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:36 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:36 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:36 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:36 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:36 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:36 grafana | logger=migrator t=2023-12-12T11:23:29.208746653Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2023-12-12T11:23:29.209674022Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=927.019µs grafana | logger=migrator t=2023-12-12T11:23:29.253310396Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2023-12-12T11:23:29.253387248Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=79.672µs grafana | logger=migrator t=2023-12-12T11:23:29.259179977Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2023-12-12T11:23:29.259392651Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=204.414µs grafana | logger=migrator t=2023-12-12T11:23:29.266830624Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2023-12-12T11:23:29.268688042Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.856948ms grafana | logger=migrator t=2023-12-12T11:23:29.273398018Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-12-12T11:23:29.274889129Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.491451ms grafana | logger=migrator t=2023-12-12T11:23:29.27983002Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-12-12T11:23:29.281076956Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.246426ms grafana | logger=migrator t=2023-12-12T11:23:29.285724551Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2023-12-12T11:23:29.285785152Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=61.441µs grafana | logger=migrator t=2023-12-12T11:23:29.291920488Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-12-12T11:23:29.293292946Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.372618ms grafana | logger=migrator t=2023-12-12T11:23:29.297598955Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-12-12T11:23:29.298467812Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=868.598µs grafana | logger=migrator t=2023-12-12T11:23:29.303651469Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2023-12-12T11:23:29.305146869Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.49445ms grafana | logger=migrator t=2023-12-12T11:23:29.310350396Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2023-12-12T11:23:29.311852137Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.500781ms grafana | logger=migrator t=2023-12-12T11:23:29.316600974Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2023-12-12T11:23:29.322322311Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.720537ms grafana | logger=migrator t=2023-12-12T11:23:29.329415567Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2023-12-12T11:23:29.330328346Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=912.129µs grafana | logger=migrator t=2023-12-12T11:23:29.334049172Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2023-12-12T11:23:29.334179055Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=126.622µs grafana | logger=migrator t=2023-12-12T11:23:29.375300268Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2023-12-12T11:23:29.376795498Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.49728ms grafana | logger=migrator t=2023-12-12T11:23:29.382691399Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" grafana | logger=migrator t=2023-12-12T11:23:29.383876574Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.186804ms grafana | logger=migrator t=2023-12-12T11:23:29.388014018Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" grafana | logger=migrator t=2023-12-12T11:23:29.388993628Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=979.15µs grafana | logger=migrator t=2023-12-12T11:23:29.394230126Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-12-12T11:23:29.394294887Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=65.261µs grafana | logger=migrator t=2023-12-12T11:23:29.400090726Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2023-12-12T11:23:29.4017299Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.638404ms grafana | logger=migrator t=2023-12-12T11:23:29.406895175Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2023-12-12T11:23:29.407731493Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=835.658µs grafana | logger=migrator t=2023-12-12T11:23:29.416705627Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" grafana | logger=migrator t=2023-12-12T11:23:29.418239008Z 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.532651ms grafana | logger=migrator t=2023-12-12T11:23:29.422626228Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2023-12-12T11:23:29.423827433Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.201955ms grafana | logger=migrator t=2023-12-12T11:23:29.426959007Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2023-12-12T11:23:29.432615973Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=5.656286ms grafana | logger=migrator t=2023-12-12T11:23:29.439112576Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:36 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:37 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:37 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:37 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:37 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:37 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:37 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:37 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:37 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:37 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:37 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:37 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:37 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:37 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:37 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:37 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:37 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:37 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:37 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:37 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:37 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:37 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:37 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:37 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:37 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:37 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:38 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:38 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:38 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:38 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:38 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:38 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:38 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:38 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:38 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:38 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:38 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:38 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:38 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:38 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:38 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:38 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:38 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:38 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:38 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:38 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:38 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:38 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:39 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:39 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:39 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:39 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:39 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:39 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:39 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:39 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1212231123350800u 1 2023-12-12 11:23:39 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1212231123350900u 1 2023-12-12 11:23:39 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1212231123350900u 1 2023-12-12 11:23:39 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1212231123350900u 1 2023-12-12 11:23:39 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1212231123350900u 1 2023-12-12 11:23:39 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1212231123350900u 1 2023-12-12 11:23:39 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1212231123350900u 1 2023-12-12 11:23:40 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1212231123350900u 1 2023-12-12 11:23:40 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1212231123350900u 1 2023-12-12 11:23:40 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1212231123350900u 1 2023-12-12 11:23:40 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1212231123350900u 1 2023-12-12 11:23:40 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1212231123350900u 1 2023-12-12 11:23:40 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1212231123350900u 1 2023-12-12 11:23:40 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1212231123350900u 1 2023-12-12 11:23:40 grafana | logger=migrator t=2023-12-12T11:23:29.44029764Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.184554ms grafana | logger=migrator t=2023-12-12T11:23:29.445804543Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-12-12T11:23:29.447240303Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.43549ms grafana | logger=migrator t=2023-12-12T11:23:29.455010082Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2023-12-12T11:23:29.4934321Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=38.423198ms grafana | logger=migrator t=2023-12-12T11:23:29.499361661Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2023-12-12T11:23:29.537166887Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=37.805775ms grafana | logger=migrator t=2023-12-12T11:23:29.541212209Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2023-12-12T11:23:29.541903384Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=691.015µs grafana | logger=migrator t=2023-12-12T11:23:29.546792354Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2023-12-12T11:23:29.548331725Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.538931ms grafana | logger=migrator t=2023-12-12T11:23:29.551676214Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2023-12-12T11:23:29.559105536Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=7.429362ms grafana | logger=migrator t=2023-12-12T11:23:29.562481766Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2023-12-12T11:23:29.563343353Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=861.467µs grafana | logger=migrator t=2023-12-12T11:23:29.569317996Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2023-12-12T11:23:29.570265935Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=945.579µs grafana | logger=migrator t=2023-12-12T11:23:29.573707246Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2023-12-12T11:23:29.575227267Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.516521ms grafana | logger=migrator t=2023-12-12T11:23:29.578747919Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2023-12-12T11:23:29.580404903Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.656274ms grafana | logger=migrator t=2023-12-12T11:23:29.584876945Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2023-12-12T11:23:29.584937966Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=60.901µs grafana | logger=migrator t=2023-12-12T11:23:29.587523999Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2023-12-12T11:23:29.593481791Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=5.957052ms grafana | logger=migrator t=2023-12-12T11:23:29.596759248Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2023-12-12T11:23:29.603328203Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=6.568025ms grafana | logger=migrator t=2023-12-12T11:23:29.60806546Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2023-12-12T11:23:29.613765677Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.699817ms grafana | logger=migrator t=2023-12-12T11:23:29.617448723Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2023-12-12T11:23:29.618410902Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=961.999µs grafana | logger=migrator t=2023-12-12T11:23:29.621967225Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" grafana | logger=migrator t=2023-12-12T11:23:29.623037517Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.072142ms grafana | logger=migrator t=2023-12-12T11:23:29.627931288Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2023-12-12T11:23:29.641002246Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=13.067108ms grafana | logger=migrator t=2023-12-12T11:23:29.644425806Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2023-12-12T11:23:29.650405108Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=5.978412ms grafana | logger=migrator t=2023-12-12T11:23:29.653608064Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" grafana | logger=migrator t=2023-12-12T11:23:29.654304288Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=695.914µs grafana | logger=migrator t=2023-12-12T11:23:29.660541406Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2023-12-12T11:23:29.671078272Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=10.535816ms grafana | logger=migrator t=2023-12-12T11:23:29.674139775Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2023-12-12T11:23:29.67827648Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=4.136485ms grafana | logger=migrator t=2023-12-12T11:23:29.681657559Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2023-12-12T11:23:29.681734001Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=77.942µs grafana | logger=migrator t=2023-12-12T11:23:29.685186691Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2023-12-12T11:23:29.686192942Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.006121ms grafana | logger=migrator t=2023-12-12T11:23:29.692341608Z 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 | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1212231123351000u 1 2023-12-12 11:23:40 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1212231123351000u 1 2023-12-12 11:23:40 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1212231123351000u 1 2023-12-12 11:23:40 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1212231123351000u 1 2023-12-12 11:23:40 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1212231123351000u 1 2023-12-12 11:23:40 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1212231123351000u 1 2023-12-12 11:23:40 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1212231123351000u 1 2023-12-12 11:23:40 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1212231123351000u 1 2023-12-12 11:23:40 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1212231123351000u 1 2023-12-12 11:23:41 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1212231123351100u 1 2023-12-12 11:23:41 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1212231123351200u 1 2023-12-12 11:23:41 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1212231123351200u 1 2023-12-12 11:23:41 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1212231123351200u 1 2023-12-12 11:23:41 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1212231123351200u 1 2023-12-12 11:23:41 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 1212231123351300u 1 2023-12-12 11:23:41 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 1212231123351300u 1 2023-12-12 11:23:41 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 1212231123351300u 1 2023-12-12 11:23:41 policy-db-migrator | policyadmin: OK @ 1300 grafana | logger=migrator t=2023-12-12T11:23:29.693347019Z 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.004971ms grafana | logger=migrator t=2023-12-12T11:23:29.69683351Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" grafana | logger=migrator t=2023-12-12T11:23:29.698530785Z 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.696525ms grafana | logger=migrator t=2023-12-12T11:23:29.70509137Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2023-12-12T11:23:29.705190402Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=104.373µs grafana | logger=migrator t=2023-12-12T11:23:29.709566381Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2023-12-12T11:23:29.718731509Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=9.164588ms grafana | logger=migrator t=2023-12-12T11:23:29.722026977Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2023-12-12T11:23:29.729664223Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=7.636376ms grafana | logger=migrator t=2023-12-12T11:23:29.7339032Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2023-12-12T11:23:29.739803501Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=5.900501ms grafana | logger=migrator t=2023-12-12T11:23:29.756684387Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2023-12-12T11:23:29.763257282Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.571015ms grafana | logger=migrator t=2023-12-12T11:23:29.771236206Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2023-12-12T11:23:29.781320383Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=10.082496ms grafana | logger=migrator t=2023-12-12T11:23:29.849559242Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2023-12-12T11:23:29.849885488Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=326.946µs grafana | logger=migrator t=2023-12-12T11:23:29.860065507Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2023-12-12T11:23:29.861467146Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.401039ms grafana | logger=migrator t=2023-12-12T11:23:29.873919971Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2023-12-12T11:23:29.88461268Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=10.691219ms grafana | logger=migrator t=2023-12-12T11:23:29.893316789Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2023-12-12T11:23:29.893589044Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=267.105µs grafana | logger=migrator t=2023-12-12T11:23:29.900003946Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2023-12-12T11:23:29.908428199Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=8.425013ms grafana | logger=migrator t=2023-12-12T11:23:29.912113254Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2023-12-12T11:23:29.913239177Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.125673ms grafana | logger=migrator t=2023-12-12T11:23:29.916933923Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2023-12-12T11:23:29.923365505Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.430872ms grafana | logger=migrator t=2023-12-12T11:23:29.928589602Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2023-12-12T11:23:29.929422839Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=832.827µs grafana | logger=migrator t=2023-12-12T11:23:29.932965952Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2023-12-12T11:23:29.934648476Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.674284ms grafana | logger=migrator t=2023-12-12T11:23:29.938621738Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2023-12-12T11:23:29.947873887Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=9.250359ms grafana | logger=migrator t=2023-12-12T11:23:29.953770318Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2023-12-12T11:23:29.954773349Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=1.005491ms grafana | logger=migrator t=2023-12-12T11:23:29.958484315Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2023-12-12T11:23:29.959919714Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.435879ms grafana | logger=migrator t=2023-12-12T11:23:29.967417808Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2023-12-12T11:23:29.968281886Z level=info msg="Migration successfully executed" id="create alert_image table" duration=864.708µs grafana | logger=migrator t=2023-12-12T11:23:29.972119085Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2023-12-12T11:23:29.974017054Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.897098ms grafana | logger=migrator t=2023-12-12T11:23:29.980843593Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2023-12-12T11:23:29.98115376Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=312.307µs grafana | logger=migrator t=2023-12-12T11:23:29.98507723Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2023-12-12T11:23:29.986158792Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.078332ms grafana | logger=migrator t=2023-12-12T11:23:29.98947403Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2023-12-12T11:23:29.990605004Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.130724ms grafana | logger=migrator t=2023-12-12T11:23:29.995749169Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2023-12-12T11:23:29.99625953Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2023-12-12T11:23:30.001460796Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2023-12-12T11:23:30.002325614Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=864.308µs grafana | logger=migrator t=2023-12-12T11:23:30.007296282Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2023-12-12T11:23:30.009250085Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.954623ms grafana | logger=migrator t=2023-12-12T11:23:30.014413172Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2023-12-12T11:23:30.020947009Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.533477ms grafana | logger=migrator t=2023-12-12T11:23:30.025395359Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2023-12-12T11:23:30.02629292Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=897.431µs grafana | logger=migrator t=2023-12-12T11:23:30.033494222Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2023-12-12T11:23:30.035464736Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.969964ms grafana | logger=migrator t=2023-12-12T11:23:30.04228182Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2023-12-12T11:23:30.043095838Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=813.408µs grafana | logger=migrator t=2023-12-12T11:23:30.047262892Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2023-12-12T11:23:30.048811567Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.542565ms grafana | logger=migrator t=2023-12-12T11:23:30.055267502Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2023-12-12T11:23:30.057218476Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.950584ms grafana | logger=migrator t=2023-12-12T11:23:30.063746873Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2023-12-12T11:23:30.063785274Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=39.391µs grafana | logger=migrator t=2023-12-12T11:23:30.06712728Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2023-12-12T11:23:30.067361685Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=233.545µs grafana | logger=migrator t=2023-12-12T11:23:30.070791132Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2023-12-12T11:23:30.071414906Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=623.134µs grafana | logger=migrator t=2023-12-12T11:23:30.077571745Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2023-12-12T11:23:30.079190361Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.617786ms grafana | logger=migrator t=2023-12-12T11:23:30.082931026Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2023-12-12T11:23:30.084296706Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.36724ms grafana | logger=migrator t=2023-12-12T11:23:30.087282454Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2023-12-12T11:23:30.136160325Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=48.877371ms grafana | logger=migrator t=2023-12-12T11:23:30.13904876Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2023-12-12T11:23:30.144120174Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.070704ms grafana | logger=migrator t=2023-12-12T11:23:30.148314969Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2023-12-12T11:23:30.148535834Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=220.265µs grafana | logger=migrator t=2023-12-12T11:23:30.15104534Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2023-12-12T11:23:30.198374557Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=47.329197ms grafana | logger=migrator t=2023-12-12T11:23:30.201524498Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2023-12-12T11:23:30.24646473Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=44.938762ms grafana | logger=migrator t=2023-12-12T11:23:30.276515497Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2023-12-12T11:23:30.27795733Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=1.442663ms grafana | logger=migrator t=2023-12-12T11:23:30.281774456Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2023-12-12T11:23:30.283596477Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.825092ms grafana | logger=migrator t=2023-12-12T11:23:30.287560826Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2023-12-12T11:23:30.287903064Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=341.958µs grafana | logger=migrator t=2023-12-12T11:23:30.293211573Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2023-12-12T11:23:30.294503582Z level=info msg="Migration successfully executed" id="create permission table" duration=1.290289ms grafana | logger=migrator t=2023-12-12T11:23:30.300114539Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2023-12-12T11:23:30.301856628Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.741809ms grafana | logger=migrator t=2023-12-12T11:23:30.305309496Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2023-12-12T11:23:30.306549014Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.239278ms grafana | logger=migrator t=2023-12-12T11:23:30.310500043Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2023-12-12T11:23:30.311431364Z level=info msg="Migration successfully executed" id="create role table" duration=930.831µs grafana | logger=migrator t=2023-12-12T11:23:30.315955976Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2023-12-12T11:23:30.323776212Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.819666ms grafana | logger=migrator t=2023-12-12T11:23:30.327136578Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2023-12-12T11:23:30.334878862Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.741684ms grafana | logger=migrator t=2023-12-12T11:23:30.339837774Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2023-12-12T11:23:30.34100742Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.169396ms grafana | logger=migrator t=2023-12-12T11:23:30.344315325Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2023-12-12T11:23:30.345528962Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.212907ms grafana | logger=migrator t=2023-12-12T11:23:30.348655932Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2023-12-12T11:23:30.34988567Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.229438ms grafana | logger=migrator t=2023-12-12T11:23:30.353089322Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2023-12-12T11:23:30.353960112Z level=info msg="Migration successfully executed" id="create team role table" duration=870.12µs grafana | logger=migrator t=2023-12-12T11:23:30.358605707Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2023-12-12T11:23:30.359814194Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.205737ms grafana | logger=migrator t=2023-12-12T11:23:30.363130709Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2023-12-12T11:23:30.364426068Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.294499ms grafana | logger=migrator t=2023-12-12T11:23:30.369174255Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2023-12-12T11:23:30.370923894Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.750759ms grafana | logger=migrator t=2023-12-12T11:23:30.3747352Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2023-12-12T11:23:30.37605119Z level=info msg="Migration successfully executed" id="create user role table" duration=1.315ms grafana | logger=migrator t=2023-12-12T11:23:30.380179063Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2023-12-12T11:23:30.3813714Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.191586ms grafana | logger=migrator t=2023-12-12T11:23:30.384670924Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2023-12-12T11:23:30.385967303Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.294299ms grafana | logger=migrator t=2023-12-12T11:23:30.390506025Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2023-12-12T11:23:30.391721543Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.215368ms grafana | logger=migrator t=2023-12-12T11:23:30.405549974Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2023-12-12T11:23:30.406870904Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.31945ms grafana | logger=migrator t=2023-12-12T11:23:30.410623289Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2023-12-12T11:23:30.412415309Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.79188ms grafana | logger=migrator t=2023-12-12T11:23:30.417288919Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2023-12-12T11:23:30.418519897Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.230727ms grafana | logger=migrator t=2023-12-12T11:23:30.421757879Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2023-12-12T11:23:30.433980785Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=12.217986ms grafana | logger=migrator t=2023-12-12T11:23:30.437505624Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2023-12-12T11:23:30.438331053Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=825.589µs grafana | logger=migrator t=2023-12-12T11:23:30.442974727Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2023-12-12T11:23:30.444575354Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.598766ms grafana | logger=migrator t=2023-12-12T11:23:30.448167004Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2023-12-12T11:23:30.449951625Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.784831ms grafana | logger=migrator t=2023-12-12T11:23:30.45329435Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2023-12-12T11:23:30.454435136Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.140716ms grafana | logger=migrator t=2023-12-12T11:23:30.459368597Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2023-12-12T11:23:30.46038697Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.017203ms grafana | logger=migrator t=2023-12-12T11:23:30.46396878Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2023-12-12T11:23:30.465147417Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.178217ms grafana | logger=migrator t=2023-12-12T11:23:30.468691697Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2023-12-12T11:23:30.480878151Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=12.184404ms grafana | logger=migrator t=2023-12-12T11:23:30.485830613Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2023-12-12T11:23:30.491508421Z level=info msg="Migration successfully executed" id="permission kind migration" duration=5.677348ms grafana | logger=migrator t=2023-12-12T11:23:30.494658092Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2023-12-12T11:23:30.502486088Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=7.827486ms grafana | logger=migrator t=2023-12-12T11:23:30.505714541Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2023-12-12T11:23:30.513520637Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.805626ms grafana | logger=migrator t=2023-12-12T11:23:30.518587111Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2023-12-12T11:23:30.519759857Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.173816ms grafana | logger=migrator t=2023-12-12T11:23:30.523506982Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2023-12-12T11:23:30.524463363Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=953.731µs grafana | logger=migrator t=2023-12-12T11:23:30.527788718Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2023-12-12T11:23:30.529008436Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.221328ms grafana | logger=migrator t=2023-12-12T11:23:30.533942907Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2023-12-12T11:23:30.5340711Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=127.773µs grafana | logger=migrator t=2023-12-12T11:23:30.537432396Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2023-12-12T11:23:30.537463926Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=32.47µs grafana | logger=migrator t=2023-12-12T11:23:30.540671899Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2023-12-12T11:23:30.541575899Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=903.54µs grafana | logger=migrator t=2023-12-12T11:23:30.545390095Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2023-12-12T11:23:30.546458969Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.070174ms grafana | logger=migrator t=2023-12-12T11:23:30.551654686Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2023-12-12T11:23:30.552411183Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=756.317µs grafana | logger=migrator t=2023-12-12T11:23:30.555627216Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2023-12-12T11:23:30.555908702Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=281.567µs grafana | logger=migrator t=2023-12-12T11:23:30.559172765Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2023-12-12T11:23:30.559787659Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=615.114µs grafana | logger=migrator t=2023-12-12T11:23:30.563269048Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2023-12-12T11:23:30.564557907Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.288219ms grafana | logger=migrator t=2023-12-12T11:23:30.569756154Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2023-12-12T11:23:30.570938631Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.187136ms grafana | logger=migrator t=2023-12-12T11:23:30.574496951Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2023-12-12T11:23:30.586196364Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=11.700873ms grafana | logger=migrator t=2023-12-12T11:23:30.58954752Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2023-12-12T11:23:30.589643812Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=95.672µs grafana | logger=migrator t=2023-12-12T11:23:30.594256006Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2023-12-12T11:23:30.59576467Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.507934ms grafana | logger=migrator t=2023-12-12T11:23:30.59976618Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2023-12-12T11:23:30.601783665Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=2.017055ms grafana | logger=migrator t=2023-12-12T11:23:30.606957582Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2023-12-12T11:23:30.608064987Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.107125ms grafana | logger=migrator t=2023-12-12T11:23:30.612729202Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2023-12-12T11:23:30.622682196Z level=info msg="Migration successfully executed" id="add correlation config column" duration=9.953864ms grafana | logger=migrator t=2023-12-12T11:23:30.625926069Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2023-12-12T11:23:30.626699977Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=773.448µs grafana | logger=migrator t=2023-12-12T11:23:30.630173015Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2023-12-12T11:23:30.631240749Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.066974ms grafana | logger=migrator t=2023-12-12T11:23:30.635690179Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2023-12-12T11:23:30.666618556Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=30.928547ms grafana | logger=migrator t=2023-12-12T11:23:30.670124595Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2023-12-12T11:23:30.670847951Z level=info msg="Migration successfully executed" id="create correlation v2" duration=720.956µs grafana | logger=migrator t=2023-12-12T11:23:30.675609329Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2023-12-12T11:23:30.676872737Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.261688ms grafana | logger=migrator t=2023-12-12T11:23:30.714799752Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2023-12-12T11:23:30.716816747Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=2.016425ms grafana | logger=migrator t=2023-12-12T11:23:30.722093636Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2023-12-12T11:23:30.724000009Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.904663ms grafana | logger=migrator t=2023-12-12T11:23:30.729004742Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2023-12-12T11:23:30.729321399Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=315.967µs grafana | logger=migrator t=2023-12-12T11:23:30.732892419Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2023-12-12T11:23:30.734148548Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.255409ms grafana | logger=migrator t=2023-12-12T11:23:30.738116697Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2023-12-12T11:23:30.748521821Z level=info msg="Migration successfully executed" id="add provisioning column" duration=10.405854ms grafana | logger=migrator t=2023-12-12T11:23:30.754271571Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2023-12-12T11:23:30.75512212Z level=info msg="Migration successfully executed" id="create entity_events table" duration=850.159µs grafana | logger=migrator t=2023-12-12T11:23:30.759204752Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2023-12-12T11:23:30.760193514Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=988.172µs grafana | logger=migrator t=2023-12-12T11:23:30.765085105Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-12-12T11:23:30.765630427Z 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-12T11:23:30.769467073Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-12-12T11:23:30.770007656Z 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-12T11:23:30.773834902Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2023-12-12T11:23:30.775143081Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.307129ms grafana | logger=migrator t=2023-12-12T11:23:30.779671333Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2023-12-12T11:23:30.780701346Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.025573ms grafana | logger=migrator t=2023-12-12T11:23:30.785630498Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2023-12-12T11:23:30.786810234Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.179707ms grafana | logger=migrator t=2023-12-12T11:23:30.790586989Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2023-12-12T11:23:30.791805357Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.218038ms grafana | logger=migrator t=2023-12-12T11:23:30.79594221Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-12-12T11:23:30.797838653Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.896673ms grafana | logger=migrator t=2023-12-12T11:23:30.802849495Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-12-12T11:23:30.804203076Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.355161ms grafana | logger=migrator t=2023-12-12T11:23:30.808350489Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2023-12-12T11:23:30.809167808Z level=info msg="Migration successfully executed" id="Drop public config table" duration=816.969µs grafana | logger=migrator t=2023-12-12T11:23:30.814190151Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2023-12-12T11:23:30.815262465Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.072094ms grafana | logger=migrator t=2023-12-12T11:23:30.819125492Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2023-12-12T11:23:30.820320949Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.195837ms grafana | logger=migrator t=2023-12-12T11:23:30.824970704Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2023-12-12T11:23:30.82613408Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.163396ms grafana | logger=migrator t=2023-12-12T11:23:30.829515976Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2023-12-12T11:23:30.830982079Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.464583ms grafana | logger=migrator t=2023-12-12T11:23:30.834947539Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2023-12-12T11:23:30.867878481Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=32.929761ms grafana | logger=migrator t=2023-12-12T11:23:30.872696129Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2023-12-12T11:23:30.881043187Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=8.346478ms grafana | logger=migrator t=2023-12-12T11:23:30.884503715Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2023-12-12T11:23:30.890583772Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=6.079117ms grafana | logger=migrator t=2023-12-12T11:23:30.89405015Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2023-12-12T11:23:30.894372818Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=322.227µs grafana | logger=migrator t=2023-12-12T11:23:30.897997549Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2023-12-12T11:23:30.906316347Z level=info msg="Migration successfully executed" id="add share column" duration=8.317918ms grafana | logger=migrator t=2023-12-12T11:23:30.911041223Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2023-12-12T11:23:30.91133913Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=297.487µs grafana | logger=migrator t=2023-12-12T11:23:30.91491787Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2023-12-12T11:23:30.915820011Z level=info msg="Migration successfully executed" id="create file table" duration=902.891µs grafana | logger=migrator t=2023-12-12T11:23:30.919645877Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2023-12-12T11:23:30.920824863Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.178936ms grafana | logger=migrator t=2023-12-12T11:23:30.925528809Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2023-12-12T11:23:30.926746537Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.217358ms grafana | logger=migrator t=2023-12-12T11:23:30.930704496Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2023-12-12T11:23:30.931663358Z level=info msg="Migration successfully executed" id="create file_meta table" duration=956.502µs grafana | logger=migrator t=2023-12-12T11:23:30.935470233Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2023-12-12T11:23:30.937492339Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=2.021296ms grafana | logger=migrator t=2023-12-12T11:23:30.943995936Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2023-12-12T11:23:30.944117068Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=121.233µs grafana | logger=migrator t=2023-12-12T11:23:30.950921482Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2023-12-12T11:23:30.951141687Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=217.425µs grafana | logger=migrator t=2023-12-12T11:23:30.956555608Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2023-12-12T11:23:30.95753266Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=976.302µs grafana | logger=migrator t=2023-12-12T11:23:30.965257215Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2023-12-12T11:23:30.965812607Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=484.171µs grafana | logger=migrator t=2023-12-12T11:23:30.971237889Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2023-12-12T11:23:30.972668412Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.430542ms grafana | logger=migrator t=2023-12-12T11:23:31.012197682Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2023-12-12T11:23:31.023380384Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=11.183482ms grafana | logger=migrator t=2023-12-12T11:23:31.027006356Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2023-12-12T11:23:31.027279252Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=271.496µs grafana | logger=migrator t=2023-12-12T11:23:31.031143759Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2023-12-12T11:23:31.032341266Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.197177ms grafana | logger=migrator t=2023-12-12T11:23:31.037534653Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2023-12-12T11:23:31.03828172Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=748.227µs grafana | logger=migrator t=2023-12-12T11:23:31.042011474Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2023-12-12T11:23:31.042486325Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=476.35µs grafana | logger=migrator t=2023-12-12T11:23:31.046591907Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2023-12-12T11:23:31.04717589Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=583.473µs grafana | logger=migrator t=2023-12-12T11:23:31.052437049Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2023-12-12T11:23:31.063837016Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=11.400006ms grafana | logger=migrator t=2023-12-12T11:23:31.067271633Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2023-12-12T11:23:31.073433732Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.161739ms grafana | logger=migrator t=2023-12-12T11:23:31.076766667Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2023-12-12T11:23:31.077920433Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.153836ms grafana | logger=migrator t=2023-12-12T11:23:31.082342402Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2023-12-12T11:23:31.189302942Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=106.96179ms grafana | logger=migrator t=2023-12-12T11:23:31.193248581Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2023-12-12T11:23:31.194175432Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=926.651µs grafana | logger=migrator t=2023-12-12T11:23:31.197892126Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2023-12-12T11:23:31.199474941Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.580505ms grafana | logger=migrator t=2023-12-12T11:23:31.20431262Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2023-12-12T11:23:31.240754622Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=36.441441ms grafana | logger=migrator t=2023-12-12T11:23:31.244649409Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2023-12-12T11:23:31.244858904Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=209.055µs grafana | logger=migrator t=2023-12-12T11:23:31.248348713Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2023-12-12T11:23:31.248582738Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=234.025µs grafana | logger=migrator t=2023-12-12T11:23:31.25311785Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2023-12-12T11:23:31.253622101Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=502.901µs grafana | logger=migrator t=2023-12-12T11:23:31.257739174Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2023-12-12T11:23:31.259245448Z level=info msg="Migration successfully executed" id="create folder table" duration=1.505214ms grafana | logger=migrator t=2023-12-12T11:23:31.26330916Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2023-12-12T11:23:31.264593239Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.284039ms grafana | logger=migrator t=2023-12-12T11:23:31.269281574Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2023-12-12T11:23:31.271339051Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=2.054726ms grafana | logger=migrator t=2023-12-12T11:23:31.275484034Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2023-12-12T11:23:31.275562106Z level=info msg="Migration successfully executed" id="Update folder title length" duration=77.402µs grafana | logger=migrator t=2023-12-12T11:23:31.279786521Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-12-12T11:23:31.281054409Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.267528ms grafana | logger=migrator t=2023-12-12T11:23:31.287090005Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2023-12-12T11:23:31.288919607Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.829782ms grafana | logger=migrator t=2023-12-12T11:23:31.292902626Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2023-12-12T11:23:31.294320518Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.418152ms grafana | logger=migrator t=2023-12-12T11:23:31.297836468Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2023-12-12T11:23:31.298795459Z level=info msg="Migration successfully executed" id="create anon_device table" duration=958.421µs grafana | logger=migrator t=2023-12-12T11:23:31.303486805Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2023-12-12T11:23:31.304813045Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.32596ms grafana | logger=migrator t=2023-12-12T11:23:31.308573859Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2023-12-12T11:23:31.309799187Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.225088ms grafana | logger=migrator t=2023-12-12T11:23:31.314065633Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2023-12-12T11:23:31.314914602Z level=info msg="Migration successfully executed" id="create signing_key table" duration=848.299µs grafana | logger=migrator t=2023-12-12T11:23:31.319886594Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2023-12-12T11:23:31.321821458Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.934194ms grafana | logger=migrator t=2023-12-12T11:23:31.325994262Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2023-12-12T11:23:31.327909595Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.914823ms grafana | logger=migrator t=2023-12-12T11:23:31.331822473Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2023-12-12T11:23:31.332206332Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=384.569µs grafana | logger=migrator t=2023-12-12T11:23:31.336686263Z level=info msg="migrations completed" performed=517 skipped=0 duration=4.633760923s grafana | logger=sqlstore t=2023-12-12T11:23:31.345773938Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2023-12-12T11:23:31.346148906Z level=info msg="Created default organization" grafana | logger=secrets t=2023-12-12T11:23:31.351142349Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=local.finder t=2023-12-12T11:23:31.414428904Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=query_data t=2023-12-12T11:23:31.417054744Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2023-12-12T11:23:31.420922931Z level=info msg="Live Push Gateway initialization" grafana | logger=infra.usagestats.collector t=2023-12-12T11:23:33.623665597Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2023-12-12T11:23:33.625655388Z level=info msg="inserting datasource from configuration " name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2023-12-12T11:23:33.638130113Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2023-12-12T11:23:33.638150514Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2023-12-12T11:23:33.638313457Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2023-12-12T11:23:33.638427579Z level=info msg="Warming state cache for startup" grafana | logger=ngalert.state.manager t=2023-12-12T11:23:33.639120644Z level=info msg="State cache has been initialized" states=0 duration=690.975µs grafana | logger=ngalert.scheduler t=2023-12-12T11:23:33.639180715Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2023-12-12T11:23:33.639306457Z level=info msg=starting first_tick=2023-12-12T11:23:40Z grafana | logger=ngalert.multiorg.alertmanager t=2023-12-12T11:23:33.639341768Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=http.server t=2023-12-12T11:23:33.647330932Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=sqlstore.transactions t=2023-12-12T11:23:33.655690813Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=grafana.update.checker t=2023-12-12T11:23:33.667320562Z level=info msg="Update check succeeded" duration=28.946114ms grafana | logger=ngalert.migration t=2023-12-12T11:23:33.66966194Z level=info msg=Starting grafana | logger=ngalert.migration t=2023-12-12T11:23:33.670399135Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-12-12T11:23:33.670779083Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-12-12T11:23:33.671455217Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-12-12T11:23:33.67212926Z level=warn msg="No available receivers" grafana | logger=sqlstore.transactions t=2023-12-12T11:23:33.685990425Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" grafana | logger=sqlstore.transactions t=2023-12-12T11:23:33.68818464Z level=info msg="Database locked, sleeping then retrying" error="executing migration: database is locked" retry=0 code="database is locked" grafana | logger=plugins.update.checker t=2023-12-12T11:23:33.704548965Z level=info msg="Update check succeeded" duration=65.893511ms grafana | logger=ngalert.migration t=2023-12-12T11:23:33.771059139Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-12-12T11:23:33.771575409Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-12-12T11:23:33.772182882Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-12-12T11:23:33.772798575Z level=warn msg="No available receivers" grafana | logger=ngalert.migration t=2023-12-12T11:23:33.775898838Z level=info msg="Completed legacy migration" grafana | logger=infra.usagestats t=2023-12-12T11:24:36.651497639Z level=info msg="Usage stats are ready to report" ++ 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-db-migrator ... done Removing policy-api ... done Removing prometheus ... done Removing grafana ... done Removing mariadb ... done Removing network compose_default ++ cd /w/workspace/policy-api-master-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.taaLdPN7xM ]] + rsync -av /tmp/tmp.taaLdPN7xM/ /w/workspace/policy-api-master-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,345,434 bytes received 95 bytes 2,691,058.00 bytes/sec total size is 1,344,784 speedup is 1.00 + rm -rf /w/workspace/policy-api-master-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-master-project-csit-api] $ /bin/bash /tmp/jenkins746940935186570453.sh ---> sysstat.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins2451391562522626295.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/policy-api-master-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-master-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-master-project-csit-api ']' + mkdir -p /w/workspace/policy-api-master-project-csit-api/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-master-project-csit-api/archives/ [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins7712345575563555858.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-CuMm from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-CuMm/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins18152371066921849869.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-master-project-csit-api@tmp/config4558145647478175968tmp 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-master-project-csit-api] $ /bin/bash /tmp/jenkins466061589883849118.sh ---> create-netrc.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins610665253880599825.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-CuMm from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-CuMm/bin to PATH [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins2915301421647433095.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins6555765667176763410.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-CuMm 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-CuMm/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [policy-api-master-project-csit-api] $ /bin/bash -l /tmp/jenkins5337553816413014682.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-CuMm 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-CuMm/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-master-project-csit-api/1457 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-4520 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 804 27337 0 4025 30906 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:af:64:44 brd ff:ff:ff:ff:ff:ff inet 10.30.106.243/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86040sec preferred_lft 86040sec inet6 fe80::f816:3eff:feaf:6444/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:8d:16:14:1b 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-4520) 12/12/23 _x86_64_ (8 CPU) 11:20:13 LINUX RESTART (8 CPU) 11:21:01 tps rtps wtps bread/s bwrtn/s 11:22:01 94.35 13.90 80.45 979.04 21464.96 11:23:01 123.91 23.13 100.78 2766.47 26105.92 11:24:01 378.80 15.90 362.91 824.18 75994.98 11:25:01 13.28 0.00 13.28 0.00 13536.64 11:26:01 68.62 2.05 66.57 133.31 17589.49 Average: 135.79 10.99 124.80 940.57 30937.82 11:21:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:22:01 30094500 31705528 2844720 8.64 70508 1850480 1444180 4.25 866668 1683772 128020 11:23:01 28908320 31711152 4030900 12.24 102760 2969936 1358564 4.00 944860 2709944 911188 11:24:01 26768416 30452664 6170804 18.73 127788 3778836 4435620 13.05 2291828 3424064 532 11:25:01 26803652 30489052 6135568 18.63 127980 3779524 4385476 12.90 2255844 3423984 28 11:26:01 28005672 31659152 4933548 14.98 131904 3753116 1458144 4.29 1121952 3381872 31764 Average: 28116112 31203510 4823108 14.64 112188 3226378 2616397 7.70 1496230 2924727 214306 11:21:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:22:01 ens3 53.79 36.34 843.37 6.25 0.00 0.00 0.00 0.00 11:22:01 lo 1.00 1.00 0.11 0.11 0.00 0.00 0.00 0.00 11:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:23:01 ens3 173.34 114.85 4728.32 12.84 0.00 0.00 0.00 0.00 11:23:01 lo 5.60 5.60 0.52 0.52 0.00 0.00 0.00 0.00 11:23:01 br-2f6508bb2d0f 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:24:01 vethcd6a615 0.05 0.37 0.00 0.02 0.00 0.00 0.00 0.00 11:24:01 ens3 162.84 96.77 5367.96 7.88 0.00 0.00 0.00 0.00 11:24:01 lo 4.72 4.72 1.08 1.08 0.00 0.00 0.00 0.00 11:24:01 br-2f6508bb2d0f 0.83 0.88 0.75 0.33 0.00 0.00 0.00 0.00 11:25:01 vethcd6a615 0.22 0.22 0.02 0.77 0.00 0.00 0.00 0.00 11:25:01 ens3 8.20 5.38 6.02 1.33 0.00 0.00 0.00 0.00 11:25:01 lo 9.70 9.70 7.79 7.79 0.00 0.00 0.00 0.00 11:25:01 br-2f6508bb2d0f 2.83 3.25 5.42 2.19 0.00 0.00 0.00 0.00 11:26:01 ens3 88.90 68.36 126.42 27.12 0.00 0.00 0.00 0.00 11:26:01 lo 6.72 6.72 0.59 0.59 0.00 0.00 0.00 0.00 11:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: ens3 97.41 64.34 2214.34 11.08 0.00 0.00 0.00 0.00 Average: lo 5.55 5.55 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-4520) 12/12/23 _x86_64_ (8 CPU) 11:20:13 LINUX RESTART (8 CPU) 11:21:01 CPU %user %nice %system %iowait %steal %idle 11:22:01 all 8.33 0.00 0.65 3.67 0.03 87.32 11:22:01 0 8.09 0.00 0.44 0.15 0.03 91.29 11:22:01 1 12.00 0.00 0.47 0.90 0.05 86.58 11:22:01 2 11.15 0.00 0.88 0.52 0.03 87.42 11:22:01 3 3.16 0.00 0.33 0.52 0.02 95.97 11:22:01 4 0.57 0.00 0.45 1.47 0.03 97.48 11:22:01 5 0.50 0.00 0.22 0.02 0.02 99.25 11:22:01 6 14.86 0.00 0.85 1.31 0.02 82.97 11:22:01 7 16.42 0.00 1.52 24.70 0.07 57.28 11:23:01 all 10.48 0.00 1.78 2.76 0.05 84.93 11:23:01 0 7.55 0.00 1.79 0.03 0.03 90.59 11:23:01 1 21.25 0.00 2.22 0.95 0.05 75.53 11:23:01 2 4.41 0.00 1.32 3.79 0.07 90.42 11:23:01 3 9.81 0.00 1.50 1.10 0.05 87.54 11:23:01 4 11.57 0.00 1.95 2.20 0.08 84.20 11:23:01 5 2.58 0.00 2.03 0.59 0.02 94.79 11:23:01 6 17.93 0.00 2.06 0.70 0.05 79.25 11:23:01 7 8.70 0.00 1.37 12.72 0.03 77.18 11:24:01 all 16.84 0.00 3.39 5.64 0.07 74.06 11:24:01 0 11.20 0.00 3.20 1.86 0.05 83.69 11:24:01 1 18.38 0.00 3.98 25.48 0.08 52.07 11:24:01 2 19.81 0.00 4.19 3.23 0.05 72.72 11:24:01 3 16.46 0.00 2.53 2.86 0.07 78.08 11:24:01 4 20.71 0.00 3.45 1.21 0.07 74.56 11:24:01 5 13.03 0.00 3.12 2.09 0.08 81.68 11:24:01 6 14.12 0.00 3.51 1.58 0.05 80.74 11:24:01 7 21.01 0.00 3.22 6.85 0.10 68.82 11:25:01 all 2.72 0.00 0.26 0.66 0.03 96.32 11:25:01 0 2.05 0.00 0.15 0.00 0.02 97.78 11:25:01 1 3.45 0.00 0.25 5.06 0.02 91.22 11:25:01 2 3.87 0.00 0.32 0.00 0.02 95.80 11:25:01 3 3.53 0.00 0.38 0.18 0.03 95.87 11:25:01 4 1.48 0.00 0.12 0.00 0.07 98.33 11:25:01 5 2.34 0.00 0.37 0.02 0.03 97.25 11:25:01 6 2.95 0.00 0.27 0.02 0.07 96.70 11:25:01 7 2.08 0.00 0.22 0.02 0.00 97.68 11:26:01 all 7.45 0.00 0.68 1.43 0.04 90.41 11:26:01 0 12.17 0.00 0.62 0.42 0.03 86.77 11:26:01 1 2.14 0.00 0.60 7.20 0.05 90.02 11:26:01 2 3.32 0.00 0.46 0.03 0.03 96.15 11:26:01 3 1.54 0.00 0.45 0.75 0.05 97.21 11:26:01 4 11.01 0.00 0.92 0.74 0.03 87.30 11:26:01 5 1.12 0.00 0.52 0.00 0.02 98.35 11:26:01 6 21.96 0.00 1.07 0.88 0.05 76.04 11:26:01 7 6.34 0.00 0.77 1.42 0.05 91.42 Average: all 9.15 0.00 1.35 2.83 0.05 86.63 Average: 0 8.21 0.00 1.24 0.49 0.03 90.03 Average: 1 11.43 0.00 1.50 7.88 0.05 79.14 Average: 2 8.49 0.00 1.43 1.51 0.04 88.54 Average: 3 6.89 0.00 1.04 1.08 0.04 90.95 Average: 4 9.04 0.00 1.37 1.12 0.06 88.41 Average: 5 3.90 0.00 1.25 0.54 0.03 94.29 Average: 6 14.36 0.00 1.55 0.90 0.05 83.14 Average: 7 10.88 0.00 1.42 9.10 0.05 78.55