Triggered by Gerrit: https://gerrit.onap.org/r/c/policy/docker/+/137652 Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-21503 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-master-project-csit-verify-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-O3QPCUpST4D6/agent.2114 SSH_AGENT_PID=2116 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-master-project-csit-verify-api@tmp/private_key_1040952921330939543.key (/w/workspace/policy-api-master-project-csit-verify-api@tmp/private_key_1040952921330939543.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-verify-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 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git 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/changes/52/137652/1 # timeout=30 > git rev-parse c5936fb131831992ac8da40fb56599dfb0ae1b5e^{commit} # timeout=10 JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://plugins.jenkins.io/git/#remove-git-plugin-buildsbybranch-builddata-script Checking out Revision c5936fb131831992ac8da40fb56599dfb0ae1b5e (refs/changes/52/137652/1) > git config core.sparsecheckout # timeout=10 > git checkout -f c5936fb131831992ac8da40fb56599dfb0ae1b5e # timeout=30 Commit message: "Disable drools pdp test in CSIT until drools is fixed" > git rev-parse FETCH_HEAD^{commit} # timeout=10 > git rev-list --no-walk cebb4172163dc04b43be7e34d9a4b374370492f8 # 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-verify-api] $ /bin/bash /tmp/jenkins12043320481883394683.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-LmCg 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-LmCg/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-LmCg/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.3 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.79 botocore==1.34.79 bs4==0.0.2 cachetools==5.3.3 certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.6.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.6.1 docker==4.2.2 dogpile.cache==1.3.2 email_validator==2.1.1 filelock==3.13.3 future==1.0.0 gitdb==4.0.11 GitPython==3.1.43 google-auth==2.29.0 httplib2==0.22.0 identify==2.5.35 idna==3.6 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.6.0 kubernetes==29.0.0 lftools==0.37.10 lxml==5.2.1 MarkupSafe==2.1.5 msgpack==1.0.8 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.2.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==3.0.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.1 oslo.config==9.4.0 oslo.context==5.5.0 oslo.i18n==6.3.0 oslo.log==5.5.1 oslo.serialization==5.4.0 oslo.utils==7.1.0 packaging==24.0 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.10.0 pyasn1==0.6.0 pyasn1_modules==0.4.0 pycparser==2.22 pygerrit2==2.0.15 PyGithub==2.3.0 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.5.0 python-dateutil==2.9.0.post0 python-heatclient==3.5.0 python-jenkins==1.8.2 python-keystoneclient==5.4.0 python-magnumclient==4.4.0 python-novaclient==18.6.0 python-openstackclient==6.6.0 python-swiftclient==4.5.0 PyYAML==6.0.1 referencing==0.34.0 requests==2.31.0 requests-oauthlib==2.0.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.18.0 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.1 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.2.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.4 tqdm==4.66.2 typing_extensions==4.11.0 tzdata==2024.1 urllib3==1.26.18 virtualenv==20.25.1 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 [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-verify-api] $ /bin/sh /tmp/jenkins12526632923315324455.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-verify-api] $ /bin/sh -xe /tmp/jenkins1679645139011005811.sh + /w/workspace/policy-api-master-project-csit-verify-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-verify-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-verify-api/csit:/w/workspace/policy-api-master-project-csit-verify-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-verify-api/csit:/w/workspace/policy-api-master-project-csit-verify-api/scripts:/bin + export SCRIPTS=/w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts + SCRIPTS=/w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts + export ROBOT_VARIABLES= + ROBOT_VARIABLES= + export PROJECT=api + PROJECT=api + cd /w/workspace/policy-api-master-project-csit-verify-api + rm -rf /w/workspace/policy-api-master-project-csit-verify-api/csit/archives/api + mkdir -p /w/workspace/policy-api-master-project-csit-verify-api/csit/archives/api + source_safely /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/prepare-robot-env.sh + '[' -z /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/prepare-robot-env.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/prepare-robot-env.sh ++ '[' -z /w/workspace/policy-api-master-project-csit-verify-api ']' +++ mktemp -d ++ ROBOT_VENV=/tmp/tmp.rliDVQThAx ++ echo ROBOT_VENV=/tmp/tmp.rliDVQThAx +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.rliDVQThAx ++ source /tmp/tmp.rliDVQThAx/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.rliDVQThAx +++ 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-verify-api/csit:/w/workspace/policy-api-master-project-csit-verify-api/scripts:/bin +++ PATH=/tmp/tmp.rliDVQThAx/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-verify-api/csit:/w/workspace/policy-api-master-project-csit-verify-api/scripts:/bin +++ export PATH +++ '[' -n '' ']' +++ '[' -z '' ']' +++ _OLD_VIRTUAL_PS1= +++ '[' 'x(tmp.rliDVQThAx) ' '!=' x ']' +++ PS1='(tmp.rliDVQThAx) ' +++ 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-verify-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2024.2.2 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==5.2.1 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.2 python-dateutil==2.9.0.post0 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.rliDVQThAx/src/onap ++ rm -rf /tmp/tmp.rliDVQThAx/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 'Installing python confluent-kafka library' Installing python confluent-kafka library ++ python3 -m pip install -qq confluent-kafka ++ 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.3 bitarray==2.9.2 certifi==2024.2.2 cffi==1.15.1 charset-normalizer==2.0.12 confluent-kafka==2.3.0 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==1.0.0 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==5.2.1 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.2 python-dateutil==2.9.0.post0 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.rliDVQThAx/bin/activate + '[' -z /tmp/tmp.rliDVQThAx/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.rliDVQThAx/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-verify-api/csit:/w/workspace/policy-api-master-project-csit-verify-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-verify-api/csit:/w/workspace/policy-api-master-project-csit-verify-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.rliDVQThAx ++ 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-verify-api/csit:/w/workspace/policy-api-master-project-csit-verify-api/scripts:/bin ++ PATH=/tmp/tmp.rliDVQThAx/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-verify-api/csit:/w/workspace/policy-api-master-project-csit-verify-api/scripts:/bin ++ export PATH ++ '[' -n '' ']' ++ '[' -z '' ']' ++ _OLD_VIRTUAL_PS1='(tmp.rliDVQThAx) ' ++ '[' 'x(tmp.rliDVQThAx) ' '!=' x ']' ++ PS1='(tmp.rliDVQThAx) (tmp.rliDVQThAx) ' ++ 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-verify-api/csit/resources/tests + TEST_PLAN_DIR=/w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests + export TEST_OPTIONS= + TEST_OPTIONS= ++ mktemp -d + WORKDIR=/tmp/tmp.gciYRli0em + cd /tmp/tmp.gciYRli0em + 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-verify-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-master-project-csit-verify-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-master-project-csit-verify-api/.gitreview +++ GERRIT_BRANCH=master +++ echo GERRIT_BRANCH=master GERRIT_BRANCH=master +++ rm -rf /w/workspace/policy-api-master-project-csit-verify-api/models +++ mkdir /w/workspace/policy-api-master-project-csit-verify-api/models +++ git clone -b master --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-master-project-csit-verify-api/models Cloning into '/w/workspace/policy-api-master-project-csit-verify-api/models'... +++ export DATA=/w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-master-project-csit-verify-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-verify-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-master-project-csit-verify-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-master-project-csit-verify-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-verify-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-verify-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.2-SNAPSHOT)... 3.1.2-SNAPSHOT: Pulling from onap/policy-db-migrator Digest: sha256:0199fbc8d522d470f3560bff9f935d19e3a1cda5d8c37457053c4708a1ce3230 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.1.2-SNAPSHOT Pulling api (nexus3.onap.org:10001/onap/policy-api:3.1.1)... 3.1.1: Pulling from onap/policy-api Digest: sha256:73823c235d74d2500efd44b527f0e010b15469552561a2052fab717e6646a352 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.1.1 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:dec2018ae55885fed717f25c289b8c9cff0bf5fbb9e619fb49b6161ac493c016 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:753bbb971071480d6630d3aa0d55345188c02f39456664f67c1ea443593638d0 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating prometheus ... Creating mariadb ... Creating prometheus ... done Creating grafana ... Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating grafana ... done 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-verify-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-master-project-csit-verify-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 10 seconds mariadb Up 12 seconds prometheus Up 13 seconds NAMES STATUS policy-api Up 15 seconds policy-db-migrator Up 16 seconds grafana Up 15 seconds mariadb Up 17 seconds prometheus Up 18 seconds NAMES STATUS policy-api Up 20 seconds policy-db-migrator Up 21 seconds grafana Up 20 seconds mariadb Up 22 seconds prometheus Up 23 seconds NAMES STATUS policy-api Up 25 seconds policy-db-migrator Up 26 seconds grafana Up 25 seconds mariadb Up 27 seconds prometheus Up 28 seconds NAMES STATUS policy-api Up 30 seconds grafana Up 30 seconds mariadb Up 32 seconds prometheus Up 33 seconds NAMES STATUS policy-api Up 35 seconds grafana Up 35 seconds mariadb Up 37 seconds prometheus Up 38 seconds NAMES STATUS policy-api Up 40 seconds grafana Up 40 seconds mariadb Up 42 seconds prometheus Up 43 seconds NAMES STATUS policy-api Up 45 seconds grafana Up 45 seconds mariadb Up 47 seconds prometheus Up 48 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-verify-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-verify-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-verify-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:10:36 up 4 min, 0 users, load average: 2.28, 1.06, 0.42 Tasks: 178 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.8 us, 1.9 sy, 0.0 ni, 82.8 id, 5.4 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.5G 25G 1.0M 4.2G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 45 seconds grafana Up 46 seconds mariadb Up 48 seconds prometheus Up 49 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 7dccc95cbf0f policy-api 0.13% 518MiB / 31.41GiB 1.61% 1MB / 712kB 0B / 8.19kB 56 a4cfda4d4a7d grafana 0.04% 52.53MiB / 31.41GiB 0.16% 18.5kB / 3.44kB 0B / 25MB 16 eceb26b1dc70 mariadb 0.01% 100MiB / 31.41GiB 0.31% 987kB / 1.19MB 10.9MB / 71.1MB 26 45a34dc67fb1 prometheus 0.00% 18.52MiB / 31.41GiB 0.06% 1.38kB / 0B 131kB / 0B 13 + echo + cd /tmp/tmp.gciYRli0em + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + sed 's|^|/w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests/|' + cat testplan.txt /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-verify-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-verify-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-verify-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-verify-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-verify-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-verify-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-verify-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.gciYRli0em/output.xml Log: /tmp/tmp.gciYRli0em/log.html Report: /tmp/tmp.gciYRli0em/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-verify-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 2 minutes + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:11:48 up 5 min, 0 users, load average: 0.86, 0.89, 0.41 Tasks: 171 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.5 us, 1.6 sy, 0.0 ni, 85.3 id, 4.5 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 2.0G 25G 1.0M 4.2G 28G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up 2 minutes prometheus Up 2 minutes + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 7dccc95cbf0f policy-api 0.16% 1.034GiB / 31.41GiB 3.29% 7.01MB / 2.58MB 0B / 8.19kB 58 a4cfda4d4a7d grafana 0.14% 58.45MiB / 31.41GiB 0.18% 19.2kB / 4.43kB 0B / 25MB 16 eceb26b1dc70 mariadb 0.02% 101.2MiB / 31.41GiB 0.31% 2.4MB / 7.05MB 10.9MB / 71.5MB 18 45a34dc67fb1 prometheus 0.00% 23.9MiB / 31.41GiB 0.07% 83.3kB / 7.34kB 131kB / 0B 13 + echo + source_safely /w/workspace/policy-api-master-project-csit-verify-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-master-project-csit-verify-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-verify-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-master-project-csit-verify-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-verify-api/compose ++ cd /w/workspace/policy-api-master-project-csit-verify-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-api, policy-db-migrator, grafana, mariadb, prometheus grafana | logger=settings t=2024-04-08T11:09:50.975406656Z level=info msg="Starting Grafana" version=10.4.1 commit=d94d597d847c05085542c29dfad6b3f469cc77e1 branch=v10.4.x compiled=2024-04-08T11:09:50Z grafana | logger=settings t=2024-04-08T11:09:50.975788743Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-04-08T11:09:50.975801534Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-04-08T11:09:50.975809564Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-04-08T11:09:50.975816595Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-04-08T11:09:50.975822355Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-04-08T11:09:50.975850976Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-04-08T11:09:50.975854836Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-04-08T11:09:50.975861277Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-04-08T11:09:50.975866727Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-04-08T11:09:50.975874577Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-04-08T11:09:50.975879247Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-04-08T11:09:50.975883808Z level=info msg=Target target=[all] grafana | logger=settings t=2024-04-08T11:09:50.975899218Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-04-08T11:09:50.975902918Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-04-08T11:09:50.975906109Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-04-08T11:09:50.975912489Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-04-08T11:09:50.975916369Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-04-08T11:09:50.975920729Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-04-08T11:09:50.976532657Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-04-08T11:09:50.976555978Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-04-08T11:09:50.977771642Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-04-08T11:09:50.978737167Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-04-08T11:09:50.979602245Z level=info msg="Migration successfully executed" id="create migration_log table" duration=865.429µs grafana | logger=migrator t=2024-04-08T11:09:51.028993976Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-04-08T11:09:51.032442287Z level=info msg="Migration successfully executed" id="create user table" duration=3.450422ms grafana | logger=migrator t=2024-04-08T11:09:51.205328687Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-04-08T11:09:51.206774196Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.448149ms grafana | logger=migrator t=2024-04-08T11:09:51.271584082Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-04-08T11:09:51.272808903Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.225431ms grafana | logger=migrator t=2024-04-08T11:09:51.316601323Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-04-08T11:09:51.317879136Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.281123ms grafana | logger=migrator t=2024-04-08T11:09:51.552000374Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-04-08T11:09:51.553229705Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.229301ms grafana | logger=migrator t=2024-04-08T11:09:51.589938424Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-04-08T11:09:51.59225962Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.321806ms grafana | logger=migrator t=2024-04-08T11:09:51.667381729Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-04-08T11:09:51.668216483Z level=info msg="Migration successfully executed" id="create user table v2" duration=836.374µs grafana | logger=migrator t=2024-04-08T11:09:51.702202101Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-04-08T11:09:51.702854168Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=650.436µs grafana | logger=migrator t=2024-04-08T11:09:51.776011966Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-04-08T11:09:51.791842407Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=15.832991ms grafana | logger=migrator t=2024-04-08T11:09:51.808082326Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-04-08T11:09:51.808571435Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=489.06µs grafana | logger=migrator t=2024-04-08T11:09:51.842267531Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-04-08T11:09:51.843121786Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=855.925µs grafana | logger=migrator t=2024-04-08T11:09:51.84930894Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-04-08T11:09:51.851172877Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.861517ms grafana | logger=migrator t=2024-04-08T11:09:51.85757172Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-04-08T11:09:51.857598351Z level=info msg="Migration successfully executed" id="Update user table charset" duration=25.841µs grafana | logger=migrator t=2024-04-08T11:09:51.861577875Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-04-08T11:09:51.862811496Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.23013ms grafana | logger=migrator t=2024-04-08T11:09:51.869839195Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-04-08T11:09:51.870297294Z level=info msg="Migration successfully executed" id="Add missing user data" duration=457.079µs grafana | logger=migrator t=2024-04-08T11:09:51.875290309Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-04-08T11:09:51.87749363Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=2.203601ms grafana | logger=migrator t=2024-04-08T11:09:51.892220496Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-04-08T11:09:51.893447376Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.22647ms grafana | logger=migrator t=2024-04-08T11:09:51.898002613Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-04-08T11:09:51.899842009Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.838956ms grafana | logger=migrator t=2024-04-08T11:09:51.913441818Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-04-08T11:09:51.927420363Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=13.980235ms grafana | logger=migrator t=2024-04-08T11:09:51.942543895Z level=info msg="Executing migration" id="Add uid column to user" grafana | logger=migrator t=2024-04-08T11:09:51.944494815Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=1.95093ms grafana | logger=migrator t=2024-04-08T11:09:51.947845533Z level=info msg="Executing migration" id="Update uid column values for users" grafana | logger=migrator t=2024-04-08T11:09:51.948630905Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=785.972µs grafana | logger=migrator t=2024-04-08T11:09:51.954208485Z level=info msg="Executing migration" id="Add unique index user_uid" grafana | logger=migrator t=2024-04-08T11:09:51.954999487Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=790.662µs grafana | logger=migrator t=2024-04-08T11:09:51.962374731Z level=info msg="Executing migration" id="update login field with orgid to allow for multiple service accounts with same name across orgs" grafana | logger=migrator t=2024-04-08T11:09:51.962704174Z level=info msg="Migration successfully executed" id="update login field with orgid to allow for multiple service accounts with same name across orgs" duration=328.973µs grafana | logger=migrator t=2024-04-08T11:09:51.969941882Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-04-08T11:09:51.971392871Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.450119ms grafana | logger=migrator t=2024-04-08T11:09:52.017138887Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-04-08T11:09:52.018453271Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.313224ms grafana | logger=migrator t=2024-04-08T11:09:52.072895964Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-04-08T11:09:52.074031051Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.136487ms grafana | logger=migrator t=2024-04-08T11:09:52.102408994Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-04-08T11:09:52.103484467Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.072833ms grafana | logger=migrator t=2024-04-08T11:09:52.108737101Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-04-08T11:09:52.109831965Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.095434ms grafana | logger=migrator t=2024-04-08T11:09:52.116755177Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-04-08T11:09:52.116814969Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=59.612µs grafana | logger=migrator t=2024-04-08T11:09:52.12445855Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-04-08T11:09:52.125162789Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=704.759µs grafana | logger=migrator t=2024-04-08T11:09:52.145677882Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-04-08T11:09:52.146705625Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.027913ms grafana | logger=migrator t=2024-04-08T11:09:52.160730815Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-04-08T11:09:52.161783557Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.052432ms grafana | logger=migrator t=2024-04-08T11:09:52.190948062Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-04-08T11:09:52.191966374Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.019152ms grafana | logger=migrator t=2024-04-08T11:09:52.198509Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-04-08T11:09:52.20171714Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.20784ms grafana | logger=migrator t=2024-04-08T11:09:52.217493842Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-04-08T11:09:52.218874558Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=1.380615ms grafana | logger=migrator t=2024-04-08T11:09:52.232276753Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-04-08T11:09:52.233645979Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=1.369487ms grafana | logger=migrator t=2024-04-08T11:09:52.238993866Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-04-08T11:09:52.24008182Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.087844ms grafana | logger=migrator t=2024-04-08T11:09:52.248121617Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-04-08T11:09:52.248818165Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=696.608µs grafana | logger=migrator t=2024-04-08T11:09:52.255955706Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-04-08T11:09:52.256735087Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=779.021µs grafana | logger=migrator t=2024-04-08T11:09:52.2961822Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-04-08T11:09:52.296750873Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=568.223µs grafana | logger=migrator t=2024-04-08T11:09:52.300950855Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-04-08T11:09:52.301678004Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=725.44µs grafana | logger=migrator t=2024-04-08T11:09:52.32026123Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-04-08T11:09:52.320841203Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=579.324µs grafana | logger=migrator t=2024-04-08T11:09:52.324873196Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-04-08T11:09:52.325824886Z level=info msg="Migration successfully executed" id="create star table" duration=951.11µs grafana | logger=migrator t=2024-04-08T11:09:52.331968715Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-04-08T11:09:52.333105261Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.135916ms grafana | logger=migrator t=2024-04-08T11:09:52.338359065Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-04-08T11:09:52.33948027Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.184508ms grafana | logger=migrator t=2024-04-08T11:09:52.372079935Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-04-08T11:09:52.373386269Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.306314ms grafana | logger=migrator t=2024-04-08T11:09:52.402373037Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-04-08T11:09:52.403051794Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=684.517µs grafana | logger=migrator t=2024-04-08T11:09:52.741194629Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-04-08T11:09:52.764029617Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=22.837258ms grafana | logger=migrator t=2024-04-08T11:09:52.861125975Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-04-08T11:09:52.861959388Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=833.824µs grafana | logger=migrator t=2024-04-08T11:09:52.927481961Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-04-08T11:09:52.928474772Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=994.001µs grafana | logger=migrator t=2024-04-08T11:09:53.178965659Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-04-08T11:09:53.179072382Z level=info msg="Migration successfully executed" id="Update org table charset" duration=111.194µs grafana | logger=migrator t=2024-04-08T11:09:53.192404109Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-04-08T11:09:53.192469522Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=61.632µs grafana | logger=migrator t=2024-04-08T11:09:53.2936597Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-04-08T11:09:53.293989392Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=328.472µs grafana | logger=migrator t=2024-04-08T11:09:53.310003455Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-04-08T11:09:53.311399824Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.399489ms grafana | logger=migrator t=2024-04-08T11:09:53.412101915Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-04-08T11:09:53.412933556Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=831.811µs grafana | logger=migrator t=2024-04-08T11:09:53.494109109Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-04-08T11:09:53.495430546Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.321177ms grafana | logger=migrator t=2024-04-08T11:09:53.577576833Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-04-08T11:09:53.57886493Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.287976ms grafana | logger=migrator t=2024-04-08T11:09:53.65437037Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-04-08T11:09:53.655759339Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.392369ms grafana | logger=migrator t=2024-04-08T11:09:53.725225723Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-04-08T11:09:53.726497669Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.274746ms grafana | logger=migrator t=2024-04-08T11:09:53.759953925Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-04-08T11:09:53.769511367Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=9.553132ms grafana | logger=migrator t=2024-04-08T11:09:53.861112433Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-04-08T11:09:53.862508883Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=1.395709ms grafana | logger=migrator t=2024-04-08T11:09:53.880407012Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-04-08T11:09:53.881896126Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.492644ms grafana | logger=migrator t=2024-04-08T11:09:53.917380835Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-04-08T11:09:53.919313224Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.931829ms grafana | logger=migrator t=2024-04-08T11:09:53.937538466Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-04-08T11:09:53.938056354Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=518.048µs grafana | logger=migrator t=2024-04-08T11:09:53.960869Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-04-08T11:09:53.962292221Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.422981ms grafana | logger=migrator t=2024-04-08T11:09:54.012692004Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-04-08T11:09:54.01287752Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=189.147µs grafana | logger=migrator t=2024-04-08T11:09:54.133820265Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-04-08T11:09:54.135641611Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.823936ms grafana | logger=migrator t=2024-04-08T11:09:54.148668916Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" mariadb | 2024-04-08 11:09:48+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-04-08 11:09:49+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-04-08 11:09:49+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-04-08 11:09:49+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-04-08 11:09:49 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-04-08 11:09:49 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-04-08 11:09:49 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 | 2024-04-08 11:10:00+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-04-08 11:10:00+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-04-08 11:10:00+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-04-08 11:10:00 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 96 ... mariadb | 2024-04-08 11:10:00 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-04-08 11:10:00 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-04-08 11:10:00 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-04-08 11:10:00 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-04-08 11:10:00 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-04-08 11:10:00 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-04-08 11:10:00 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-04-08 11:10:00 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-04-08 11:10:01 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-04-08 11:10:01 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-04-08 11:10:01 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-04-08 11:10:01 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-04-08 11:10:01 0 [Note] InnoDB: log sequence number 46456; transaction id 14 mariadb | 2024-04-08 11:10:01 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-04-08 11:10:01 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-04-08 11:10:01 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-04-08 11:10:01 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-04-08 11:10:01 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 | 2024-04-08 11:10:01+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-04-08 11:10:04+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-04-08 11:10:04+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2024-04-08 11:10:04+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2024-04-08 11:10:04+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;' mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2024-04-08 11:10:04+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-04-08 11:10:04 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-04-08 11:10:04 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-04-08 11:10:04 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-04-08 11:10:04 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-04-08 11:10:04 0 [Note] InnoDB: Buffer pool(s) dump completed at 240408 11:10:04 mariadb | 2024-04-08 11:10:05 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-04-08 11:10:05 0 [Note] InnoDB: Shutdown completed; log sequence number 330202; transaction id 298 mariadb | 2024-04-08 11:10:05 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-04-08 11:10:05+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-04-08 11:10:05+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-04-08 11:10:05 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-04-08 11:10:05 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-04-08 11:10:05 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-04-08 11:10:05 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-04-08 11:10:05 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-04-08 11:10:05 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-04-08 11:10:05 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-04-08 11:10:05 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-04-08 11:10:05 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-04-08 11:10:05 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-04-08 11:10:05 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-04-08 11:10:05 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-04-08 11:10:05 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-04-08 11:10:05 0 [Note] InnoDB: log sequence number 330202; transaction id 299 mariadb | 2024-04-08 11:10:05 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-04-08 11:10:05 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-04-08 11:10:05 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-04-08 11:10:05 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-04-08 11:10:05 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-04-08 11:10:05 0 [Note] Server socket created on IP: '::'. mariadb | 2024-04-08 11:10:05 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mariadb | 2024-04-08 11:10:05 0 [Note] InnoDB: Buffer pool(s) load completed at 240408 11:10:05 mariadb | 2024-04-08 11:10:05 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) mariadb | 2024-04-08 11:10:06 21 [Warning] Aborted connection 21 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) grafana | logger=migrator t=2024-04-08T11:09:54.15214411Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=3.475574ms grafana | logger=migrator t=2024-04-08T11:09:54.247187109Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-04-08T11:09:54.250301691Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=3.121423ms grafana | logger=migrator t=2024-04-08T11:09:54.300086611Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-04-08T11:09:54.301604935Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.520805ms grafana | logger=migrator t=2024-04-08T11:09:54.372889234Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-04-08T11:09:54.375950744Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=3.060239ms grafana | logger=migrator t=2024-04-08T11:09:54.385977162Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2024-04-08T11:09:54.386891635Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=913.973µs grafana | logger=migrator t=2024-04-08T11:09:54.39459241Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-04-08T11:09:54.39569973Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.1096ms grafana | logger=migrator t=2024-04-08T11:09:54.403306442Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-04-08T11:09:54.403345643Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=40.701µs grafana | logger=migrator t=2024-04-08T11:09:54.40911722Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-04-08T11:09:54.409158031Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=42.921µs grafana | logger=migrator t=2024-04-08T11:09:54.500712596Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-04-08T11:09:54.503952481Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.239886ms grafana | logger=migrator t=2024-04-08T11:09:54.604678953Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-04-08T11:09:54.60795695Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=3.280287ms grafana | logger=migrator t=2024-04-08T11:09:54.764723807Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-04-08T11:09:54.7670615Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.339234ms grafana | logger=migrator t=2024-04-08T11:09:54.819764375Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-04-08T11:09:54.823122845Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=3.35744ms grafana | logger=migrator t=2024-04-08T11:09:54.878288288Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-04-08T11:09:54.878704183Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=418.235µs grafana | logger=migrator t=2024-04-08T11:09:54.957272003Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-04-08T11:09:54.9586152Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.345098ms grafana | logger=migrator t=2024-04-08T11:09:54.992588875Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-04-08T11:09:54.993866751Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.280776ms grafana | logger=migrator t=2024-04-08T11:09:55.103020535Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-04-08T11:09:55.103079777Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=66.253µs grafana | logger=migrator t=2024-04-08T11:09:55.144875881Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-04-08T11:09:55.14653659Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.662019ms grafana | logger=migrator t=2024-04-08T11:09:55.202148449Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-04-08T11:09:55.203486137Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.336798ms grafana | logger=migrator t=2024-04-08T11:09:55.242092348Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-04-08T11:09:55.251245445Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=9.147347ms grafana | logger=migrator t=2024-04-08T11:09:55.349939235Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-04-08T11:09:55.351314394Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=1.37801ms grafana | logger=migrator t=2024-04-08T11:09:55.390642391Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-04-08T11:09:55.392021289Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.377179ms grafana | logger=migrator t=2024-04-08T11:09:55.458470346Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-04-08T11:09:55.46837669Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=9.910353ms grafana | logger=migrator t=2024-04-08T11:09:55.558727101Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-04-08T11:09:55.559297702Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=573.41µs grafana | logger=migrator t=2024-04-08T11:09:55.62246725Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-04-08T11:09:55.623366803Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=902.303µs grafana | logger=migrator t=2024-04-08T11:09:55.73543066Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-04-08T11:09:55.737511894Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.084004ms grafana | logger=migrator t=2024-04-08T11:09:55.776300341Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-04-08T11:09:55.777700662Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=1.402481ms grafana | logger=migrator t=2024-04-08T11:09:55.852940793Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-04-08T11:09:55.853322776Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=383.573µs grafana | logger=migrator t=2024-04-08T11:09:55.962143628Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-04-08T11:09:55.962382256Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=242.258µs grafana | logger=migrator t=2024-04-08T11:09:55.998285049Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-04-08T11:09:55.999636958Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.357299ms grafana | logger=migrator t=2024-04-08T11:09:56.093555357Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-04-08T11:09:56.09725892Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.704922ms grafana | logger=migrator t=2024-04-08T11:09:56.138332868Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2024-04-08T11:09:56.139903194Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.570437ms grafana | logger=migrator t=2024-04-08T11:09:56.310498615Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-04-08T11:09:56.311897245Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.399549ms grafana | logger=migrator t=2024-04-08T11:09:56.339521193Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-04-08T11:09:56.34083932Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.317748ms grafana | logger=migrator t=2024-04-08T11:09:56.351563294Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-04-08T11:09:56.352657253Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.093989ms grafana | logger=migrator t=2024-04-08T11:09:56.360531194Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-04-08T11:09:56.361692936Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.160741ms grafana | logger=migrator t=2024-04-08T11:09:56.401316412Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-04-08T11:09:56.411631712Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=10.317199ms grafana | logger=migrator t=2024-04-08T11:09:56.446369233Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-04-08T11:09:56.447825576Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=1.455233ms grafana | logger=migrator t=2024-04-08T11:09:56.498123955Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-04-08T11:09:56.499629288Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.504853ms grafana | logger=migrator t=2024-04-08T11:09:56.626513936Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-04-08T11:09:56.628070591Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.575986ms grafana | logger=migrator t=2024-04-08T11:09:56.723500864Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-04-08T11:09:56.72448093Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=980.936µs grafana | logger=migrator t=2024-04-08T11:09:56.805934652Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-04-08T11:09:56.810098931Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=4.164139ms grafana | logger=migrator t=2024-04-08T11:09:56.857440334Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-04-08T11:09:56.861091194Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=3.65097ms grafana | logger=migrator t=2024-04-08T11:09:56.931243094Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-04-08T11:09:56.931287805Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=47.101µs grafana | logger=migrator t=2024-04-08T11:09:56.966423561Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-04-08T11:09:56.966758563Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=374.593µs grafana | logger=migrator t=2024-04-08T11:09:57.146119827Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-04-08T11:09:57.150026648Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.92504ms grafana | logger=migrator t=2024-04-08T11:09:57.212255203Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-04-08T11:09:57.212556863Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=303.22µs grafana | logger=migrator t=2024-04-08T11:09:57.274051183Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-04-08T11:09:57.274296431Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=245.519µs grafana | logger=migrator t=2024-04-08T11:09:57.404369322Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-04-08T11:09:57.408327654Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.965142ms grafana | logger=migrator t=2024-04-08T11:09:57.572397311Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-04-08T11:09:57.572924871Z level=info msg="Migration successfully executed" id="Update uid value" duration=526.74µs grafana | logger=migrator t=2024-04-08T11:09:57.62043116Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-04-08T11:09:57.621923003Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.494412ms grafana | logger=migrator t=2024-04-08T11:09:57.718719525Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-04-08T11:09:57.752369128Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=33.651834ms grafana | logger=migrator t=2024-04-08T11:09:57.819162176Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-04-08T11:09:57.819960795Z level=info msg="Migration successfully executed" id="create api_key table" duration=798.879µs grafana | logger=migrator t=2024-04-08T11:09:57.973008687Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-04-08T11:09:57.974450909Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.444642ms grafana | logger=migrator t=2024-04-08T11:09:58.104078705Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-04-08T11:09:58.105442804Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.367169ms grafana | logger=migrator t=2024-04-08T11:09:58.150731593Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-04-08T11:09:58.152087982Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.356168ms grafana | logger=migrator t=2024-04-08T11:09:58.251377823Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-04-08T11:09:58.252637047Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.262704ms grafana | logger=migrator t=2024-04-08T11:09:58.343562279Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-04-08T11:09:58.344683839Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.12165ms grafana | logger=migrator t=2024-04-08T11:09:58.407009278Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-04-08T11:09:58.407948562Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=942.654µs grafana | logger=migrator t=2024-04-08T11:09:58.425307543Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-04-08T11:09:58.4355688Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=10.260748ms grafana | logger=migrator t=2024-04-08T11:09:58.512312664Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-04-08T11:09:58.513652181Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=1.342107ms grafana | logger=migrator t=2024-04-08T11:09:58.567586161Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-04-08T11:09:58.568930278Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=1.347247ms grafana | logger=migrator t=2024-04-08T11:09:58.676928101Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-04-08T11:09:58.677923606Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=998.605µs grafana | logger=migrator t=2024-04-08T11:09:58.707057368Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-04-08T11:09:58.708362435Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.306138ms grafana | logger=migrator t=2024-04-08T11:09:58.734864582Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-04-08T11:09:58.735502896Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=640.164µs grafana | logger=migrator t=2024-04-08T11:09:58.794735124Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-04-08T11:09:58.795654896Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=922.432µs grafana | logger=migrator t=2024-04-08T11:09:58.837404039Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-04-08T11:09:58.837488372Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=82.343µs grafana | logger=migrator t=2024-04-08T11:09:58.87209325Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-04-08T11:09:58.87628792Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.194361ms grafana | logger=migrator t=2024-04-08T11:09:58.883111764Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-04-08T11:09:58.885834141Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.723268ms grafana | logger=migrator t=2024-04-08T11:09:58.938355979Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-04-08T11:09:58.938695822Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=342.032µs grafana | logger=migrator t=2024-04-08T11:09:58.949243659Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-04-08T11:09:58.953810153Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=4.563053ms grafana | logger=migrator t=2024-04-08T11:09:59.109150757Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-04-08T11:09:59.113298685Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=4.150418ms grafana | logger=migrator t=2024-04-08T11:09:59.1891999Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-04-08T11:09:59.190620941Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=1.42349ms grafana | logger=migrator t=2024-04-08T11:09:59.247352479Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-04-08T11:09:59.248155139Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=803.369µs grafana | logger=migrator t=2024-04-08T11:09:59.270985435Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-04-08T11:09:59.27226926Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.283775ms grafana | logger=migrator t=2024-04-08T11:09:59.27727813Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-04-08T11:09:59.278605967Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.327647ms grafana | logger=migrator t=2024-04-08T11:09:59.311647908Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-04-08T11:09:59.31337124Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.722442ms grafana | logger=migrator t=2024-04-08T11:09:59.320851798Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-04-08T11:09:59.322149494Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.295856ms grafana | logger=migrator t=2024-04-08T11:09:59.364303252Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-04-08T11:09:59.364463207Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=165.146µs grafana | logger=migrator t=2024-04-08T11:09:59.413718449Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-04-08T11:09:59.413758551Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=41.662µs grafana | logger=migrator t=2024-04-08T11:09:59.471991592Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-04-08T11:09:59.476638939Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.649607ms grafana | logger=migrator t=2024-04-08T11:09:59.510082885Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-04-08T11:09:59.514482213Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=4.399377ms grafana | logger=migrator t=2024-04-08T11:09:59.564931477Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-04-08T11:09:59.56503514Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=103.453µs grafana | logger=migrator t=2024-04-08T11:09:59.571550733Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-04-08T11:09:59.572822128Z level=info msg="Migration successfully executed" id="create quota table v1" duration=1.271695ms grafana | logger=migrator t=2024-04-08T11:09:59.614489148Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2024-04-08T11:09:59.615374091Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=885.392µs grafana | logger=migrator t=2024-04-08T11:09:59.624278039Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2024-04-08T11:09:59.62430396Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=26.851µs grafana | logger=migrator t=2024-04-08T11:09:59.650486626Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2024-04-08T11:09:59.651689119Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.203373ms grafana | logger=migrator t=2024-04-08T11:09:59.703931357Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2024-04-08T11:09:59.70569404Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.761363ms grafana | logger=migrator t=2024-04-08T11:09:59.712492353Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2024-04-08T11:09:59.71744293Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.950467ms grafana | logger=migrator t=2024-04-08T11:09:59.780370811Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2024-04-08T11:09:59.780412503Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=43.591µs grafana | logger=migrator t=2024-04-08T11:09:59.807135708Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2024-04-08T11:09:59.807911875Z level=info msg="Migration successfully executed" id="create session table" duration=775.927µs grafana | logger=migrator t=2024-04-08T11:09:59.819631505Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2024-04-08T11:09:59.819706178Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=74.983µs grafana | logger=migrator t=2024-04-08T11:09:59.90899042Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2024-04-08T11:09:59.909079394Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=96.375µs grafana | logger=migrator t=2024-04-08T11:09:59.978769985Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-04-08T11:09:59.97944666Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=677.035µs grafana | logger=migrator t=2024-04-08T11:09:59.992387872Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2024-04-08T11:09:59.993033985Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=646.553µs grafana | logger=migrator t=2024-04-08T11:10:00.029632135Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2024-04-08T11:10:00.029734709Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=104.573µs grafana | logger=migrator t=2024-04-08T11:10:00.078113168Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2024-04-08T11:10:00.07816121Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=52.122µs grafana | logger=migrator t=2024-04-08T11:10:00.095962066Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2024-04-08T11:10:00.099162071Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=3.195654ms grafana | logger=migrator t=2024-04-08T11:10:00.35726034Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2024-04-08T11:10:00.362228898Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=4.968278ms grafana | logger=migrator t=2024-04-08T11:10:00.458082686Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2024-04-08T11:10:00.458279984Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=202.169µs grafana | logger=migrator t=2024-04-08T11:10:00.546805529Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2024-04-08T11:10:00.546988735Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=183.326µs grafana | logger=migrator t=2024-04-08T11:10:00.709202566Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2024-04-08T11:10:00.710754422Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.553586ms grafana | logger=migrator t=2024-04-08T11:10:00.803632604Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2024-04-08T11:10:00.803694456Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=65.833µs grafana | logger=migrator t=2024-04-08T11:10:00.854208832Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2024-04-08T11:10:00.859257843Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=5.047081ms grafana | logger=migrator t=2024-04-08T11:10:00.893546859Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-04-08T11:10:00.893843669Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=299.98µs grafana | logger=migrator t=2024-04-08T11:10:00.961983056Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2024-04-08T11:10:00.967067178Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=5.086373ms grafana | logger=migrator t=2024-04-08T11:10:01.209839045Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2024-04-08T11:10:01.215780889Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=5.939043ms grafana | logger=migrator t=2024-04-08T11:10:01.234962577Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2024-04-08T11:10:01.23505747Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=98.533µs grafana | logger=migrator t=2024-04-08T11:10:01.314875904Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2024-04-08T11:10:01.316201012Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.327959ms grafana | logger=migrator t=2024-04-08T11:10:01.431789409Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2024-04-08T11:10:01.433563403Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.778044ms grafana | logger=migrator t=2024-04-08T11:10:01.494026832Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2024-04-08T11:10:01.495096261Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.069499ms grafana | logger=migrator t=2024-04-08T11:10:01.63082112Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2024-04-08T11:10:01.632452219Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.632079ms grafana | logger=migrator t=2024-04-08T11:10:01.65702945Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-04-08T11:10:01.658624578Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.592457ms grafana | logger=migrator t=2024-04-08T11:10:01.682161502Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-04-08T11:10:01.683647966Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.490623ms grafana | logger=migrator t=2024-04-08T11:10:01.694757064Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-04-08T11:10:01.695461869Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=702.415µs grafana | logger=migrator t=2024-04-08T11:10:01.739760069Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-04-08T11:10:01.741271884Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.507194ms grafana | logger=migrator t=2024-04-08T11:10:01.781807478Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-04-08T11:10:01.78273495Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=928.623µs grafana | logger=migrator t=2024-04-08T11:10:01.795733807Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-04-08T11:10:01.806272206Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=10.538498ms grafana | logger=migrator t=2024-04-08T11:10:01.818859267Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2024-04-08T11:10:01.819913555Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=1.054588ms grafana | logger=migrator t=2024-04-08T11:10:01.859436133Z 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=2024-04-08T11:10:01.860899545Z 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.464392ms grafana | logger=migrator t=2024-04-08T11:10:01.88946534Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2024-04-08T11:10:01.889985029Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=519.309µs grafana | logger=migrator t=2024-04-08T11:10:01.924227308Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2024-04-08T11:10:01.925245224Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=1.017306ms grafana | logger=migrator t=2024-04-08T11:10:02.032498772Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2024-04-08T11:10:02.03409361Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.595827ms grafana | logger=migrator t=2024-04-08T11:10:02.152162526Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2024-04-08T11:10:02.158498603Z level=info msg="Migration successfully executed" id="Add column is_default" duration=6.334377ms grafana | logger=migrator t=2024-04-08T11:10:02.202086447Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2024-04-08T11:10:02.205019702Z level=info msg="Migration successfully executed" id="Add column frequency" duration=2.934005ms grafana | logger=migrator t=2024-04-08T11:10:02.377112148Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2024-04-08T11:10:02.383835088Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=6.722642ms grafana | logger=migrator t=2024-04-08T11:10:02.42932558Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2024-04-08T11:10:02.431967905Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=2.645055ms grafana | logger=migrator t=2024-04-08T11:10:02.477476798Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-04-08T11:10:02.478893329Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.416851ms grafana | logger=migrator t=2024-04-08T11:10:02.552332684Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2024-04-08T11:10:02.552381996Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=53.092µs grafana | logger=migrator t=2024-04-08T11:10:02.571822353Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2024-04-08T11:10:02.571910526Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=92.603µs grafana | logger=migrator t=2024-04-08T11:10:02.616422564Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2024-04-08T11:10:02.617811353Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.389289ms grafana | logger=migrator t=2024-04-08T11:10:02.672476165Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-04-08T11:10:02.673578174Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.102599ms grafana | logger=migrator t=2024-04-08T11:10:02.784055168Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2024-04-08T11:10:02.78522341Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.169552ms grafana | logger=migrator t=2024-04-08T11:10:02.806588377Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2024-04-08T11:10:02.807963936Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.377789ms grafana | logger=migrator t=2024-04-08T11:10:02.852508244Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-04-08T11:10:02.853619395Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.112511ms grafana | logger=migrator t=2024-04-08T11:10:02.881955071Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2024-04-08T11:10:02.887562752Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=5.606441ms grafana | logger=migrator t=2024-04-08T11:10:02.924139655Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2024-04-08T11:10:02.932029088Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=7.887053ms grafana | logger=migrator t=2024-04-08T11:10:03.020545563Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2024-04-08T11:10:03.021086583Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=543.269µs grafana | logger=migrator t=2024-04-08T11:10:03.048745685Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2024-04-08T11:10:03.050516319Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.772814ms grafana | logger=migrator t=2024-04-08T11:10:03.123209477Z level=info msg="Executing migration" id="Remove unique index org_id_name" policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb (172.17.0.2) 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) grafana | logger=migrator t=2024-04-08T11:10:03.124873106Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.666469ms policy-api | Waiting for mariadb port 3306... policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.128473126Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" policy-api | mariadb (172.17.0.2:3306) open policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.133258817Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=4.783371ms prometheus | ts=2024-04-08T11:09:47.910Z caller=main.go:573 level=info msg="No time or size retention was set so using the default time retention" duration=15d policy-api | Waiting for policy-db-migrator port 6824... policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.136858777Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" prometheus | ts=2024-04-08T11:09:47.910Z caller=main.go:617 level=info msg="Starting Prometheus Server" mode=server version="(version=2.51.1, branch=HEAD, revision=855b5ac4b80956874eb1790a04c92327f2f99e38)" policy-api | policy-db-migrator (172.17.0.5:6824) open policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-04-08T11:10:03.137001532Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=143.595µs prometheus | ts=2024-04-08T11:09:47.910Z caller=main.go:622 level=info build_context="(go=go1.22.1, platform=linux/amd64, user=root@d3785d7783f2, date=20240328-09:27:30, tags=netgo,builtinassets,stringlabels)" policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.140254999Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" prometheus | ts=2024-04-08T11:09:47.910Z caller=main.go:623 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-api | 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) grafana | logger=migrator t=2024-04-08T11:10:03.141320027Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.064988ms prometheus | ts=2024-04-08T11:09:47.910Z caller=main.go:624 level=info fd_limits="(soft=1048576, hard=1048576)" policy-api | . ____ _ __ _ _ policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.144242761Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" prometheus | ts=2024-04-08T11:09:47.910Z caller=main.go:625 level=info vm_limits="(soft=unlimited, hard=unlimited)" policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.145381723Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.139082ms prometheus | ts=2024-04-08T11:09:47.914Z caller=web.go:568 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.148836757Z level=info msg="Executing migration" id="Drop old annotation table v4" prometheus | ts=2024-04-08T11:09:47.915Z caller=main.go:1129 level=info msg="Starting TSDB ..." policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql grafana | logger=migrator t=2024-04-08T11:10:03.148998082Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=161.335µs prometheus | ts=2024-04-08T11:09:47.917Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.152989845Z level=info msg="Executing migration" id="create annotation table v5" prometheus | ts=2024-04-08T11:09:47.917Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 policy-api | =========|_|==============|___/=/_/_/_/ 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) grafana | logger=migrator t=2024-04-08T11:10:03.154473289Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.484404ms prometheus | ts=2024-04-08T11:09:47.925Z caller=head.go:616 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" policy-api | :: Spring Boot :: (v3.1.8) policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.164199917Z level=info msg="Executing migration" id="add index annotation 0 v3" prometheus | ts=2024-04-08T11:09:47.925Z caller=head.go:698 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.54µs policy-api | policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.165304218Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.107071ms prometheus | ts=2024-04-08T11:09:47.925Z caller=head.go:706 level=info component=tsdb msg="Replaying WAL, this may take a while" policy-api | [2024-04-08T11:10:19.476+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.10 with PID 36 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.168089708Z level=info msg="Executing migration" id="add index annotation 1 v3" prometheus | ts=2024-04-08T11:09:47.926Z caller=head.go:778 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 policy-api | [2024-04-08T11:10:19.478+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql grafana | logger=migrator t=2024-04-08T11:10:03.168962179Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=871.951µs prometheus | ts=2024-04-08T11:09:47.926Z caller=head.go:815 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=128.337µs wal_replay_duration=399.453µs wbl_replay_duration=170ns total_replay_duration=577.383µs policy-api | [2024-04-08T11:10:21.352+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.17178001Z level=info msg="Executing migration" id="add index annotation 2 v3" prometheus | ts=2024-04-08T11:09:47.929Z caller=main.go:1150 level=info fs_type=EXT4_SUPER_MAGIC policy-api | [2024-04-08T11:10:21.489+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 121 ms. Found 6 JPA repository interfaces. 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) grafana | logger=migrator t=2024-04-08T11:10:03.17264386Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=865.68µs prometheus | ts=2024-04-08T11:09:47.929Z caller=main.go:1153 level=info msg="TSDB started" policy-api | [2024-04-08T11:10:22.069+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-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.175122279Z level=info msg="Executing migration" id="add index annotation 3 v3" prometheus | ts=2024-04-08T11:09:47.929Z caller=main.go:1335 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml policy-api | [2024-04-08T11:10:22.070+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-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.176091385Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=968.966µs prometheus | ts=2024-04-08T11:09:47.930Z caller=main.go:1372 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.286544ms db_storage=1.4µs remote_storage=2.39µs web_handler=850ns query_engine=1.21µs scrape=249.934µs scrape_sd=303.878µs notify=33.592µs notify_sd=12.33µs rules=2.101µs tracing=6.14µs policy-api | [2024-04-08T11:10:22.897+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.179184626Z level=info msg="Executing migration" id="add index annotation 4 v3" prometheus | ts=2024-04-08T11:09:47.930Z caller=main.go:1114 level=info msg="Server is ready to receive web requests." policy-api | [2024-04-08T11:10:22.906+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql grafana | logger=migrator t=2024-04-08T11:10:03.180120709Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=936.173µs prometheus | ts=2024-04-08T11:09:47.930Z caller=manager.go:163 level=info component="rule manager" msg="Starting rule manager..." policy-api | [2024-04-08T11:10:22.908+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.183356425Z level=info msg="Executing migration" id="Update annotation table charset" policy-api | [2024-04-08T11:10:22.908+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.18] 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) grafana | logger=migrator t=2024-04-08T11:10:03.183411987Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=57.832µs policy-api | [2024-04-08T11:10:23.054+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.22362275Z level=info msg="Executing migration" id="Add column region_id to annotation table" policy-api | [2024-04-08T11:10:23.054+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 3510 ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.231024495Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=7.405255ms policy-api | [2024-04-08T11:10:23.558+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.23395922Z level=info msg="Executing migration" id="Drop category_id index" policy-api | [2024-04-08T11:10:23.635+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql grafana | logger=migrator t=2024-04-08T11:10:03.234665037Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=705.857µs policy-api | [2024-04-08T11:10:23.638+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.23672966Z level=info msg="Executing migration" id="Add column tags to annotation table" policy-api | [2024-04-08T11:10:23.681+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled 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) grafana | logger=migrator t=2024-04-08T11:10:03.240108792Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=3.377872ms policy-api | [2024-04-08T11:10:24.026+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.242937343Z level=info msg="Executing migration" id="Create annotation_tag table v2" policy-api | [2024-04-08T11:10:24.045+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.243810984Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=874.671µs policy-api | [2024-04-08T11:10:24.150+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@63b3ee82 policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.246599315Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" policy-api | [2024-04-08T11:10:24.152+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql grafana | logger=migrator t=2024-04-08T11:10:03.247794887Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.195803ms policy-api | [2024-04-08T11:10:26.247+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.251058204Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" policy-api | [2024-04-08T11:10:26.251+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-08T11:10:03.252218886Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.159882ms policy-api | [2024-04-08T11:10:27.521+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-db-migrator | -------------- policy-api | [2024-04-08T11:10:29.106+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] grafana | logger=migrator t=2024-04-08T11:10:03.256147877Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" policy-db-migrator | policy-api | [2024-04-08T11:10:30.691+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 grafana | logger=migrator t=2024-04-08T11:10:03.266691335Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=10.544388ms policy-db-migrator | policy-api | [2024-04-08T11:10:30.925+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@6f3a8d5e, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@680f7a5e, org.springframework.security.web.context.SecurityContextHolderFilter@56d3e4a9, org.springframework.security.web.header.HeaderWriterFilter@36c6d53b, org.springframework.security.web.authentication.logout.LogoutFilter@3341ba8e, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@2f84848e, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@2542d320, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@66161fee, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@3005133e, org.springframework.security.web.access.ExceptionTranslationFilter@69cf9acb, org.springframework.security.web.access.intercept.AuthorizationFilter@58a01e47] grafana | logger=migrator t=2024-04-08T11:10:03.269852149Z level=info msg="Executing migration" id="Create annotation_tag table v3" policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-api | [2024-04-08T11:10:31.755+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' grafana | logger=migrator t=2024-04-08T11:10:03.270597295Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=744.637µs policy-db-migrator | -------------- policy-api | [2024-04-08T11:10:31.846+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] grafana | logger=migrator t=2024-04-08T11:10:03.273334243Z 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" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-api | [2024-04-08T11:10:31.868+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' grafana | logger=migrator t=2024-04-08T11:10:03.274157403Z 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=822.82µs policy-db-migrator | -------------- policy-api | [2024-04-08T11:10:31.887+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 13.135 seconds (process running for 13.753) grafana | logger=migrator t=2024-04-08T11:10:03.276915112Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" policy-db-migrator | policy-api | [2024-04-08T11:10:39.896+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' grafana | logger=migrator t=2024-04-08T11:10:03.277222623Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=307.101µs policy-db-migrator | policy-api | [2024-04-08T11:10:39.896+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' grafana | logger=migrator t=2024-04-08T11:10:03.280028824Z level=info msg="Executing migration" id="drop table annotation_tag_v2" policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-api | [2024-04-08T11:10:39.898+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms grafana | logger=migrator t=2024-04-08T11:10:03.280592084Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=562.38µs policy-db-migrator | -------------- policy-api | [2024-04-08T11:10:43.078+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-5] ***** OrderedServiceImpl implementers: grafana | logger=migrator t=2024-04-08T11:10:03.283478418Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" 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-api | [] grafana | logger=migrator t=2024-04-08T11:10:03.283659064Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=180.367µs policy-db-migrator | -------------- policy-api | [2024-04-08T11:10:43.206+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes grafana | logger=migrator t=2024-04-08T11:10:03.286191725Z level=info msg="Executing migration" id="Add created time to annotation table" policy-db-migrator | policy-api | [2024-04-08T11:10:43.447+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes grafana | logger=migrator t=2024-04-08T11:10:03.289983871Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=3.791326ms policy-db-migrator | policy-api | [2024-04-08T11:10:44.694+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies grafana | logger=migrator t=2024-04-08T11:10:03.292715909Z level=info msg="Executing migration" id="Add updated time to annotation table" policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-api | [2024-04-08T11:10:47.046+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 grafana | logger=migrator t=2024-04-08T11:10:03.296507505Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=3.790896ms policy-db-migrator | -------------- policy-api | [2024-04-08T11:10:47.367+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 grafana | logger=migrator t=2024-04-08T11:10:03.299239653Z level=info msg="Executing migration" id="Add index for created in annotation table" 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-api | [2024-04-08T11:10:47.605+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 grafana | logger=migrator t=2024-04-08T11:10:03.300078263Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=838.25µs policy-db-migrator | -------------- policy-api | [2024-04-08T11:10:47.847+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 grafana | logger=migrator t=2024-04-08T11:10:03.302964497Z level=info msg="Executing migration" id="Add index for updated in annotation table" policy-db-migrator | policy-api | [2024-04-08T11:10:48.094+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 grafana | logger=migrator t=2024-04-08T11:10:03.303786146Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=821.529µs policy-db-migrator | policy-api | [2024-04-08T11:10:48.317+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2024-04-08T11:10:03.306616738Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql grafana | logger=migrator t=2024-04-08T11:10:03.306878867Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=264µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.308983853Z level=info msg="Executing migration" id="Add epoch_end column" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-08T11:10:03.312855592Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=3.871359ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.316642008Z level=info msg="Executing migration" id="Add index for epoch_end" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.317495088Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=853µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.320288048Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql grafana | logger=migrator t=2024-04-08T11:10:03.320460504Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=172.026µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.323304546Z level=info msg="Executing migration" id="Move region to single row" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-08T11:10:03.323712651Z level=info msg="Migration successfully executed" id="Move region to single row" duration=408.115µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.326536932Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.327341822Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=804.56µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.330133612Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql grafana | logger=migrator t=2024-04-08T11:10:03.330967982Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=833.869µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.33342116Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-08T11:10:03.33426447Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=842.8µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.33735694Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.338188661Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=832.211µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.341956256Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql grafana | logger=migrator t=2024-04-08T11:10:03.342776515Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=820.209µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.345736961Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" 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) grafana | logger=migrator t=2024-04-08T11:10:03.346569682Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=832.091µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.349483926Z level=info msg="Executing migration" id="Increase tags column to length 4096" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.349541128Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=57.592µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.352361129Z level=info msg="Executing migration" id="create test_data table" policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-04-08T11:10:03.353188579Z level=info msg="Migration successfully executed" id="create test_data table" duration=829.09µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.35601912Z level=info msg="Executing migration" id="create dashboard_version table v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-08T11:10:03.356806978Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=787.538µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.359790015Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.360628646Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=838.281µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.363912124Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql grafana | logger=migrator t=2024-04-08T11:10:03.365599744Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.68634ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.368834221Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2024-04-08T11:10:03.36909003Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=255.329µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-08T11:10:03.37217594Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.372604546Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=428.166µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.375551921Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.375620044Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=68.743µs policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql grafana | logger=migrator t=2024-04-08T11:10:03.378342281Z level=info msg="Executing migration" id="create team table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.379490752Z level=info msg="Migration successfully executed" id="create team table" duration=1.146831ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-08T11:10:03.382753839Z level=info msg="Executing migration" id="add index team.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.383902991Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.148932ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.387179218Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.388202935Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.023347ms policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql grafana | logger=migrator t=2024-04-08T11:10:03.391568446Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.396234953Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.665927ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-08T11:10:03.399387936Z level=info msg="Executing migration" id="Update uid column values in team" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.399662947Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=274.551µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.402698316Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.403753163Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.054657ms policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql grafana | logger=migrator t=2024-04-08T11:10:03.406897076Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.407744256Z level=info msg="Migration successfully executed" id="create team member table" duration=846.7µs 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=2024-04-08T11:10:03.410936221Z level=info msg="Executing migration" id="add index team_member.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.411874235Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=937.994µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.414777969Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.415755203Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=976.804µs policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql grafana | logger=migrator t=2024-04-08T11:10:03.593239772Z level=info msg="Executing migration" id="add index team_member.team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.594493657Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.256965ms 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=2024-04-08T11:10:03.598807792Z level=info msg="Executing migration" id="Add column email to team table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.605116468Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=6.308736ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.6082439Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.613087734Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.845904ms policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-04-08T11:10:03.616491886Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.62133526Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.839964ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-04-08T11:10:03.624726942Z level=info msg="Executing migration" id="create dashboard acl table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.625776299Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.048797ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.628489586Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.629469082Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=979.366µs policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql grafana | logger=migrator t=2024-04-08T11:10:03.632600034Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.634768611Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=2.168727ms 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=2024-04-08T11:10:03.639719389Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.64138992Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.669611ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.644866324Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.645844389Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=978.065µs policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql grafana | logger=migrator t=2024-04-08T11:10:03.649365946Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.650466365Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.099979ms 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=2024-04-08T11:10:03.653291166Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.65422823Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=937.134µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.657273849Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.658239004Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=965.545µs policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-04-08T11:10:03.661085876Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.661620695Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=534.109µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.664352033Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.664634673Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=282.34µs policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-04-08T11:10:03.667298619Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.66844935Z level=info msg="Migration successfully executed" id="create tag table" duration=1.148601ms 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=2024-04-08T11:10:03.672018529Z level=info msg="Executing migration" id="add index tag.key_value" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.67373803Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.720091ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.677498305Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.678908165Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.41113ms policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql grafana | logger=migrator t=2024-04-08T11:10:03.682747924Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.68460795Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.859806ms 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=2024-04-08T11:10:03.688613454Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.689570058Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=956.594µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.693629403Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.709041277Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=15.411804ms policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql grafana | logger=migrator t=2024-04-08T11:10:03.712131608Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.712729789Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=597.791µs 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=2024-04-08T11:10:03.716558887Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.717607914Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.048847ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.720694215Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.721097029Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=404.284µs policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql grafana | logger=migrator t=2024-04-08T11:10:03.724223461Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.724925887Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=704.026µ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=2024-04-08T11:10:03.76821315Z level=info msg="Executing migration" id="create user auth table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.76959986Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.38638ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.774203355Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.775812113Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.608758ms policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql grafana | logger=migrator t=2024-04-08T11:10:03.779120901Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.779208004Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=86.343µs 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=2024-04-08T11:10:03.782594946Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.787642277Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.042981ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.791964773Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.796956431Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=4.991119ms policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql grafana | logger=migrator t=2024-04-08T11:10:03.831523682Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.837959162Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=6.43064ms 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=2024-04-08T11:10:03.92819961Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.934095932Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.899531ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.939812517Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.940851855Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.039357ms policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql grafana | logger=migrator t=2024-04-08T11:10:03.945031684Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.95465257Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=9.622106ms 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=2024-04-08T11:10:03.958481767Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.959339827Z level=info msg="Migration successfully executed" id="create server_lock table" duration=859.71µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.963478276Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:03.965361863Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.884367ms policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql grafana | logger=migrator t=2024-04-08T11:10:03.991491041Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:03.993642109Z level=info msg="Migration successfully executed" id="create user auth token table" duration=2.151858ms 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=2024-04-08T11:10:03.99870255Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.000307028Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.601438ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.006818671Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.007811997Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=993.306µs policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql grafana | logger=migrator t=2024-04-08T11:10:04.012718592Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.014534178Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.815256ms 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) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.019410753Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.025368837Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.954704ms policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql grafana | logger=migrator t=2024-04-08T11:10:04.030387747Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.031426434Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.038897ms 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=2024-04-08T11:10:04.034615098Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.035551613Z level=info msg="Migration successfully executed" id="create cache_data table" duration=935.384µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.038814379Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.03995831Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.143781ms policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2024-04-08T11:10:04.045501119Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.046631359Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.12954ms 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=2024-04-08T11:10:04.050997286Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.052619935Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.622269ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.056355169Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.056520864Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=164.896µs policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2024-04-08T11:10:04.061196593Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.061318957Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=121.875µs 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=2024-04-08T11:10:04.064489871Z level=info msg="Executing migration" id="recreate alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.065500896Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.010326ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.068477903Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.070155154Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.678111ms policy-db-migrator | > upgrade 0460-pdppolicystatus.sql grafana | logger=migrator t=2024-04-08T11:10:04.074733447Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.075787546Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.055279ms 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=2024-04-08T11:10:04.07925485Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.079354254Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=98.533µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.084164646Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.085725152Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.560166ms policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2024-04-08T11:10:04.088963239Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.090651739Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.68813ms 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=2024-04-08T11:10:04.094606341Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.096190768Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.584447ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.099478705Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.101326102Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.845497ms policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2024-04-08T11:10:04.105506382Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.112046657Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=6.539796ms 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=2024-04-08T11:10:04.115046604Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.115977548Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=930.503µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.118927203Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.119027557Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=99.714µs policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2024-04-08T11:10:04.123706315Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.125161787Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.454972ms 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)) grafana | logger=migrator t=2024-04-08T11:10:04.128827119Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.130395535Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.567566ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.134238143Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.13528593Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.047077ms policy-db-migrator | > upgrade 0500-pdpsubgroup.sql grafana | logger=migrator t=2024-04-08T11:10:04.139251313Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.139329366Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=77.383µs 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)) grafana | logger=migrator t=2024-04-08T11:10:04.143332639Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.144927547Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.595868ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.149284023Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql grafana | logger=migrator t=2024-04-08T11:10:04.150236667Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=951.653µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.153329258Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" policy-db-migrator | 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=2024-04-08T11:10:04.154405197Z 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.075468ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.157349182Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.158437961Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.088119ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.162488987Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql grafana | logger=migrator t=2024-04-08T11:10:04.168532273Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=6.040906ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.171884954Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" 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=2024-04-08T11:10:04.172812597Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=927.333µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.176088665Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.177010288Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=921.693µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.180810534Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql grafana | logger=migrator t=2024-04-08T11:10:04.206467235Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=25.655441ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.21218851Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" 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=2024-04-08T11:10:04.234988968Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=22.798938ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.237974215Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.239935945Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.95977ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.247368022Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql grafana | logger=migrator t=2024-04-08T11:10:04.248569266Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.201374ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.253106468Z level=info msg="Executing migration" id="add current_reason column related to current_state" 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=2024-04-08T11:10:04.262474315Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=9.345165ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.268573653Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.272693851Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=4.119777ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.30639467Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql grafana | logger=migrator t=2024-04-08T11:10:04.308264847Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.868357ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.312609843Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) grafana | logger=migrator t=2024-04-08T11:10:04.31448091Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.870788ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.320233896Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.321568885Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.330759ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.326215371Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql grafana | logger=migrator t=2024-04-08T11:10:04.328228523Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=2.012652ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.33286078Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" 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)) grafana | logger=migrator t=2024-04-08T11:10:04.333029116Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=168.126µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.336731238Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.343217821Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=6.485873ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.34735673Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | > upgrade 0570-toscadatatype.sql grafana | logger=migrator t=2024-04-08T11:10:04.353924005Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=6.564815ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.357456872Z level=info msg="Executing migration" id="add column labels to alert_rule" 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)) grafana | logger=migrator t=2024-04-08T11:10:04.363452578Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.995136ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.369003947Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.37021751Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.210873ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.373400614Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | > upgrade 0580-toscadatatypes.sql grafana | logger=migrator t=2024-04-08T11:10:04.374496313Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.095369ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.379291435Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" 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)) grafana | logger=migrator t=2024-04-08T11:10:04.385201537Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=5.909682ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.391565076Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.397758478Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.192882ms policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.409081344Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" 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)) grafana | logger=migrator t=2024-04-08T11:10:04.410518306Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.436391ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.415612498Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.423129429Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=7.51754ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.429727445Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=migrator t=2024-04-08T11:10:04.436949754Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=7.221139ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.442065898Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" 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)) grafana | logger=migrator t=2024-04-08T11:10:04.442227364Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=159.656µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.448497999Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.450427518Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.929039ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.456276288Z 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 | > upgrade 0610-toscanodetemplates.sql grafana | logger=migrator t=2024-04-08T11:10:04.4574645Z 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.188312ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.460791169Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) grafana | logger=migrator t=2024-04-08T11:10:04.462006014Z 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.231944ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.468939762Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.469102978Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=162.196µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.476197623Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql grafana | logger=migrator t=2024-04-08T11:10:04.485456565Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=9.260031ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.489844952Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" 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)) grafana | logger=migrator t=2024-04-08T11:10:04.496567943Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.722451ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.503132188Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.509982785Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.850567ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.515193592Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | > upgrade 0630-toscanodetype.sql grafana | logger=migrator t=2024-04-08T11:10:04.523618244Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=8.422452ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.527848535Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" 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)) grafana | logger=migrator t=2024-04-08T11:10:04.538343722Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=10.495067ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.543686684Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.543786768Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=103.814µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.547268462Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | > upgrade 0640-toscanodetypes.sql grafana | logger=migrator t=2024-04-08T11:10:04.548680853Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.412641ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.553166074Z level=info msg="Executing migration" id="Add column default in alert_configuration" 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)) grafana | logger=migrator t=2024-04-08T11:10:04.560213247Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=7.050133ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.569246801Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.569375056Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=128.785µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.573741603Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2024-04-08T11:10:04.58398374Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=10.243216ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.593292554Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" 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)) grafana | logger=migrator t=2024-04-08T11:10:04.595303016Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=2.012831ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.59957785Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.606124164Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.546435ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.612705201Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | > upgrade 0660-toscaparameter.sql grafana | logger=migrator t=2024-04-08T11:10:04.613401186Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=697.984µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.618424836Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" 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)) grafana | logger=migrator t=2024-04-08T11:10:04.620193799Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.769153ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.624011806Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.632648586Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=8.63518ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.637255091Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2024-04-08T11:10:04.637920126Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=665.234µs 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 | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.640986045Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.641742332Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=756.027µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.648009057Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2024-04-08T11:10:04.649457759Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.447892ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.736251114Z level=info msg="Executing migration" id="add unique index on token to alert_image table" 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)) grafana | logger=migrator t=2024-04-08T11:10:04.738137001Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.889997ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.74199305Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.742206317Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=212.678µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.747524738Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2024-04-08T11:10:04.748656588Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.1314ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.75513299Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" 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)) grafana | logger=migrator t=2024-04-08T11:10:04.757173204Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=2.041834ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.762147492Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.762882249Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.767601218Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2024-04-08T11:10:04.768392236Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=790.618µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.774447603Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" 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)) grafana | logger=migrator t=2024-04-08T11:10:04.775562224Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.114171ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.780401687Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.788045061Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=7.627104ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.793603501Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2024-04-08T11:10:04.794799344Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.195323ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.800227978Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" 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)) grafana | logger=migrator t=2024-04-08T11:10:04.801450763Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.222325ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.806315877Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.807257851Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=941.804µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.812867802Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2024-04-08T11:10:04.814847554Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.979281ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.819655435Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" 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)) grafana | logger=migrator t=2024-04-08T11:10:04.820584309Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=928.724µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.824410396Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.824431977Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=22.561µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.830539616Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2024-04-08T11:10:04.830594328Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=55.232µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.837379812Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" 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)) grafana | logger=migrator t=2024-04-08T11:10:04.837998124Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=622.612µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.842802737Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.844761486Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.95892ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.852346979Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2024-04-08T11:10:04.853718028Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.37181ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.860607775Z level=info msg="Executing migration" id="rename data_keys name column to id" 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)) grafana | logger=migrator t=2024-04-08T11:10:04.894858214Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=34.254109ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.898260386Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.90367033Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.406834ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.907248209Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2024-04-08T11:10:04.907398284Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=150.605µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.910480675Z level=info msg="Executing migration" id="rename data_keys name column to label" 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)) grafana | logger=migrator t=2024-04-08T11:10:04.942720591Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=32.240516ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.946932113Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:04.978150113Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=31.213809ms policy-db-migrator | policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2024-04-08T11:10:04.981615637Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:04.982337632Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=722.605µs 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)) grafana | logger=migrator t=2024-04-08T11:10:05.006675746Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.008284574Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.608658ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.012912719Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.013274353Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=361.064µs policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2024-04-08T11:10:05.016689206Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.017681181Z level=info msg="Migration successfully executed" id="create permission table" duration=991.565µs 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)) grafana | logger=migrator t=2024-04-08T11:10:05.023308933Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.025139979Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.830976ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.030429649Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.031542588Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.113639ms policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2024-04-08T11:10:05.034281797Z level=info msg="Executing migration" id="create role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.035169188Z level=info msg="Migration successfully executed" id="create role table" duration=885.692µs 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=2024-04-08T11:10:05.03800974Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.045362624Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.352384ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.049251723Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.056868587Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.616294ms policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2024-04-08T11:10:05.060570089Z level=info msg="Executing migration" id="add index role.org_id" 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)) grafana | logger=migrator t=2024-04-08T11:10:05.061834875Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.264046ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.107535375Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.108958066Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.421611ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.118515829Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2024-04-08T11:10:05.11993633Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.420771ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.1280451Z level=info msg="Executing migration" id="create team role table" 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)) grafana | logger=migrator t=2024-04-08T11:10:05.128987275Z level=info msg="Migration successfully executed" id="create team role table" duration=938.535µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.138717833Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.139820644Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.10047ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.146781133Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2024-04-08T11:10:05.148408222Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.627769ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.156879736Z level=info msg="Executing migration" id="add index team_role.team_id" 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)) grafana | logger=migrator t=2024-04-08T11:10:05.157895612Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.015856ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.164962826Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.166669466Z level=info msg="Migration successfully executed" id="create user role table" duration=1.70646ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.2085886Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2024-04-08T11:10:05.210162647Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.574297ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.214446461Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" 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)) grafana | logger=migrator t=2024-04-08T11:10:05.216148422Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.699772ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.220079563Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.221220974Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.140541ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.225978224Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-04-08T11:10:05.227077624Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.09765ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.231320486Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2024-04-08T11:10:05.233005717Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.680611ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.2369967Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.238082729Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.085839ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.242745886Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-04-08T11:10:05.251080135Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=8.333279ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.254233199Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-04-08T11:10:05.255509684Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.275525ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.259784848Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.260918608Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.13262ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.263965118Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.265052966Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.089719ms policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-04-08T11:10:05.26903383Z level=info msg="Executing migration" id="add unique index role.uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.270036205Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.001615ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.273113266Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.273862973Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=749.278µs policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-04-08T11:10:05.278008261Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.279267536Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.260345ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2024-04-08T11:10:05.282473652Z level=info msg="Executing migration" id="add column hidden to role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.294250684Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=11.775962ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.340466772Z level=info msg="Executing migration" id="permission kind migration" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.35321642Z level=info msg="Migration successfully executed" id="permission kind migration" duration=12.749328ms policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-04-08T11:10:05.359255487Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.368931413Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=9.676637ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2024-04-08T11:10:05.37357625Z level=info msg="Executing migration" id="permission identifier migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.381034928Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.458048ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.384647918Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.385588741Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=941.183µs policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-04-08T11:10:05.389410689Z level=info msg="Executing migration" id="add permission action scope role_id index" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.390420385Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=1.008856ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2024-04-08T11:10:05.395151885Z level=info msg="Executing migration" id="remove permission role_id action scope index" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.395876851Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=725.085µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.399596664Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.400221747Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=624.733µs policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-04-08T11:10:05.406574875Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.408195192Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.623508ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2024-04-08T11:10:05.41203447Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.412130774Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=96.994µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.416183229Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.416277752Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=95.813µs policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-04-08T11:10:05.420444612Z level=info msg="Executing migration" id="teams permissions migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.420877108Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=432.106µs policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2024-04-08T11:10:05.42568069Z level=info msg="Executing migration" id="dashboard permissions" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.42651831Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=834.15µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.434132163Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.43516837Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.035827ms policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-04-08T11:10:05.439233417Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.439544328Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=310.811µs policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2024-04-08T11:10:05.445617395Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.446376552Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=755.717µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.452109818Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.453373564Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.263776ms policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-04-08T11:10:05.521952224Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.523613154Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.65854ms policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2024-04-08T11:10:05.530275423Z level=info msg="Executing migration" id="add column org_id in query_history_star" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.53883071Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.556027ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.545280331Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.545576142Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=293.431µs policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2024-04-08T11:10:05.552970607Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.55442291Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.453872ms policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2024-04-08T11:10:05.559872955Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.561294136Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.423281ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.567123355Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.568524986Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.40399ms 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=2024-04-08T11:10:05.572540259Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.581675127Z level=info msg="Migration successfully executed" id="add correlation config column" duration=9.129947ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.585134612Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.58622749Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.094709ms policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-04-08T11:10:05.642581962Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.644514562Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.93642ms 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 grafana | logger=migrator t=2024-04-08T11:10:05.649269213Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.671951127Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=22.663803ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.674990706Z level=info msg="Executing migration" id="create correlation v2" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.67596802Z level=info msg="Migration successfully executed" id="create correlation v2" duration=977.785µs policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-04-08T11:10:05.679787157Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.6806922Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=906.583µs 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 grafana | logger=migrator t=2024-04-08T11:10:05.683514931Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.684819388Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.304367ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.688343584Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.68960589Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.263676ms policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-04-08T11:10:05.694172114Z level=info msg="Executing migration" id="copy correlation v1 to v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.694590689Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=419.275µs 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 grafana | logger=migrator t=2024-04-08T11:10:05.697056947Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.697992051Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=934.423µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.700982788Z level=info msg="Executing migration" id="add provisioning column" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.709812154Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.826026ms policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-04-08T11:10:05.714755652Z level=info msg="Executing migration" id="create entity_events table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.715880992Z level=info msg="Migration successfully executed" id="create entity_events table" duration=1.12966ms 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 grafana | logger=migrator t=2024-04-08T11:10:05.719199462Z level=info msg="Executing migration" id="create dashboard public config v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.720410875Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.210903ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.724652097Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.725245049Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-04-08T11:10:05.728411672Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.728967132Z 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" 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 grafana | logger=migrator t=2024-04-08T11:10:05.732444726Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.733397391Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=952.095µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.736296395Z level=info msg="Executing migration" id="recreate dashboard public config v1" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.737533459Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.237114ms policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-04-08T11:10:05.742502438Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.743834955Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.333797ms 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 grafana | logger=migrator t=2024-04-08T11:10:05.747085912Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.74840833Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.323298ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.752485765Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.753746691Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.261976ms policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-04-08T11:10:05.75818826Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.759456236Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.270026ms 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 grafana | logger=migrator t=2024-04-08T11:10:05.76265145Z level=info msg="Executing migration" id="Drop public config table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.763566123Z level=info msg="Migration successfully executed" id="Drop public config table" duration=914.793µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.767557817Z level=info msg="Executing migration" id="Recreate dashboard public config v2" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.768934136Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.378559ms policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-04-08T11:10:05.772017366Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.773856253Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.836596ms grafana | logger=migrator t=2024-04-08T11:10:05.777381549Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-04-08T11:10:05.779378071Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.996172ms 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 | grafana | logger=migrator t=2024-04-08T11:10:05.78409491Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.7852275Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.13221ms policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-04-08T11:10:05.788392824Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.811577265Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=23.184141ms 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 grafana | logger=migrator t=2024-04-08T11:10:05.81474966Z level=info msg="Executing migration" id="add annotations_enabled column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.820858859Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.107389ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.824969546Z level=info msg="Executing migration" id="add time_selection_enabled column" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.83373004Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.760114ms policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-04-08T11:10:05.837182295Z level=info msg="Executing migration" id="delete orphaned public dashboards" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.837430344Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=248.209µs 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 grafana | logger=migrator t=2024-04-08T11:10:05.84122596Z level=info msg="Executing migration" id="add share column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.85096805Z level=info msg="Migration successfully executed" id="add share column" duration=9.74119ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.860431869Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.860843794Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=412.574µs policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-04-08T11:10:05.864488774Z level=info msg="Executing migration" id="create file table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.865548383Z level=info msg="Migration successfully executed" id="create file table" duration=1.061219ms 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 grafana | logger=migrator t=2024-04-08T11:10:05.868586362Z level=info msg="Executing migration" id="file table idx: path natural pk" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.869764493Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.177951ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.90813286Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.910023289Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.885338ms policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-04-08T11:10:05.916183189Z level=info msg="Executing migration" id="create file_meta table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.91704793Z level=info msg="Migration successfully executed" id="create file_meta table" duration=864.461µs policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-04-08T11:10:05.920243295Z level=info msg="Executing migration" id="file table idx: path key" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.921180909Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=936.944µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.924250819Z level=info msg="Executing migration" id="set path collation in file table" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.924321842Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=70.532µs policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-04-08T11:10:05.928219971Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.928322075Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=102.274µs policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-04-08T11:10:05.932307218Z level=info msg="Executing migration" id="managed permissions migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.933135038Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=825.389µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.938266992Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.938565963Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=298.82µs policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-04-08T11:10:05.942034137Z level=info msg="Executing migration" id="RBAC action name migrator" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.943642075Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.607758ms policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-04-08T11:10:05.947552625Z level=info msg="Executing migration" id="Add UID column to playlist" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.957785642Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=10.233267ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.96135794Z level=info msg="Executing migration" id="Update uid column values in playlist" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.961511586Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=153.846µs policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2024-04-08T11:10:05.964559155Z level=info msg="Executing migration" id="Add index for uid in playlist" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.965575851Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.016386ms 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 grafana | logger=migrator t=2024-04-08T11:10:05.970973725Z level=info msg="Executing migration" id="update group index for alert rules" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.97166578Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=693.515µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.975101683Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:05.975348852Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=245.049µs policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-04-08T11:10:05.978680161Z level=info msg="Executing migration" id="admin only folder/dashboard permission" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.97920577Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=526.209µs 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 grafana | logger=migrator t=2024-04-08T11:10:05.983404981Z level=info msg="Executing migration" id="add action column to seed_assignment" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:05.996538323Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=13.134632ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:06.000515995Z level=info msg="Executing migration" id="add scope column to seed_assignment" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:06.008833324Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.316209ms policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2024-04-08T11:10:06.012132172Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:06.013227631Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.095679ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:06.016623323Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:06.087569859Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=70.941115ms policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-04-08T11:10:06.092605599Z level=info msg="Executing migration" id="add unique index builtin_role_name back" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:06.09345861Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=853.401µs policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-04-08T11:10:06.09651901Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:06.097758395Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.238705ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:06.101083784Z level=info msg="Executing migration" id="add primary key to seed_assigment" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:06.127354996Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=26.272742ms policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-04-08T11:10:06.132240731Z level=info msg="Executing migration" id="add origin column to seed_assignment" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:06.14446288Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=12.223479ms policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-04-08T11:10:06.147741377Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:06.148180814Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=439.487µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:06.152210238Z level=info msg="Executing migration" id="prevent seeding OnCall access" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:06.152381164Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=171.026µs policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-04-08T11:10:06.158776353Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:06.159089315Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=313.782µs policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-04-08T11:10:06.16258317Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-04-08T11:10:06.162886371Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=303.381µs policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-04-08T11:10:06.166343355Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-04-08T11:10:06.166567823Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=224.948µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:06.16899418Z level=info msg="Executing migration" id="create folder table" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:06.169927613Z level=info msg="Migration successfully executed" id="create folder table" duration=933.253µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:06.174251159Z level=info msg="Executing migration" id="Add index for parent_uid" policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-04-08T11:10:06.176434037Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=2.185058ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:06.180508273Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2024-04-08T11:10:06.182533476Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=2.025493ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:06.189191215Z level=info msg="Executing migration" id="Update folder title length" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:06.189211215Z level=info msg="Migration successfully executed" id="Update folder title length" duration=19.021µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:06.192428981Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-04-08T11:10:06.194395691Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.966571ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:06.220222948Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" 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)) grafana | logger=migrator t=2024-04-08T11:10:06.222685536Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=2.467638ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:06.228436673Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:06.229781611Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.344418ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:06.233132911Z level=info msg="Executing migration" id="Sync dashboard and folder table" policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2024-04-08T11:10:06.233565897Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=430.166µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:06.236546264Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2024-04-08T11:10:06.236805213Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=258.899µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:06.241144739Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:06.242155935Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.010976ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:06.249369184Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-04-08T11:10:06.251857944Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=2.48841ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:06.286177865Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" 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)) grafana | logger=migrator t=2024-04-08T11:10:06.288512119Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=2.333154ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:06.293728526Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:06.295001531Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.273345ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:06.298547378Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-04-08T11:10:06.299644448Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.09743ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:06.303780686Z level=info msg="Executing migration" id="create anon_device table" 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 | grafana | logger=migrator t=2024-04-08T11:10:06.304730821Z level=info msg="Migration successfully executed" id="create anon_device table" duration=949.905µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:06.310883791Z level=info msg="Executing migration" id="add unique index anon_device.device_id" policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-04-08T11:10:06.312965805Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=2.081844ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:06.317349493Z level=info msg="Executing migration" id="add index anon_device.updated_at" 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) grafana | logger=migrator t=2024-04-08T11:10:06.318444912Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.094849ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:06.321842615Z level=info msg="Executing migration" id="create signing_key table" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:06.322691505Z level=info msg="Migration successfully executed" id="create signing_key table" duration=848.11µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:06.326704128Z level=info msg="Executing migration" id="add unique index signing_key.key_id" policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-04-08T11:10:06.327659973Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=954.085µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:06.330847968Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" 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) grafana | logger=migrator t=2024-04-08T11:10:06.331893535Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.045287ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:06.335962891Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:06.33620606Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=243.179µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:06.340541935Z level=info msg="Executing migration" id="Add folder_uid for dashboard" policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2024-04-08T11:10:06.353294263Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=12.751518ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:06.358295773Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-04-08T11:10:06.359477645Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=1.183393ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:06.363567862Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:06.36437119Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=799.928µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:06.369122911Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-04-08T11:10:06.369957141Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=834.62µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:06.373029591Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-04-08T11:10:06.374237524Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=1.206913ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:06.377892646Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:06.379547355Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=1.652828ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:06.38722967Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-04-08T11:10:06.389051696Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.821396ms policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-04-08T11:10:06.392732018Z level=info msg="Executing migration" id="create sso_setting table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:06.394579705Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.848706ms policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-04-08T11:10:06.398863068Z level=info msg="Executing migration" id="copy kvstore migration status to each org" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:06.399647046Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=784.737µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:06.40309858Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:06.4033796Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=281.85µs policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-04-08T11:10:06.406585435Z level=info msg="Executing migration" id="alter kv_store.value to longtext" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:06.406680458Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=95.623µs policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-04-08T11:10:06.409538961Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:06.42122663Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=11.688139ms policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:06.425298247Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:06.432202004Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=6.902967ms policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2024-04-08T11:10:06.435577735Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-08T11:10:06.435948368Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=370.533µs policy-db-migrator | grafana | logger=migrator t=2024-04-08T11:10:06.439098441Z level=info msg="migrations completed" performed=548 skipped=0 duration=15.460402116s policy-db-migrator | -------------- grafana | logger=sqlstore t=2024-04-08T11:10:06.446697874Z level=info msg="Created default admin" user=admin policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=sqlstore t=2024-04-08T11:10:06.446933432Z level=info msg="Created default organization" policy-db-migrator | -------------- grafana | logger=secrets t=2024-04-08T11:10:06.453900013Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 policy-db-migrator | grafana | logger=plugin.store t=2024-04-08T11:10:06.481227744Z level=info msg="Loading plugins..." policy-db-migrator | grafana | logger=local.finder t=2024-04-08T11:10:06.536844848Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=plugin.store t=2024-04-08T11:10:06.536876739Z level=info msg="Plugins loaded" count=55 duration=55.649456ms policy-db-migrator | -------------- grafana | logger=query_data t=2024-04-08T11:10:06.539741852Z level=info msg="Query Service initialization" policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY grafana | logger=live.push_http t=2024-04-08T11:10:06.543356203Z level=info msg="Live Push Gateway initialization" policy-db-migrator | -------------- grafana | logger=ngalert.migration t=2024-04-08T11:10:06.547714278Z level=info msg=Starting policy-db-migrator | grafana | logger=ngalert.migration t=2024-04-08T11:10:06.548339571Z level=info msg="Applying transition" currentType=Legacy desiredType=UnifiedAlerting cleanOnDowngrade=false cleanOnUpgrade=false policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=ngalert.migration orgID=1 t=2024-04-08T11:10:06.549024196Z level=info msg="Migrating alerts for organisation" policy-db-migrator | -------------- grafana | logger=ngalert.migration orgID=1 t=2024-04-08T11:10:06.54968889Z level=info msg="Alerts found to migrate" alerts=0 policy-db-migrator | grafana | logger=ngalert.migration t=2024-04-08T11:10:06.55165196Z level=info msg="Completed alerting migration" policy-db-migrator | grafana | logger=ngalert.state.manager t=2024-04-08T11:10:06.58313892Z level=info msg="Running in alternative execution of Error/NoData mode" policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=infra.usagestats.collector t=2024-04-08T11:10:06.584711476Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 policy-db-migrator | -------------- grafana | logger=provisioning.datasources t=2024-04-08T11:10:06.586478109Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=provisioning.alerting t=2024-04-08T11:10:06.633542568Z level=info msg="starting to provision alerting" policy-db-migrator | -------------- grafana | logger=provisioning.alerting t=2024-04-08T11:10:06.633564559Z level=info msg="finished to provision alerting" policy-db-migrator | grafana | logger=grafanaStorageLogger t=2024-04-08T11:10:06.633826898Z level=info msg="Storage starting" policy-db-migrator | -------------- grafana | logger=ngalert.state.manager t=2024-04-08T11:10:06.636013527Z level=info msg="Warming state cache for startup" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=http.server t=2024-04-08T11:10:06.636323538Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= policy-db-migrator | -------------- grafana | logger=ngalert.multiorg.alertmanager t=2024-04-08T11:10:06.636502034Z level=info msg="Starting MultiOrg Alertmanager" policy-db-migrator | grafana | logger=ngalert.state.manager t=2024-04-08T11:10:06.636809515Z level=info msg="State cache has been initialized" states=0 duration=761.017µs policy-db-migrator | grafana | logger=ngalert.scheduler t=2024-04-08T11:10:06.63695457Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=ticker t=2024-04-08T11:10:06.637600043Z level=info msg=starting first_tick=2024-04-08T11:10:10Z policy-db-migrator | -------------- grafana | logger=provisioning.dashboard t=2024-04-08T11:10:06.678284904Z level=info msg="starting to provision dashboards" policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=sqlstore.transactions t=2024-04-08T11:10:06.689657582Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" policy-db-migrator | -------------- grafana | logger=plugins.update.checker t=2024-04-08T11:10:06.728257867Z level=info msg="Update check succeeded" duration=94.076066ms policy-db-migrator | grafana | logger=grafana.update.checker t=2024-04-08T11:10:06.7289224Z level=info msg="Update check succeeded" duration=94.839273ms policy-db-migrator | grafana | logger=grafana-apiserver t=2024-04-08T11:10:06.960072364Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=grafana-apiserver t=2024-04-08T11:10:06.960579543Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" policy-db-migrator | -------------- grafana | logger=provisioning.dashboard t=2024-04-08T11:10:07.187337129Z level=info msg="finished to provision dashboards" policy-db-migrator | select 'upgrade to 1100 completed' as msg policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | msg policy-db-migrator | upgrade to 1100 completed policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-audit_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- 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 0804241110060800u 1 2024-04-08 11:10:06 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:06 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:06 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:06 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:06 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:06 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:06 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:06 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:06 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:06 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:06 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:06 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:06 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:06 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:06 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:06 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:07 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:07 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:07 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:07 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:07 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:07 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:07 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:07 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:07 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:07 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:07 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:07 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:07 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:07 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:07 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:07 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:07 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:07 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:07 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:08 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:08 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:08 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:08 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:08 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:08 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:09 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:09 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:09 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:09 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:09 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:09 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:09 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:10 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:10 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:10 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:10 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:10 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:10 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:10 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:11 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:11 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:11 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:11 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:12 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:12 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:12 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:12 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:12 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:12 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:12 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:12 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:13 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:13 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:13 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:13 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:13 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:13 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:13 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:13 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:13 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:13 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:13 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:13 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:14 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:14 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:14 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:14 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:14 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:14 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:14 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:14 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:15 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:15 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:16 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:16 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:16 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:16 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:16 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:16 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0804241110060800u 1 2024-04-08 11:10:16 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 0804241110060900u 1 2024-04-08 11:10:16 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 0804241110060900u 1 2024-04-08 11:10:16 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 0804241110060900u 1 2024-04-08 11:10:16 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 0804241110060900u 1 2024-04-08 11:10:16 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 0804241110060900u 1 2024-04-08 11:10:16 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 0804241110060900u 1 2024-04-08 11:10:16 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0804241110060900u 1 2024-04-08 11:10:16 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0804241110060900u 1 2024-04-08 11:10:16 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0804241110060900u 1 2024-04-08 11:10:16 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 0804241110060900u 1 2024-04-08 11:10:16 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 0804241110060900u 1 2024-04-08 11:10:17 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 0804241110060900u 1 2024-04-08 11:10:17 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 0804241110060900u 1 2024-04-08 11:10:17 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 0804241110061000u 1 2024-04-08 11:10:17 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 0804241110061000u 1 2024-04-08 11:10:17 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 0804241110061000u 1 2024-04-08 11:10:17 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 0804241110061000u 1 2024-04-08 11:10:17 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 0804241110061000u 1 2024-04-08 11:10:17 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 0804241110061000u 1 2024-04-08 11:10:17 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 0804241110061000u 1 2024-04-08 11:10:17 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 0804241110061000u 1 2024-04-08 11:10:17 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 0804241110061000u 1 2024-04-08 11:10:17 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 0804241110061100u 1 2024-04-08 11:10:17 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 0804241110061200u 1 2024-04-08 11:10:17 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 0804241110061200u 1 2024-04-08 11:10:17 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 0804241110061200u 1 2024-04-08 11:10:17 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 0804241110061200u 1 2024-04-08 11:10:17 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 0804241110061300u 1 2024-04-08 11:10:17 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 0804241110061300u 1 2024-04-08 11:10:17 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 0804241110061300u 1 2024-04-08 11:10:17 policy-db-migrator | policyadmin: OK @ 1300 ++ 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 grafana ... done Removing policy-api ... done Removing policy-db-migrator ... done Removing mariadb ... done Removing prometheus ... done Removing network compose_default ++ cd /w/workspace/policy-api-master-project-csit-verify-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.gciYRli0em ]] + rsync -av /tmp/tmp.gciYRli0em/ /w/workspace/policy-api-master-project-csit-verify-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,357,885 bytes received 95 bytes 2,715,960.00 bytes/sec total size is 1,357,235 speedup is 1.00 + rm -rf /w/workspace/policy-api-master-project-csit-verify-api/models + exit 0 $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2116 killed; [ssh-agent] Stopped. Robot results publisher started... INFO: Checking test criticality is deprecated and will be dropped in a future release! -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-verify-api] $ /bin/bash /tmp/jenkins7348281386006690612.sh ---> sysstat.sh [policy-api-master-project-csit-verify-api] $ /bin/bash /tmp/jenkins7943980792314546836.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/policy-api-master-project-csit-verify-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-verify-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-verify-api ']' + mkdir -p /w/workspace/policy-api-master-project-csit-verify-api/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-master-project-csit-verify-api/archives/ [policy-api-master-project-csit-verify-api] $ /bin/bash /tmp/jenkins3190473003122254672.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-verify-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-LmCg from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-LmCg/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-master-project-csit-verify-api] $ /bin/bash /tmp/jenkins6297565798040627698.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-master-project-csit-verify-api@tmp/config13418551241403798709tmp 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-verify-api] $ /bin/bash /tmp/jenkins5185760142158879627.sh ---> create-netrc.sh [policy-api-master-project-csit-verify-api] $ /bin/bash /tmp/jenkins3042196371945273239.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-verify-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-LmCg from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-LmCg/bin to PATH [policy-api-master-project-csit-verify-api] $ /bin/bash /tmp/jenkins3558655335759750802.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-master-project-csit-verify-api] $ /bin/bash /tmp/jenkins5881658375669957598.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-verify-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-LmCg from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 lf-activate-venv(): INFO: Adding /tmp/venv-LmCg/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [policy-api-master-project-csit-verify-api] $ /bin/bash -l /tmp/jenkins7240279912542151805.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-verify-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-LmCg from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-LmCg/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-master-project-csit-verify-api/519 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-21503 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: 2799.998 BogoMIPS: 5599.99 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 850 27106 0 4210 30861 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:c6:41:ea brd ff:ff:ff:ff:ff:ff inet 10.30.106.55/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86022sec preferred_lft 86022sec inet6 fe80::f816:3eff:fec6:41ea/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:1e:b3:4b: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-21503) 04/08/24 _x86_64_ (8 CPU) 11:06:34 LINUX RESTART (8 CPU) 11:07:01 tps rtps wtps bread/s bwrtn/s 11:08:01 360.86 71.35 289.50 4615.63 45100.22 11:09:01 108.27 13.83 94.43 1122.08 30416.93 11:10:01 263.41 15.35 248.06 2149.08 89873.87 11:11:01 187.10 6.68 180.42 301.45 23718.83 11:12:01 36.69 0.02 36.68 4.27 22064.42 Average: 191.26 21.45 169.82 1638.50 42234.85 11:07:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:08:01 30091008 31636116 2848212 8.65 66800 1789464 1522688 4.48 935952 1626860 136800 11:09:01 29873540 31730820 3065680 9.31 85520 2067708 1406236 4.14 854980 1894116 159668 11:10:01 27672476 31514712 5266744 15.99 121484 3941984 3130008 9.21 1184676 3635580 1152 11:11:01 26480516 30366628 6458704 19.61 130756 3970216 4471616 13.16 2386528 3613768 60 11:12:01 26634532 30543504 6304688 19.14 131132 3997120 3005136 8.84 2231752 3626112 72 Average: 28150414 31158356 4788806 14.54 107138 3153298 2707137 7.97 1518778 2879287 59550 11:07:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:08:01 ens3 405.07 274.27 1450.72 74.51 0.00 0.00 0.00 0.00 11:08:01 lo 1.53 1.53 0.17 0.17 0.00 0.00 0.00 0.00 11:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:09:01 ens3 49.09 36.69 728.07 7.83 0.00 0.00 0.00 0.00 11:09:01 lo 1.60 1.60 0.17 0.17 0.00 0.00 0.00 0.00 11:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:10:01 ens3 329.10 209.18 10549.93 16.23 0.00 0.00 0.00 0.00 11:10:01 lo 8.83 8.83 0.81 0.81 0.00 0.00 0.00 0.00 11:10:01 br-483fe8411ef6 0.07 0.12 0.00 0.01 0.00 0.00 0.00 0.00 11:10:01 vethf391187 0.45 0.62 0.02 0.04 0.00 0.00 0.00 0.00 11:11:01 ens3 8.52 6.58 1.94 1.73 0.00 0.00 0.00 0.00 11:11:01 lo 8.43 8.43 8.44 8.44 0.00 0.00 0.00 0.00 11:11:01 br-483fe8411ef6 3.60 4.00 6.18 2.51 0.00 0.00 0.00 0.00 11:11:01 vethf391187 133.01 159.74 114.73 38.95 0.00 0.00 0.00 0.01 11:12:01 ens3 12.41 12.90 6.18 4.99 0.00 0.00 0.00 0.00 11:12:01 lo 9.82 9.82 0.75 0.75 0.00 0.00 0.00 0.00 11:12:01 br-483fe8411ef6 1.67 1.92 0.13 0.18 0.00 0.00 0.00 0.00 11:12:01 veth291e5ee 126.51 107.60 41.94 114.06 0.00 0.00 0.00 0.01 Average: ens3 160.84 107.93 2547.37 21.06 0.00 0.00 0.00 0.00 Average: lo 6.04 6.04 2.07 2.07 0.00 0.00 0.00 0.00 Average: br-483fe8411ef6 1.07 1.21 1.26 0.54 0.00 0.00 0.00 0.00 Average: veth291e5ee 25.30 21.52 8.39 22.81 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-21503) 04/08/24 _x86_64_ (8 CPU) 11:06:34 LINUX RESTART (8 CPU) 11:07:01 CPU %user %nice %system %iowait %steal %idle 11:08:01 all 10.22 0.00 1.08 4.53 0.04 84.13 11:08:01 0 4.52 0.00 1.76 7.62 0.02 86.09 11:08:01 1 9.41 0.00 1.12 1.85 0.05 87.57 11:08:01 2 5.22 0.00 0.59 20.61 0.02 73.57 11:08:01 3 10.17 0.00 0.98 1.30 0.03 87.51 11:08:01 4 8.94 0.00 0.80 0.85 0.05 89.36 11:08:01 5 4.64 0.00 0.90 0.90 0.02 93.54 11:08:01 6 13.81 0.00 0.89 0.87 0.02 84.42 11:08:01 7 25.10 0.00 1.59 2.31 0.07 70.94 11:09:01 all 10.40 0.00 0.66 3.04 0.03 85.88 11:09:01 0 2.03 0.00 0.42 15.84 0.03 81.69 11:09:01 1 21.68 0.00 0.98 1.30 0.03 76.00 11:09:01 2 10.64 0.00 0.50 1.30 0.02 87.54 11:09:01 3 12.22 0.00 0.72 0.53 0.02 86.51 11:09:01 4 9.94 0.00 0.70 0.20 0.02 89.14 11:09:01 5 20.10 0.00 0.98 2.57 0.03 76.32 11:09:01 6 5.79 0.00 0.55 0.03 0.02 93.61 11:09:01 7 0.72 0.00 0.42 2.56 0.05 96.25 11:10:01 all 8.25 0.00 3.31 9.07 0.07 79.30 11:10:01 0 7.91 0.00 2.92 9.79 0.03 79.36 11:10:01 1 5.99 0.00 3.23 2.27 0.08 88.42 11:10:01 2 7.68 0.00 3.71 3.88 0.05 84.68 11:10:01 3 10.83 0.00 3.73 5.25 0.07 80.12 11:10:01 4 8.57 0.00 3.37 17.52 0.07 70.47 11:10:01 5 8.65 0.00 3.35 26.72 0.10 61.17 11:10:01 6 7.88 0.00 2.59 0.39 0.05 89.10 11:10:01 7 8.57 0.00 3.59 6.85 0.05 80.94 11:11:01 all 15.34 0.00 1.96 4.22 0.06 78.42 11:11:01 0 15.94 0.00 1.86 5.58 0.05 76.58 11:11:01 1 15.60 0.00 1.98 2.08 0.07 80.28 11:11:01 2 17.81 0.00 2.21 5.33 0.10 74.55 11:11:01 3 12.84 0.00 2.08 1.02 0.07 84.00 11:11:01 4 16.77 0.00 2.23 4.46 0.08 76.47 11:11:01 5 16.50 0.00 2.18 1.51 0.05 79.77 11:11:01 6 18.55 0.00 2.11 2.30 0.07 76.97 11:11:01 7 8.74 0.00 0.99 11.49 0.05 78.73 11:12:01 all 0.68 0.00 0.24 1.71 0.02 97.35 11:12:01 0 0.52 0.00 0.28 11.55 0.05 87.60 11:12:01 1 1.72 0.00 0.28 0.40 0.03 97.56 11:12:01 2 0.47 0.00 0.22 0.72 0.00 98.60 11:12:01 3 0.52 0.00 0.20 0.70 0.00 98.58 11:12:01 4 0.28 0.00 0.27 0.22 0.02 99.22 11:12:01 5 0.68 0.00 0.22 0.12 0.02 98.97 11:12:01 6 0.48 0.00 0.20 0.02 0.02 99.28 11:12:01 7 0.73 0.00 0.27 0.05 0.00 98.95 Average: all 8.98 0.00 1.45 4.51 0.04 85.03 Average: 0 6.18 0.00 1.45 10.07 0.04 82.26 Average: 1 10.89 0.00 1.52 1.58 0.05 85.96 Average: 2 8.36 0.00 1.44 6.36 0.04 83.80 Average: 3 9.31 0.00 1.54 1.75 0.04 87.36 Average: 4 8.89 0.00 1.47 4.62 0.05 84.97 Average: 5 10.11 0.00 1.52 6.31 0.04 82.01 Average: 6 9.29 0.00 1.26 0.72 0.03 88.69 Average: 7 8.77 0.00 1.36 4.64 0.04 85.18