Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-23011 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-master-project-csit-api [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-DdzNcP03Nszz/agent.2187 SSH_AGENT_PID=2189 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-master-project-csit-api@tmp/private_key_8128964551310545626.key (/w/workspace/policy-api-master-project-csit-api@tmp/private_key_8128964551310545626.key) [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) The recommended git tool is: NONE using credential onap-jenkins-ssh Wiping out workspace first. Cloning the remote Git repository Cloning repository git://cloud.onap.org/mirror/policy/docker.git > git init /w/workspace/policy-api-master-project-csit-api # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_SSH to set credentials Gerrit user Verifying host key using manually-configured host key entries > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision f35d01581c8da55946d604e5a444972fe4b0d318 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f f35d01581c8da55946d604e5a444972fe4b0d318 # timeout=30 Commit message: "Improvements to CSIT" > git rev-list --no-walk f35d01581c8da55946d604e5a444972fe4b0d318 # timeout=10 provisioning config files... copy managed file [npmrc] to file:/home/jenkins/.npmrc copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins186402176044250253.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-FD1G 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-FD1G/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-FD1G/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.84 botocore==1.34.84 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.4 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.7 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-api] $ /bin/sh /tmp/jenkins716327705065368181.sh ---> update-java-alternatives.sh ---> Updating Java version ---> Ubuntu/Debian system detected update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode openjdk version "17.0.4" 2022-07-19 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' [EnvInject] - Variables injected successfully. [policy-api-master-project-csit-api] $ /bin/sh -xe /tmp/jenkins12717111537635175440.sh + /w/workspace/policy-api-master-project-csit-api/csit/run-project-csit.sh api + set +u + save_set + RUN_CSIT_SAVE_SET=ehxB + RUN_CSIT_SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail:xtrace + '[' 1 -eq 0 ']' + '[' -z /w/workspace/policy-api-master-project-csit-api ']' + export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin + export SCRIPTS=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts + SCRIPTS=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts + export ROBOT_VARIABLES= + ROBOT_VARIABLES= + export PROJECT=api + PROJECT=api + cd /w/workspace/policy-api-master-project-csit-api + rm -rf /w/workspace/policy-api-master-project-csit-api/csit/archives/api + mkdir -p /w/workspace/policy-api-master-project-csit-api/csit/archives/api + source_safely /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh + '[' -z /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' +++ mktemp -d ++ ROBOT_VENV=/tmp/tmp.Z4WGdUlAyd ++ echo ROBOT_VENV=/tmp/tmp.Z4WGdUlAyd +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.Z4WGdUlAyd ++ source /tmp/tmp.Z4WGdUlAyd/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.Z4WGdUlAyd +++ export VIRTUAL_ENV +++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin +++ PATH=/tmp/tmp.Z4WGdUlAyd/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin +++ export PATH +++ '[' -n '' ']' +++ '[' -z '' ']' +++ _OLD_VIRTUAL_PS1= +++ '[' 'x(tmp.Z4WGdUlAyd) ' '!=' x ']' +++ PS1='(tmp.Z4WGdUlAyd) ' +++ export PS1 +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r ++ set -exu ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' ++ echo 'Installing Python Requirements' Installing Python Requirements ++ python3 -m pip install -qq -r /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.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.7 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.Z4WGdUlAyd/src/onap ++ rm -rf /tmp/tmp.Z4WGdUlAyd/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.7 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.Z4WGdUlAyd/bin/activate + '[' -z /tmp/tmp.Z4WGdUlAyd/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.Z4WGdUlAyd/bin/activate ++ deactivate nondestructive ++ '[' -n /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin ']' ++ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin ++ export PATH ++ unset _OLD_VIRTUAL_PATH ++ '[' -n '' ']' ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r ++ '[' -n '' ']' ++ unset VIRTUAL_ENV ++ '[' '!' nondestructive = nondestructive ']' ++ VIRTUAL_ENV=/tmp/tmp.Z4WGdUlAyd ++ export VIRTUAL_ENV ++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin ++ PATH=/tmp/tmp.Z4WGdUlAyd/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin ++ export PATH ++ '[' -n '' ']' ++ '[' -z '' ']' ++ _OLD_VIRTUAL_PS1='(tmp.Z4WGdUlAyd) ' ++ '[' 'x(tmp.Z4WGdUlAyd) ' '!=' x ']' ++ PS1='(tmp.Z4WGdUlAyd) (tmp.Z4WGdUlAyd) ' ++ export PS1 ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + export TEST_PLAN_DIR=/w/workspace/policy-api-master-project-csit-api/csit/resources/tests + TEST_PLAN_DIR=/w/workspace/policy-api-master-project-csit-api/csit/resources/tests + export TEST_OPTIONS= + TEST_OPTIONS= ++ mktemp -d + WORKDIR=/tmp/tmp.3S6oFxmUAY + cd /tmp/tmp.3S6oFxmUAY + docker login -u docker -p docker nexus3.onap.org:10001 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded + SETUP=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-master-project-csit-api/.gitreview +++ GERRIT_BRANCH=master +++ echo GERRIT_BRANCH=master GERRIT_BRANCH=master +++ rm -rf /w/workspace/policy-api-master-project-csit-api/models +++ mkdir /w/workspace/policy-api-master-project-csit-api/models +++ git clone -b master --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-master-project-csit-api/models Cloning into '/w/workspace/policy-api-master-project-csit-api/models'... +++ export DATA=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json +++ sed -e 's!"version": "1.0.0"!"version": "2.0.0"!' -e 's!"policy-version": 1!"policy-version": 2!' /w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-master-project-csit-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-api/compose +++ grafana=false +++ gui=false +++ [[ 2 -gt 0 ]] +++ key=api +++ case $key in +++ echo api api +++ component=api +++ shift +++ [[ 1 -gt 0 ]] +++ key=--grafana +++ case $key in +++ grafana=true +++ shift +++ [[ 0 -gt 0 ]] +++ cd /w/workspace/policy-api-master-project-csit-api/compose +++ echo 'Configuring docker compose...' Configuring docker compose... +++ source export-ports.sh +++ source get-versions.sh +++ '[' -z api ']' +++ '[' -n api ']' +++ '[' api == logs ']' +++ '[' true = true ']' +++ echo 'Starting api application with Grafana' Starting api application with Grafana +++ docker-compose up -d api grafana Creating network "compose_default" with the default driver Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 10.10.2: Pulling from mariadb Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:3.1.2-SNAPSHOT)... 3.1.2-SNAPSHOT: Pulling from onap/policy-db-migrator Digest: sha256:76f202a4ce3fb449efc5539e6f77655fea2bbfecb1fbc1342810b45a9f33c637 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.2-SNAPSHOT)... 3.1.2-SNAPSHOT: Pulling from onap/policy-api Digest: sha256:0e8cbccfee833c5b2be68d71dd51902b884e77df24bbbac2751693f58bdc20ce Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.1.2-SNAPSHOT Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:4f6c47e39a9064028766e8c95890ed15690c30f00c4ba14e7ce6ae1ded0295b1 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:7d5faae481a4c6f436c99e98af11534f7fd5e8d3e35213552dd1dd02bc393d2e Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating mariadb ... Creating prometheus ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-master-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 10 seconds policy-db-migrator Up 11 seconds grafana Up 13 seconds mariadb Up 11 seconds prometheus Up 13 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds mariadb Up 16 seconds prometheus Up 19 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds mariadb Up 21 seconds prometheus Up 24 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ sed 's/./& /g' ++ echo hxB + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/policy-api-master-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:21:45 up 14 min, 0 users, load average: 1.81, 0.72, 0.29 Tasks: 171 total, 1 running, 101 sleeping, 0 stopped, 0 zombie %Cpu(s): 2.7 us, 0.5 sy, 0.0 ni, 95.6 id, 1.1 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.1G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 9e8037d557a2 policy-api 0.10% 532.3MiB / 31.41GiB 1.65% 987kB / 646kB 0B / 0B 54 6af310376215 grafana 0.06% 58.98MiB / 31.41GiB 0.18% 18.3kB / 3.25kB 0B / 24.9MB 20 e156ec8d27ad mariadb 0.02% 101MiB / 31.41GiB 0.31% 921kB / 1.16MB 10.8MB / 67.7MB 28 a20a58bb912e prometheus 0.00% 18.92MiB / 31.41GiB 0.06% 1.52kB / 158B 229kB / 0B 13 + echo + cd /tmp/tmp.3S6oFxmUAY + 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-api/csit/resources/tests/|' + cat testplan.txt /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot' + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates' ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ... + relax_set + set +e + set +o pipefail + python3 -m robot.run -N api -v WORKSPACE:/tmp -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ============================================================================== api ============================================================================== api.Api-Test ============================================================================== Healthcheck :: Verify policy api health check | PASS | ------------------------------------------------------------------------------ RetrievePolicyTypes :: Retrieve all policy types | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | ------------------------------------------------------------------------------ RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNodeTemplates :: Create node templates in database using spe... | PASS | ------------------------------------------------------------------------------ RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | ------------------------------------------------------------------------------ RetrieveAllPolicies :: Retrieve all policies | PASS | ------------------------------------------------------------------------------ RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | ------------------------------------------------------------------------------ RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | ------------------------------------------------------------------------------ RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | ------------------------------------------------------------------------------ DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ Metrics :: Verify policy-api is exporting prometheus metrics | PASS | ------------------------------------------------------------------------------ api.Api-Test | PASS | 22 tests, 22 passed, 0 failed ============================================================================== api.Api-Slas ============================================================================== WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ api.Api-Slas | PASS | 9 tests, 9 passed, 0 failed ============================================================================== api | PASS | 31 tests, 31 passed, 0 failed ============================================================================== Output: /tmp/tmp.3S6oFxmUAY/output.xml Log: /tmp/tmp.3S6oFxmUAY/log.html Report: /tmp/tmp.3S6oFxmUAY/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-master-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:22:56 up 15 min, 0 users, load average: 0.63, 0.61, 0.29 Tasks: 169 total, 1 running, 99 sleeping, 0 stopped, 0 zombie %Cpu(s): 2.8 us, 0.5 sy, 0.0 ni, 95.6 id, 1.1 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.1G 28G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 9e8037d557a2 policy-api 0.10% 1.067GiB / 31.41GiB 3.40% 6.95MB / 2.31MB 0B / 0B 55 6af310376215 grafana 0.04% 59.67MiB / 31.41GiB 0.19% 19.3kB / 4.39kB 0B / 24.9MB 20 e156ec8d27ad mariadb 0.02% 101.7MiB / 31.41GiB 0.32% 2.15MB / 6.99MB 10.8MB / 67.9MB 18 a20a58bb912e prometheus 0.00% 23.95MiB / 31.41GiB 0.07% 55.5kB / 6.57kB 229kB / 0B 13 + echo + source_safely /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-api/compose ++ cd /w/workspace/policy-api-master-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-api, policy-db-migrator, grafana, mariadb, prometheus mariadb | 2024-04-13 11:21:18+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-04-13 11:21:18+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-04-13 11:21:18+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-04-13 11:21:18+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-04-13 11:21:18 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-13 11:21:18 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-04-13 11:21:18 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-13 11:21:20+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-04-13 11:21:20+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-04-13 11:21:20+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-04-13 11:21:20 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 95 ... mariadb | 2024-04-13 11:21:20 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-04-13 11:21:20 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-04-13 11:21:20 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-04-13 11:21:20 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) grafana | logger=settings t=2024-04-13T11:21:17.158178061Z level=info msg="Starting Grafana" version=10.4.2 commit=701c851be7a930e04fbc6ebb1cd4254da80edd4c branch=v10.4.x compiled=2024-04-13T11:21:17Z grafana | logger=settings t=2024-04-13T11:21:17.158392374Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-04-13T11:21:17.158399204Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-04-13T11:21:17.158402744Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-04-13T11:21:17.158405854Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-04-13T11:21:17.158408554Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-04-13T11:21:17.158415454Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-04-13T11:21:17.158545566Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-04-13T11:21:17.158560996Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-04-13T11:21:17.158564536Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-04-13T11:21:17.158567356Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-04-13T11:21:17.158570006Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-04-13T11:21:17.158572776Z level=info msg=Target target=[all] grafana | logger=settings t=2024-04-13T11:21:17.158578576Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-04-13T11:21:17.158581296Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-04-13T11:21:17.158584126Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-04-13T11:21:17.158586646Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-04-13T11:21:17.158589366Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-04-13T11:21:17.158592006Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-04-13T11:21:17.15891768Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-04-13T11:21:17.158940311Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-04-13T11:21:17.159631959Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-04-13T11:21:17.160488581Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-04-13T11:21:17.161400692Z level=info msg="Migration successfully executed" id="create migration_log table" duration=913.141µs grafana | logger=migrator t=2024-04-13T11:21:17.167804343Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-04-13T11:21:17.168435051Z level=info msg="Migration successfully executed" id="create user table" duration=631.218µs grafana | logger=migrator t=2024-04-13T11:21:17.171540792Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-04-13T11:21:17.172374452Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=833.59µs grafana | logger=migrator t=2024-04-13T11:21:17.175507082Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-04-13T11:21:17.176997951Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.489229ms grafana | logger=migrator t=2024-04-13T11:21:17.180549506Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-04-13T11:21:17.18161349Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.063984ms grafana | logger=migrator t=2024-04-13T11:21:17.184890631Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-04-13T11:21:17.18550752Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=616.839µs grafana | logger=migrator t=2024-04-13T11:21:17.190935329Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-04-13T11:21:17.193192747Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.256998ms grafana | logger=migrator t=2024-04-13T11:21:17.196019863Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-04-13T11:21:17.196776914Z level=info msg="Migration successfully executed" id="create user table v2" duration=757.171µs grafana | logger=migrator t=2024-04-13T11:21:17.199582049Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-04-13T11:21:17.200237687Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=655.318µs grafana | logger=migrator t=2024-04-13T11:21:17.203123054Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-04-13T11:21:17.203802623Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=679.099µs grafana | logger=migrator t=2024-04-13T11:21:17.209320813Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-04-13T11:21:17.209697157Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=376.374µs grafana | logger=migrator t=2024-04-13T11:21:17.212605394Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-04-13T11:21:17.213462706Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=857.522µs grafana | logger=migrator t=2024-04-13T11:21:17.21697544Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-04-13T11:21:17.219104267Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=2.127727ms grafana | logger=migrator t=2024-04-13T11:21:17.224380014Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-04-13T11:21:17.224404354Z level=info msg="Migration successfully executed" id="Update user table charset" duration=25.15µs grafana | logger=migrator t=2024-04-13T11:21:17.226747224Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-04-13T11:21:17.227772798Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.025414ms grafana | logger=migrator t=2024-04-13T11:21:17.230992068Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-04-13T11:21:17.231350543Z level=info msg="Migration successfully executed" id="Add missing user data" duration=355.115µs grafana | logger=migrator t=2024-04-13T11:21:17.234575524Z level=info msg="Executing migration" id="Add is_disabled column to user" policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.2:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.5:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v3.1.10) policy-api | policy-api | [2024-04-13T11:21:31.365+00:00|INFO|Version|background-preinit] HV000001: Hibernate Validator 8.0.1.Final policy-api | [2024-04-13T11:21:31.423+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.10 with PID 19 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-04-13T11:21:31.424+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-04-13T11:21:33.247+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-04-13T11:21:33.325+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 68 ms. Found 6 JPA repository interfaces. policy-api | [2024-04-13T11:21:33.741+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler policy-api | [2024-04-13T11:21:33.742+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler policy-api | [2024-04-13T11:21:34.305+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-04-13T11:21:34.315+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-04-13T11:21:34.317+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-04-13T11:21:34.317+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.19] policy-api | [2024-04-13T11:21:34.404+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-04-13T11:21:34.405+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2915 ms policy-api | [2024-04-13T11:21:34.795+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-04-13T11:21:34.860+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.2.Final policy-api | [2024-04-13T11:21:34.904+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-api | [2024-04-13T11:21:35.202+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer mariadb | 2024-04-13 11:21:20 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-13 11:21:20 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-04-13 11:21:20 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-04-13 11:21:20 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-04-13 11:21:20 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-04-13 11:21:20 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-04-13 11:21:20 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-04-13 11:21:20 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-04-13 11:21:20 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-04-13 11:21:20 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-04-13 11:21:20 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-04-13 11:21:20 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-04-13 11:21:20 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-04-13 11:21:20 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-13 11:21:21+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-04-13 11:21:22+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-04-13 11:21:22+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2024-04-13 11:21:22+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2024-04-13 11:21:22+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;' grafana | logger=migrator t=2024-04-13T11:21:17.236311896Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.735882ms grafana | logger=migrator t=2024-04-13T11:21:17.2413647Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-04-13T11:21:17.242029759Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=664.749µs grafana | logger=migrator t=2024-04-13T11:21:17.244870465Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-04-13T11:21:17.245965089Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.091713ms grafana | logger=migrator t=2024-04-13T11:21:17.249108858Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-04-13T11:21:17.260188139Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=11.074291ms grafana | logger=migrator t=2024-04-13T11:21:17.263229698Z level=info msg="Executing migration" id="Add uid column to user" grafana | logger=migrator t=2024-04-13T11:21:17.264330842Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=1.100814ms grafana | logger=migrator t=2024-04-13T11:21:17.269132292Z level=info msg="Executing migration" id="Update uid column values for users" grafana | logger=migrator t=2024-04-13T11:21:17.269352656Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=220.794µs grafana | logger=migrator t=2024-04-13T11:21:17.272668578Z level=info msg="Executing migration" id="Add unique index user_uid" grafana | logger=migrator t=2024-04-13T11:21:17.273407017Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=717.159µs grafana | logger=migrator t=2024-04-13T11:21:17.276648878Z 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-13T11:21:17.277068224Z level=info msg="Migration successfully executed" id="update login field with orgid to allow for multiple service accounts with same name across orgs" duration=419.386µs grafana | logger=migrator t=2024-04-13T11:21:17.280509937Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-04-13T11:21:17.281735603Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.225656ms grafana | logger=migrator t=2024-04-13T11:21:17.286908209Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-04-13T11:21:17.287955262Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.046793ms grafana | logger=migrator t=2024-04-13T11:21:17.2909233Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-04-13T11:21:17.291593058Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=669.328µs grafana | logger=migrator t=2024-04-13T11:21:17.294585747Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-04-13T11:21:17.295280396Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=694.438µs grafana | logger=migrator t=2024-04-13T11:21:17.300059706Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-04-13T11:21:17.30113048Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.070464ms grafana | logger=migrator t=2024-04-13T11:21:17.304513183Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-04-13T11:21:17.304546773Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=34.471µs grafana | logger=migrator t=2024-04-13T11:21:17.307093125Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-04-13T11:21:17.307698613Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=605.148µs grafana | logger=migrator t=2024-04-13T11:21:17.313130702Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-04-13T11:21:17.3137783Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=647.308µs grafana | logger=migrator t=2024-04-13T11:21:17.317465778Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-04-13T11:21:17.319175829Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.716482ms grafana | logger=migrator t=2024-04-13T11:21:17.322538222Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-04-13T11:21:17.323355772Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=818.99µs grafana | logger=migrator t=2024-04-13T11:21:17.328588499Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-04-13T11:21:17.333750245Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=5.164356ms grafana | logger=migrator t=2024-04-13T11:21:17.336763623Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-04-13T11:21:17.33818257Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=1.418877ms grafana | logger=migrator t=2024-04-13T11:21:17.341407161Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-04-13T11:21:17.342548187Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=1.140736ms grafana | logger=migrator t=2024-04-13T11:21:17.347920685Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-04-13T11:21:17.348624583Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=703.508µs grafana | logger=migrator t=2024-04-13T11:21:17.351399549Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-04-13T11:21:17.352101607Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=701.708µs grafana | logger=migrator t=2024-04-13T11:21:17.354934763Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" 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 | policy-api | [2024-04-13T11:21:35.235+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-04-13T11:21:35.331+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@75483843 policy-api | [2024-04-13T11:21:35.333+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-04-13T11:21:37.197+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-api | [2024-04-13T11:21:37.201+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-04-13T11:21:38.147+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-04-13T11:21:38.876+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-04-13T11:21:39.961+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2024-04-13T11:21:40.171+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@7f930614, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@6ef0a044, org.springframework.security.web.context.SecurityContextHolderFilter@231e5af, org.springframework.security.web.header.HeaderWriterFilter@4c48ccc4, org.springframework.security.web.authentication.logout.LogoutFilter@73d7b6b0, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@25b2d26a, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@56ed024b, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@5a26a14, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@73e505d5, org.springframework.security.web.access.ExceptionTranslationFilter@1d93bd2a, org.springframework.security.web.access.intercept.AuthorizationFilter@43cbc87f] policy-api | [2024-04-13T11:21:40.950+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-04-13T11:21:41.041+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-04-13T11:21:41.060+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-04-13T11:21:41.082+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.373 seconds (process running for 10.971) policy-api | [2024-04-13T11:21:48.512+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-04-13T11:21:48.512+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2024-04-13T11:21:48.514+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 2 ms policy-api | [2024-04-13T11:21:51.447+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2024-04-13T11:21:51.564+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes policy-api | [2024-04-13T11:21:51.866+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2024-04-13T11:21:53.143+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policies policy-api | [2024-04-13T11:21:55.063+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-04-13T11:21:55.351+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-04-13T11:21:55.563+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2024-04-13T11:21:55.781+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-04-13T11:21:56.025+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-13T11:21:17.356050217Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.114714ms grafana | logger=migrator t=2024-04-13T11:21:17.361347345Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-04-13T11:21:17.361938533Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=590.828µs grafana | logger=migrator t=2024-04-13T11:21:17.36488473Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-04-13T11:21:17.365766521Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=880.771µs 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 | 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-api | [2024-04-13T11:21:56.238+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 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-13 11:21:23+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-04-13 11:21:23 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-04-13 11:21:23 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-04-13 11:21:23 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-04-13 11:21:23 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-04-13 11:21:23 0 [Note] InnoDB: Buffer pool(s) dump completed at 240413 11:21:23 mariadb | 2024-04-13 11:21:23 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-04-13 11:21:23 0 [Note] InnoDB: Shutdown completed; log sequence number 331207; transaction id 298 mariadb | 2024-04-13 11:21:23 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-04-13 11:21:23+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-04-13 11:21:23+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-04-13 11:21:23 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-04-13 11:21:23 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-04-13 11:21:23 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-04-13 11:21:23 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-04-13 11:21:23 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-04-13 11:21:23 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-13 11:21:23 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-04-13 11:21:23 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-04-13 11:21:23 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-04-13 11:21:23 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-04-13 11:21:23 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-04-13 11:21:23 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-04-13 11:21:23 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-04-13 11:21:23 0 [Note] InnoDB: log sequence number 331207; transaction id 299 mariadb | 2024-04-13 11:21:23 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-04-13 11:21:23 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-04-13 11:21:23 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-04-13 11:21:23 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-04-13 11:21:23 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-04-13 11:21:23 0 [Note] Server socket created on IP: '::'. mariadb | 2024-04-13 11:21:23 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-13 11:21:23 0 [Note] InnoDB: Buffer pool(s) load completed at 240413 11:21:23 mariadb | 2024-04-13 11:21:24 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) mariadb | 2024-04-13 11:21:24 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) grafana | logger=migrator t=2024-04-13T11:21:17.368910711Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-04-13T11:21:17.369536139Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=622.498µs grafana | logger=migrator t=2024-04-13T11:21:17.372525267Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-04-13T11:21:17.373256727Z level=info msg="Migration successfully executed" id="create star table" duration=730.73µs grafana | logger=migrator t=2024-04-13T11:21:17.378170138Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-04-13T11:21:17.379108501Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=936.783µs grafana | logger=migrator t=2024-04-13T11:21:17.382783538Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-04-13T11:21:17.384107804Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.323477ms grafana | logger=migrator t=2024-04-13T11:21:17.387344806Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-04-13T11:21:17.388115525Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=768.729µs grafana | logger=migrator t=2024-04-13T11:21:17.390903541Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-04-13T11:21:17.391710101Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=805.89µs grafana | logger=migrator t=2024-04-13T11:21:17.395970105Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-04-13T11:21:17.396800226Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=829.871µs grafana | logger=migrator t=2024-04-13T11:21:17.399835924Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-04-13T11:21:17.400676864Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=840.64µs grafana | logger=migrator t=2024-04-13T11:21:17.403711873Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-04-13T11:21:17.405092141Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.379598ms grafana | logger=migrator t=2024-04-13T11:21:17.408765557Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-04-13T11:21:17.408813218Z level=info msg="Migration successfully executed" id="Update org table charset" duration=49.421µs grafana | logger=migrator t=2024-04-13T11:21:17.413999954Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-04-13T11:21:17.414030134Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=30.62µs grafana | logger=migrator t=2024-04-13T11:21:17.41683532Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-04-13T11:21:17.417132204Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=297.674µs grafana | logger=migrator t=2024-04-13T11:21:17.420329904Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-04-13T11:21:17.42149198Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.161935ms grafana | logger=migrator t=2024-04-13T11:21:17.424453437Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-04-13T11:21:17.425260197Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=805.89µs grafana | logger=migrator t=2024-04-13T11:21:17.430465353Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-04-13T11:21:17.431288583Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=822.53µs grafana | logger=migrator t=2024-04-13T11:21:17.434403663Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-04-13T11:21:17.435448237Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.042064ms grafana | logger=migrator t=2024-04-13T11:21:17.438677678Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-04-13T11:21:17.439941343Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.262915ms grafana | logger=migrator t=2024-04-13T11:21:17.445389383Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-04-13T11:21:17.446080202Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=690.879µs grafana | logger=migrator t=2024-04-13T11:21:17.449008859Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-04-13T11:21:17.456033788Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=7.025769ms grafana | logger=migrator t=2024-04-13T11:21:17.458843774Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-04-13T11:21:17.459627864Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=783.22µs grafana | logger=migrator t=2024-04-13T11:21:17.464228832Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-04-13T11:21:17.464946291Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=716.669µs grafana | logger=migrator t=2024-04-13T11:21:17.468115541Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-04-13T11:21:17.468896862Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=780.761µs grafana | logger=migrator t=2024-04-13T11:21:17.472130333Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-04-13T11:21:17.472635399Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=505.396µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T11:21:17.478456603Z level=info msg="Executing migration" id="drop table dashboard_v1" policy-db-migrator | grafana | logger=migrator t=2024-04-13T11:21:17.4797011Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.243867ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T11:21:17.482945711Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" prometheus | ts=2024-04-13T11:21:16.246Z caller=main.go:573 level=info msg="No time or size retention was set so using the default time retention" duration=15d policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql grafana | logger=migrator t=2024-04-13T11:21:17.483052262Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=105.042µs prometheus | ts=2024-04-13T11:21:16.247Z caller=main.go:617 level=info msg="Starting Prometheus Server" mode=server version="(version=2.51.2, branch=HEAD, revision=b4c0ab52c3e9b940ab803581ddae9b3d9a452337)" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T11:21:17.486707718Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" prometheus | ts=2024-04-13T11:21:16.247Z caller=main.go:622 level=info build_context="(go=go1.22.2, platform=linux/amd64, user=root@b63f02a423d9, date=20240410-14:05:54, tags=netgo,builtinassets,stringlabels)" grafana | logger=migrator t=2024-04-13T11:21:17.489613795Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.905417ms 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) prometheus | ts=2024-04-13T11:21:16.247Z 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))" grafana | logger=migrator t=2024-04-13T11:21:17.49388242Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" policy-db-migrator | -------------- prometheus | ts=2024-04-13T11:21:16.247Z caller=main.go:624 level=info fd_limits="(soft=1048576, hard=1048576)" policy-db-migrator | grafana | logger=migrator t=2024-04-13T11:21:17.495626201Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.743331ms prometheus | ts=2024-04-13T11:21:16.247Z caller=main.go:625 level=info vm_limits="(soft=unlimited, hard=unlimited)" policy-db-migrator | grafana | logger=migrator t=2024-04-13T11:21:17.498608219Z level=info msg="Executing migration" id="Add column gnetId in dashboard" prometheus | ts=2024-04-13T11:21:16.251Z caller=web.go:568 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql grafana | logger=migrator t=2024-04-13T11:21:17.500338732Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.728522ms prometheus | ts=2024-04-13T11:21:16.252Z caller=main.go:1129 level=info msg="Starting TSDB ..." policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T11:21:17.503239558Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" prometheus | ts=2024-04-13T11:21:16.253Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) grafana | logger=migrator t=2024-04-13T11:21:17.503993618Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=753.749µs prometheus | ts=2024-04-13T11:21:16.253Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T11:21:17.50802982Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" prometheus | ts=2024-04-13T11:21:16.263Z caller=head.go:616 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" policy-db-migrator | grafana | logger=migrator t=2024-04-13T11:21:17.509841822Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.811152ms prometheus | ts=2024-04-13T11:21:16.263Z caller=head.go:698 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=3.83µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T11:21:17.51281978Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" prometheus | ts=2024-04-13T11:21:16.263Z caller=head.go:706 level=info component=tsdb msg="Replaying WAL, this may take a while" policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql grafana | logger=migrator t=2024-04-13T11:21:17.51361114Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=790.38µs prometheus | ts=2024-04-13T11:21:16.263Z caller=head.go:778 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T11:21:17.51672529Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" prometheus | ts=2024-04-13T11:21:16.263Z caller=head.go:815 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=43.501µs wal_replay_duration=461.808µs wbl_replay_duration=260ns total_replay_duration=550.489µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-13T11:21:17.517464379Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=738.799µs prometheus | ts=2024-04-13T11:21:16.267Z caller=main.go:1150 level=info fs_type=EXT4_SUPER_MAGIC policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T11:21:17.521178166Z level=info msg="Executing migration" id="Update dashboard table charset" prometheus | ts=2024-04-13T11:21:16.267Z caller=main.go:1153 level=info msg="TSDB started" policy-db-migrator | grafana | logger=migrator t=2024-04-13T11:21:17.521217986Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=24.91µs prometheus | ts=2024-04-13T11:21:16.267Z caller=main.go:1335 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml policy-db-migrator | grafana | logger=migrator t=2024-04-13T11:21:17.524255706Z level=info msg="Executing migration" id="Update dashboard_tag table charset" prometheus | ts=2024-04-13T11:21:16.269Z caller=main.go:1372 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.477182ms db_storage=1.57µs remote_storage=2.26µs web_handler=880ns query_engine=1.12µs scrape=366.045µs scrape_sd=239.334µs notify=32.051µs notify_sd=24.05µs rules=2.32µs tracing=6.44µs policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql grafana | logger=migrator t=2024-04-13T11:21:17.524294956Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=37.83µs prometheus | ts=2024-04-13T11:21:16.269Z caller=main.go:1114 level=info msg="Server is ready to receive web requests." policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T11:21:17.527114112Z level=info msg="Executing migration" id="Add column folder_id in dashboard" prometheus | ts=2024-04-13T11:21:16.269Z caller=manager.go:163 level=info component="rule manager" msg="Starting rule manager..." policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-13T11:21:17.530170071Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.054659ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T11:21:17.534801359Z level=info msg="Executing migration" id="Add column isFolder in dashboard" policy-db-migrator | grafana | logger=migrator t=2024-04-13T11:21:17.536676373Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.874474ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T11:21:17.539812583Z level=info msg="Executing migration" id="Add column has_acl in dashboard" policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql grafana | logger=migrator t=2024-04-13T11:21:17.542845562Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=3.032369ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T11:21:17.546104993Z level=info msg="Executing migration" id="Add column uid in dashboard" 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-13T11:21:17.549116951Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=3.011228ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T11:21:17.553083482Z level=info msg="Executing migration" id="Update uid column values in dashboard" policy-db-migrator | grafana | logger=migrator t=2024-04-13T11:21:17.553312905Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=229.293µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T11:21:17.556426184Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql grafana | logger=migrator t=2024-04-13T11:21:17.557134133Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=709.529µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T11:21:17.560464835Z level=info msg="Executing migration" id="Remove unique index org_id_slug" 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-13T11:21:17.56156945Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.104725ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T11:21:17.564648629Z level=info msg="Executing migration" id="Update dashboard title length" policy-db-migrator | grafana | logger=migrator t=2024-04-13T11:21:17.564688479Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=38.86µs policy-db-migrator | grafana | logger=migrator t=2024-04-13T11:21:17.568565908Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql grafana | logger=migrator t=2024-04-13T11:21:17.569336459Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=769.991µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T11:21:17.572284766Z level=info msg="Executing migration" id="create dashboard_provisioning" 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-13T11:21:17.572945384Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=662.208µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T11:21:17.576248006Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" policy-db-migrator | grafana | logger=migrator t=2024-04-13T11:21:17.584353349Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=8.105063ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T11:21:17.588302879Z level=info msg="Executing migration" id="create dashboard_provisioning v2" policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql grafana | logger=migrator t=2024-04-13T11:21:17.588798636Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=495.717µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T11:21:17.591635772Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" 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-13T11:21:17.592181559Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=545.887µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T11:21:17.594956784Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" policy-db-migrator | grafana | logger=migrator t=2024-04-13T11:21:17.596129119Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.171865ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T11:21:17.600474054Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-04-13T11:21:17.60094903Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=474.996µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T11:21:17.604221802Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" 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-13T11:21:17.604713568Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=492.076µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T11:21:17.607028337Z level=info msg="Executing migration" id="Add check_sum column" policy-db-migrator | grafana | logger=migrator t=2024-04-13T11:21:17.608999013Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=1.970506ms policy-db-migrator | grafana | logger=migrator t=2024-04-13T11:21:17.61278226Z level=info msg="Executing migration" id="Add index for dashboard_title" policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql grafana | logger=migrator t=2024-04-13T11:21:17.6135696Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=786.86µs policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-04-13T11:21:17.616483277Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-04-13T11:21:17.616648339Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=164.932µs grafana | logger=migrator t=2024-04-13T11:21:17.619340423Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-04-13T11:21:17.619602188Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=261.975µs grafana | logger=migrator t=2024-04-13T11:21:17.622829809Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-04-13T11:21:17.624046634Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.221436ms grafana | logger=migrator t=2024-04-13T11:21:17.628375759Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-04-13T11:21:17.630501725Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.125086ms grafana | logger=migrator t=2024-04-13T11:21:17.633453413Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2024-04-13T11:21:17.634369785Z level=info msg="Migration successfully executed" id="create data_source table" duration=917.582µs grafana | logger=migrator t=2024-04-13T11:21:17.637365483Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-04-13T11:21:17.638154463Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=788.64µs grafana | logger=migrator t=2024-04-13T11:21:17.642156064Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-04-13T11:21:17.642965334Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=803.71µs grafana | logger=migrator t=2024-04-13T11:21:17.646100554Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-04-13T11:21:17.647212578Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.112074ms grafana | logger=migrator t=2024-04-13T11:21:17.650827864Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-04-13T11:21:17.651934728Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.106864ms grafana | logger=migrator t=2024-04-13T11:21:17.655898889Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-04-13T11:21:17.661889435Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=5.990186ms grafana | logger=migrator t=2024-04-13T11:21:17.665197737Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-04-13T11:21:17.666131548Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=933.681µs grafana | logger=migrator t=2024-04-13T11:21:17.670360693Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-04-13T11:21:17.671654508Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.293746ms grafana | logger=migrator t=2024-04-13T11:21:17.674847859Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-04-13T11:21:17.676113186Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.262007ms grafana | logger=migrator t=2024-04-13T11:21:17.679323457Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-04-13T11:21:17.680133396Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=807.09µs grafana | logger=migrator t=2024-04-13T11:21:17.684357731Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-04-13T11:21:17.688110848Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.751668ms grafana | logger=migrator t=2024-04-13T11:21:17.691310518Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-04-13T11:21:17.693566937Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.255289ms grafana | logger=migrator t=2024-04-13T11:21:17.69692344Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-04-13T11:21:17.69695147Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=28.28µs grafana | logger=migrator t=2024-04-13T11:21:17.700920171Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-04-13T11:21:17.701112203Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=191.892µs grafana | logger=migrator t=2024-04-13T11:21:17.704418205Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-04-13T11:21:17.707234991Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.814916ms grafana | logger=migrator t=2024-04-13T11:21:17.710603824Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-04-13T11:21:17.710945748Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=341.634µs grafana | logger=migrator t=2024-04-13T11:21:17.71427127Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-04-13T11:21:17.714421182Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=149.812µs grafana | logger=migrator t=2024-04-13T11:21:17.718257631Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-04-13T11:21:17.720750943Z level=info msg="Migration successfully executed" id="Add uid column" duration=2.492522ms grafana | logger=migrator t=2024-04-13T11:21:17.723749851Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-04-13T11:21:17.723941473Z level=info msg="Migration successfully executed" id="Update uid value" duration=191.482µs grafana | logger=migrator t=2024-04-13T11:21:17.726952722Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-04-13T11:21:17.727700951Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=747.769µs grafana | logger=migrator t=2024-04-13T11:21:17.731386188Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-04-13T11:21:17.732112207Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=725.829µs grafana | logger=migrator t=2024-04-13T11:21:17.735531871Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-04-13T11:21:17.736732375Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.198064ms grafana | logger=migrator t=2024-04-13T11:21:17.740238311Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-04-13T11:21:17.741513346Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.274465ms policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T11:21:17.745840262Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-04-13T11:21:17.746703433Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=861.621µs grafana | logger=migrator t=2024-04-13T11:21:17.752034311Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-04-13T11:21:17.753332186Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.300906ms grafana | logger=migrator t=2024-04-13T11:21:17.756425706Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-04-13T11:21:17.757177626Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=752.17µs grafana | logger=migrator t=2024-04-13T11:21:17.761066925Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-04-13T11:21:17.761809304Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=742.159µs grafana | logger=migrator t=2024-04-13T11:21:17.764716281Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-04-13T11:21:17.765473231Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=756.43µs grafana | logger=migrator t=2024-04-13T11:21:17.769008646Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-04-13T11:21:17.779773433Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=10.765357ms grafana | logger=migrator t=2024-04-13T11:21:17.784135348Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-04-13T11:21:17.784913839Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=778.131µs grafana | logger=migrator t=2024-04-13T11:21:17.788392573Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-04-13T11:21:17.789112881Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=720.009µs grafana | logger=migrator t=2024-04-13T11:21:17.793175094Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-04-13T11:21:17.793944413Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=770.989µs grafana | logger=migrator t=2024-04-13T11:21:17.797164864Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-04-13T11:21:17.798367889Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.202795ms grafana | logger=migrator t=2024-04-13T11:21:17.801972135Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-04-13T11:21:17.802478722Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=506.037µs grafana | logger=migrator t=2024-04-13T11:21:17.805649932Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-04-13T11:21:17.806169378Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=517.226µs grafana | logger=migrator t=2024-04-13T11:21:17.810812948Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-04-13T11:21:17.810834248Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=21.671µs grafana | logger=migrator t=2024-04-13T11:21:17.814564355Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-04-13T11:21:17.818429635Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=3.864809ms grafana | logger=migrator t=2024-04-13T11:21:17.822074751Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-04-13T11:21:17.824491821Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.41557ms grafana | logger=migrator t=2024-04-13T11:21:17.828652214Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-04-13T11:21:17.828841916Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=191.712µs grafana | logger=migrator t=2024-04-13T11:21:17.831212656Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-04-13T11:21:17.833683928Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.471602ms grafana | logger=migrator t=2024-04-13T11:21:17.836670926Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-04-13T11:21:17.83932287Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.652214ms grafana | logger=migrator t=2024-04-13T11:21:17.843087557Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-04-13T11:21:17.843889528Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=801.981µs grafana | logger=migrator t=2024-04-13T11:21:17.847127659Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-04-13T11:21:17.847707356Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=577.247µs grafana | logger=migrator t=2024-04-13T11:21:17.850951567Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-04-13T11:21:17.851827288Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=874.961µs grafana | logger=migrator t=2024-04-13T11:21:17.855630457Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-04-13T11:21:17.856468757Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=838.01µs grafana | logger=migrator t=2024-04-13T11:21:17.859531096Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-04-13T11:21:17.860421258Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=887.432µs grafana | logger=migrator t=2024-04-13T11:21:17.863472817Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-04-13T11:21:17.864754093Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.281126ms grafana | logger=migrator t=2024-04-13T11:21:17.8684507Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-04-13T11:21:17.868554201Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=104.312µs grafana | logger=migrator t=2024-04-13T11:21:17.870971591Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-04-13T11:21:17.870994412Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=23.491µs policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql policy-db-migrator | -------------- 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 | policy-db-migrator | policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql policy-db-migrator | -------------- 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) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0450-pdpgroup.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0460-pdppolicystatus.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0470-pdp.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0480-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T11:21:17.874229003Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-04-13T11:21:17.876826546Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=2.596983ms grafana | logger=migrator t=2024-04-13T11:21:17.879751053Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-04-13T11:21:17.882459907Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.708354ms grafana | logger=migrator t=2024-04-13T11:21:17.886320457Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-04-13T11:21:17.886468009Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=146.892µs grafana | logger=migrator t=2024-04-13T11:21:17.889891522Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-04-13T11:21:17.89122902Z level=info msg="Migration successfully executed" id="create quota table v1" duration=1.337038ms grafana | logger=migrator t=2024-04-13T11:21:17.89442643Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2024-04-13T11:21:17.895906909Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.479599ms grafana | logger=migrator t=2024-04-13T11:21:17.899963651Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2024-04-13T11:21:17.899990221Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=27.18µs grafana | logger=migrator t=2024-04-13T11:21:17.903022379Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2024-04-13T11:21:17.903800839Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=778.08µs grafana | logger=migrator t=2024-04-13T11:21:17.907097431Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2024-04-13T11:21:17.908404148Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.320177ms grafana | logger=migrator t=2024-04-13T11:21:17.912420878Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2024-04-13T11:21:17.915299395Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.877767ms grafana | logger=migrator t=2024-04-13T11:21:17.918220912Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2024-04-13T11:21:17.918245983Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=26.511µs grafana | logger=migrator t=2024-04-13T11:21:17.921295311Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2024-04-13T11:21:17.922095012Z level=info msg="Migration successfully executed" id="create session table" duration=801.371µs grafana | logger=migrator t=2024-04-13T11:21:17.926053372Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2024-04-13T11:21:17.926133023Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=79.591µs grafana | logger=migrator t=2024-04-13T11:21:17.929137291Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2024-04-13T11:21:17.929310083Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=171.772µs grafana | logger=migrator t=2024-04-13T11:21:17.932812868Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-04-13T11:21:17.933899672Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.086364ms grafana | logger=migrator t=2024-04-13T11:21:17.937477807Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2024-04-13T11:21:17.938655052Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.177265ms grafana | logger=migrator t=2024-04-13T11:21:17.942572282Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2024-04-13T11:21:17.942597142Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=26.22µs grafana | logger=migrator t=2024-04-13T11:21:17.946769105Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2024-04-13T11:21:17.946792325Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=24.3µs grafana | logger=migrator t=2024-04-13T11:21:17.950123508Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2024-04-13T11:21:17.955497906Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=5.369257ms grafana | logger=migrator t=2024-04-13T11:21:17.958970481Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2024-04-13T11:21:17.961920628Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=2.950357ms grafana | logger=migrator t=2024-04-13T11:21:17.965738546Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2024-04-13T11:21:17.965813817Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=75.501µs grafana | logger=migrator t=2024-04-13T11:21:17.968685324Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2024-04-13T11:21:17.968760525Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=73.72µs grafana | logger=migrator t=2024-04-13T11:21:17.971028114Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2024-04-13T11:21:17.971811603Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=780.059µs grafana | logger=migrator t=2024-04-13T11:21:17.975884655Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2024-04-13T11:21:17.975918316Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=34.951µs grafana | logger=migrator t=2024-04-13T11:21:17.979229258Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2024-04-13T11:21:17.98410861Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=4.879172ms grafana | logger=migrator t=2024-04-13T11:21:17.987396212Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-04-13T11:21:17.987538143Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=141.771µs grafana | logger=migrator t=2024-04-13T11:21:17.991262621Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2024-04-13T11:21:17.994281349Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.018029ms grafana | logger=migrator t=2024-04-13T11:21:17.997076864Z level=info msg="Executing migration" id="Add column preferences.json_data" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-04-13T11:21:18.000093063Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.015939ms grafana | logger=migrator t=2024-04-13T11:21:18.003269794Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2024-04-13T11:21:18.003327365Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=58.011µs grafana | logger=migrator t=2024-04-13T11:21:18.006399103Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2024-04-13T11:21:18.007298814Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=899.641µs grafana | logger=migrator t=2024-04-13T11:21:18.011399136Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2024-04-13T11:21:18.0124425Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.044454ms grafana | logger=migrator t=2024-04-13T11:21:18.015651021Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2024-04-13T11:21:18.017466494Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.815223ms grafana | logger=migrator t=2024-04-13T11:21:18.021633267Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2024-04-13T11:21:18.022483537Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=850.42µs grafana | logger=migrator t=2024-04-13T11:21:18.025181911Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-04-13T11:21:18.025995822Z level=info msg="Migration successfully executed" id="add index alert state" duration=814.081µs grafana | logger=migrator t=2024-04-13T11:21:18.028897819Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-04-13T11:21:18.029712209Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=812.72µs grafana | logger=migrator t=2024-04-13T11:21:18.034655393Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-04-13T11:21:18.035323801Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=668.468µs grafana | logger=migrator t=2024-04-13T11:21:18.038312689Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-04-13T11:21:18.039164189Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=851.21µs grafana | logger=migrator t=2024-04-13T11:21:18.042119827Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-04-13T11:21:18.042901257Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=781.37µs grafana | logger=migrator t=2024-04-13T11:21:18.046728166Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-04-13T11:21:18.060057635Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=13.331089ms grafana | logger=migrator t=2024-04-13T11:21:18.063231515Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2024-04-13T11:21:18.063721052Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=489.227µs grafana | logger=migrator t=2024-04-13T11:21:18.066964953Z 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-13T11:21:18.067748543Z 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=783.41µs grafana | logger=migrator t=2024-04-13T11:21:18.071643302Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2024-04-13T11:21:18.071905526Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=262.374µs grafana | logger=migrator t=2024-04-13T11:21:18.074803952Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2024-04-13T11:21:18.075584332Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=779.16µs grafana | logger=migrator t=2024-04-13T11:21:18.079030697Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2024-04-13T11:21:18.079983009Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=954.672µs grafana | logger=migrator t=2024-04-13T11:21:18.08327213Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2024-04-13T11:21:18.08881583Z level=info msg="Migration successfully executed" id="Add column is_default" duration=5.54294ms grafana | logger=migrator t=2024-04-13T11:21:18.092607688Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2024-04-13T11:21:18.096125644Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.517566ms grafana | logger=migrator t=2024-04-13T11:21:18.100985435Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2024-04-13T11:21:18.106663517Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=5.679242ms grafana | logger=migrator t=2024-04-13T11:21:18.110607488Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2024-04-13T11:21:18.114156233Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.549784ms grafana | logger=migrator t=2024-04-13T11:21:18.118418237Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-04-13T11:21:18.119340039Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=920.872µs grafana | logger=migrator t=2024-04-13T11:21:18.122009422Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2024-04-13T11:21:18.122036513Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=27.541µs grafana | logger=migrator t=2024-04-13T11:21:18.126162755Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2024-04-13T11:21:18.126185825Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=23.62µs grafana | logger=migrator t=2024-04-13T11:21:18.128553145Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2024-04-13T11:21:18.129287475Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=734.63µs grafana | logger=migrator t=2024-04-13T11:21:18.131735186Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-04-13T11:21:18.132580767Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=847.731µs grafana | logger=migrator t=2024-04-13T11:21:18.134899956Z level=info msg="Executing migration" id="drop alert_notification_journal" policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T11:21:18.135615896Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=715.629µs grafana | logger=migrator t=2024-04-13T11:21:18.139451264Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2024-04-13T11:21:18.140194703Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=743.159µs grafana | logger=migrator t=2024-04-13T11:21:18.142793807Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-04-13T11:21:18.143624348Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=828.602µs grafana | logger=migrator t=2024-04-13T11:21:18.14778335Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2024-04-13T11:21:18.151885043Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=4.100973ms grafana | logger=migrator t=2024-04-13T11:21:18.154577797Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2024-04-13T11:21:18.158268693Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.690526ms grafana | logger=migrator t=2024-04-13T11:21:18.160843836Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2024-04-13T11:21:18.161017718Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=173.742µs grafana | logger=migrator t=2024-04-13T11:21:18.165961201Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2024-04-13T11:21:18.166825732Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=864.211µs grafana | logger=migrator t=2024-04-13T11:21:18.169662588Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2024-04-13T11:21:18.170445518Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=783.44µs grafana | logger=migrator t=2024-04-13T11:21:18.173099822Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2024-04-13T11:21:18.176814449Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.714197ms grafana | logger=migrator t=2024-04-13T11:21:18.180999152Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2024-04-13T11:21:18.181065533Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=66.681µs grafana | logger=migrator t=2024-04-13T11:21:18.18314403Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2024-04-13T11:21:18.18395161Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=807.36µs grafana | logger=migrator t=2024-04-13T11:21:18.186600023Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2024-04-13T11:21:18.18792638Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.325817ms grafana | logger=migrator t=2024-04-13T11:21:18.192890783Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2024-04-13T11:21:18.192980094Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=90.091µs grafana | logger=migrator t=2024-04-13T11:21:18.19494357Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2024-04-13T11:21:18.195846811Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=904.831µs grafana | logger=migrator t=2024-04-13T11:21:18.198714337Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2024-04-13T11:21:18.199555588Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=840.501µs grafana | logger=migrator t=2024-04-13T11:21:18.202892511Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2024-04-13T11:21:18.204333469Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.440708ms grafana | logger=migrator t=2024-04-13T11:21:18.208056657Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2024-04-13T11:21:18.208884447Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=824.94µs grafana | logger=migrator t=2024-04-13T11:21:18.211553361Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2024-04-13T11:21:18.212476722Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=923.021µs grafana | logger=migrator t=2024-04-13T11:21:18.216483364Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2024-04-13T11:21:18.217412365Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=930.141µs grafana | logger=migrator t=2024-04-13T11:21:18.22016583Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2024-04-13T11:21:18.22019018Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=25.29µs grafana | logger=migrator t=2024-04-13T11:21:18.221944233Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2024-04-13T11:21:18.225850782Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=3.906079ms grafana | logger=migrator t=2024-04-13T11:21:18.230004375Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2024-04-13T11:21:18.230786495Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=781.96µs grafana | logger=migrator t=2024-04-13T11:21:18.233326298Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2024-04-13T11:21:18.237132156Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=3.807627ms grafana | logger=migrator t=2024-04-13T11:21:18.239645907Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2024-04-13T11:21:18.240297206Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=651.229µs grafana | logger=migrator t=2024-04-13T11:21:18.244184956Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2024-04-13T11:21:18.245036616Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=851.42µs grafana | logger=migrator t=2024-04-13T11:21:18.247542548Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2024-04-13T11:21:18.248339108Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=796.62µs policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0670-toscapolicies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0690-toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0700-toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0710-toscapolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0730-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0770-toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0780-toscarequirements.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0820-toscatrigger.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T11:21:18.251072123Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2024-04-13T11:21:18.262203484Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=11.131401ms grafana | logger=migrator t=2024-04-13T11:21:18.266135894Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2024-04-13T11:21:18.266615961Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=479.977µs grafana | logger=migrator t=2024-04-13T11:21:18.269093231Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" grafana | logger=migrator t=2024-04-13T11:21:18.26971006Z 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=616.989µs grafana | logger=migrator t=2024-04-13T11:21:18.27213224Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2024-04-13T11:21:18.272385274Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=252.754µs grafana | logger=migrator t=2024-04-13T11:21:18.276425155Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2024-04-13T11:21:18.276993952Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=568.317µs grafana | logger=migrator t=2024-04-13T11:21:18.280238473Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2024-04-13T11:21:18.280479686Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=240.713µs grafana | logger=migrator t=2024-04-13T11:21:18.282894437Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2024-04-13T11:21:18.286843158Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=3.946241ms grafana | logger=migrator t=2024-04-13T11:21:18.290011878Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2024-04-13T11:21:18.294951711Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.940783ms grafana | logger=migrator t=2024-04-13T11:21:18.29883004Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2024-04-13T11:21:18.299734731Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=902.891µs grafana | logger=migrator t=2024-04-13T11:21:18.302697118Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2024-04-13T11:21:18.30352527Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=827.902µs grafana | logger=migrator t=2024-04-13T11:21:18.30671216Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2024-04-13T11:21:18.306961893Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=249.283µs grafana | logger=migrator t=2024-04-13T11:21:18.312529314Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2024-04-13T11:21:18.320719898Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=8.190314ms grafana | logger=migrator t=2024-04-13T11:21:18.324395455Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2024-04-13T11:21:18.325256865Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=859.13µs grafana | logger=migrator t=2024-04-13T11:21:18.328229534Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2024-04-13T11:21:18.328416766Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=185.752µs grafana | logger=migrator t=2024-04-13T11:21:18.332326576Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2024-04-13T11:21:18.33270992Z level=info msg="Migration successfully executed" id="Move region to single row" duration=384.195µs grafana | logger=migrator t=2024-04-13T11:21:18.339591528Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2024-04-13T11:21:18.340319657Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=728.919µs grafana | logger=migrator t=2024-04-13T11:21:18.343819332Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2024-04-13T11:21:18.34450142Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=682.228µs grafana | logger=migrator t=2024-04-13T11:21:18.348151537Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-04-13T11:21:18.348763205Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=611.487µs grafana | logger=migrator t=2024-04-13T11:21:18.351195146Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-04-13T11:21:18.352013766Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=820.61µs grafana | logger=migrator t=2024-04-13T11:21:18.355727963Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2024-04-13T11:21:18.359602552Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=3.854839ms grafana | logger=migrator t=2024-04-13T11:21:18.36808585Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2024-04-13T11:21:18.369526168Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.440158ms grafana | logger=migrator t=2024-04-13T11:21:18.374415181Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2024-04-13T11:21:18.374519042Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=104.401µs grafana | logger=migrator t=2024-04-13T11:21:18.377941835Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2024-04-13T11:21:18.378751796Z level=info msg="Migration successfully executed" id="create test_data table" duration=809.641µs grafana | logger=migrator t=2024-04-13T11:21:18.387577948Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2024-04-13T11:21:18.389991879Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=2.417901ms grafana | logger=migrator t=2024-04-13T11:21:18.394592397Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2024-04-13T11:21:18.39557192Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=978.833µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-04-13T11:21:18.398149521Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2024-04-13T11:21:18.399111454Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=961.623µs grafana | logger=migrator t=2024-04-13T11:21:18.403795023Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2024-04-13T11:21:18.403972497Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=177.464µs grafana | logger=migrator t=2024-04-13T11:21:18.406531998Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2024-04-13T11:21:18.406893504Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=355.886µs grafana | logger=migrator t=2024-04-13T11:21:18.410250046Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2024-04-13T11:21:18.410312887Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=66.321µs grafana | logger=migrator t=2024-04-13T11:21:18.413109112Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2024-04-13T11:21:18.414693562Z level=info msg="Migration successfully executed" id="create team table" duration=1.58295ms grafana | logger=migrator t=2024-04-13T11:21:18.421329777Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2024-04-13T11:21:18.422616443Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.289066ms grafana | logger=migrator t=2024-04-13T11:21:18.428293605Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2024-04-13T11:21:18.42940456Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.110675ms grafana | logger=migrator t=2024-04-13T11:21:18.432828753Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2024-04-13T11:21:18.437536663Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.70749ms grafana | logger=migrator t=2024-04-13T11:21:18.439786191Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2024-04-13T11:21:18.439958153Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=172.032µs grafana | logger=migrator t=2024-04-13T11:21:18.445655965Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2024-04-13T11:21:18.446615988Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=959.913µs grafana | logger=migrator t=2024-04-13T11:21:18.449298973Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2024-04-13T11:21:18.450048012Z level=info msg="Migration successfully executed" id="create team member table" duration=749.149µs grafana | logger=migrator t=2024-04-13T11:21:18.453333723Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2024-04-13T11:21:18.454156853Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=823.08µs grafana | logger=migrator t=2024-04-13T11:21:18.457330535Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2024-04-13T11:21:18.458169895Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=841.31µs grafana | logger=migrator t=2024-04-13T11:21:18.462816724Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2024-04-13T11:21:18.463557713Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=741.679µs grafana | logger=migrator t=2024-04-13T11:21:18.466088916Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2024-04-13T11:21:18.469662361Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=3.573365ms grafana | logger=migrator t=2024-04-13T11:21:18.47590723Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2024-04-13T11:21:18.479241982Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=3.335532ms grafana | logger=migrator t=2024-04-13T11:21:18.484158835Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2024-04-13T11:21:18.488720593Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.559508ms grafana | logger=migrator t=2024-04-13T11:21:18.491338407Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2024-04-13T11:21:18.49241404Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.075433ms grafana | logger=migrator t=2024-04-13T11:21:18.495131524Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2024-04-13T11:21:18.496137537Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.005133ms grafana | logger=migrator t=2024-04-13T11:21:18.501284893Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2024-04-13T11:21:18.502495859Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.221036ms grafana | logger=migrator t=2024-04-13T11:21:18.506157035Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2024-04-13T11:21:18.507242198Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.084403ms grafana | logger=migrator t=2024-04-13T11:21:18.512202222Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2024-04-13T11:21:18.513085623Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=882.731µs grafana | logger=migrator t=2024-04-13T11:21:18.515676006Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2024-04-13T11:21:18.516579538Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=903.312µs grafana | logger=migrator t=2024-04-13T11:21:18.519453814Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2024-04-13T11:21:18.520313235Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=859.251µs grafana | logger=migrator t=2024-04-13T11:21:18.52304915Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2024-04-13T11:21:18.52389452Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=844.49µs grafana | logger=migrator t=2024-04-13T11:21:18.528499159Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2024-04-13T11:21:18.529015585Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=516.946µs policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T11:21:18.534976851Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2024-04-13T11:21:18.535309655Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=336.534µs grafana | logger=migrator t=2024-04-13T11:21:18.540156387Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2024-04-13T11:21:18.541402083Z level=info msg="Migration successfully executed" id="create tag table" duration=1.245446ms grafana | logger=migrator t=2024-04-13T11:21:18.544354551Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2024-04-13T11:21:18.5458972Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.542839ms grafana | logger=migrator t=2024-04-13T11:21:18.551834055Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2024-04-13T11:21:18.552535565Z level=info msg="Migration successfully executed" id="create login attempt table" duration=699.07µs grafana | logger=migrator t=2024-04-13T11:21:18.555082806Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2024-04-13T11:21:18.555947218Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=863.852µs grafana | logger=migrator t=2024-04-13T11:21:18.560304143Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2024-04-13T11:21:18.561144714Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=839.981µs grafana | logger=migrator t=2024-04-13T11:21:18.563582235Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2024-04-13T11:21:18.57737992Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=13.796635ms grafana | logger=migrator t=2024-04-13T11:21:18.581958618Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2024-04-13T11:21:18.582721118Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=762.22µs grafana | logger=migrator t=2024-04-13T11:21:18.587114814Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2024-04-13T11:21:18.588006475Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=890.801µs grafana | logger=migrator t=2024-04-13T11:21:18.59075673Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2024-04-13T11:21:18.591106004Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=350.884µs grafana | logger=migrator t=2024-04-13T11:21:18.596126958Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2024-04-13T11:21:18.596764656Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=637.058µs grafana | logger=migrator t=2024-04-13T11:21:18.601659409Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2024-04-13T11:21:18.602471288Z level=info msg="Migration successfully executed" id="create user auth table" duration=810.36µs grafana | logger=migrator t=2024-04-13T11:21:18.605741141Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2024-04-13T11:21:18.606728253Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=988.422µs grafana | logger=migrator t=2024-04-13T11:21:18.610706964Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2024-04-13T11:21:18.610785455Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=79.05µs grafana | logger=migrator t=2024-04-13T11:21:18.61592943Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2024-04-13T11:21:18.619870011Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=3.942931ms grafana | logger=migrator t=2024-04-13T11:21:18.623051661Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2024-04-13T11:21:18.628182696Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.131375ms grafana | logger=migrator t=2024-04-13T11:21:18.631359637Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2024-04-13T11:21:18.636437431Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.077314ms grafana | logger=migrator t=2024-04-13T11:21:18.639762773Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2024-04-13T11:21:18.644789137Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.026634ms grafana | logger=migrator t=2024-04-13T11:21:18.650626872Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2024-04-13T11:21:18.651510532Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=881.07µs grafana | logger=migrator t=2024-04-13T11:21:18.654688232Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2024-04-13T11:21:18.659712967Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.024915ms grafana | logger=migrator t=2024-04-13T11:21:18.66315633Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2024-04-13T11:21:18.66390328Z level=info msg="Migration successfully executed" id="create server_lock table" duration=747.08µs grafana | logger=migrator t=2024-04-13T11:21:18.670313982Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2024-04-13T11:21:18.671233863Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=919.901µs grafana | logger=migrator t=2024-04-13T11:21:18.676740853Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2024-04-13T11:21:18.678203171Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.462398ms grafana | logger=migrator t=2024-04-13T11:21:18.687053894Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2024-04-13T11:21:18.688504652Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.450578ms grafana | logger=migrator t=2024-04-13T11:21:18.693743599Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2024-04-13T11:21:18.695250249Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.50578ms grafana | logger=migrator t=2024-04-13T11:21:18.700218271Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2024-04-13T11:21:18.701787051Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.5686ms grafana | logger=migrator t=2024-04-13T11:21:18.706302568Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2024-04-13T11:21:18.712926523Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=6.624695ms grafana | logger=migrator t=2024-04-13T11:21:18.718093779Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2024-04-13T11:21:18.719063281Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=968.972µs grafana | logger=migrator t=2024-04-13T11:21:18.722655486Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2024-04-13T11:21:18.723568069Z level=info msg="Migration successfully executed" id="create cache_data table" duration=910.892µs grafana | logger=migrator t=2024-04-13T11:21:18.729370632Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2024-04-13T11:21:18.73083378Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.465748ms grafana | logger=migrator t=2024-04-13T11:21:18.736131878Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2024-04-13T11:21:18.737604177Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.470189ms grafana | logger=migrator t=2024-04-13T11:21:18.741938201Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2024-04-13T11:21:18.743236798Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.297707ms grafana | logger=migrator t=2024-04-13T11:21:18.74731563Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2024-04-13T11:21:18.747418661Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=103.561µs grafana | logger=migrator t=2024-04-13T11:21:18.754540782Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2024-04-13T11:21:18.754698984Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=155.532µs grafana | logger=migrator t=2024-04-13T11:21:18.758462622Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2024-04-13T11:21:18.75989601Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.433118ms grafana | logger=migrator t=2024-04-13T11:21:18.76304365Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-04-13T11:21:18.764403077Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.360577ms grafana | logger=migrator t=2024-04-13T11:21:18.770121149Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-04-13T11:21:18.771093322Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=971.783µs grafana | logger=migrator t=2024-04-13T11:21:18.773656885Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2024-04-13T11:21:18.773720816Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=64.811µs grafana | logger=migrator t=2024-04-13T11:21:18.777756747Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-04-13T11:21:18.778635478Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=878.371µs grafana | logger=migrator t=2024-04-13T11:21:18.782178213Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-04-13T11:21:18.783797443Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.61857ms grafana | logger=migrator t=2024-04-13T11:21:18.789255003Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-04-13T11:21:18.791191258Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.935245ms grafana | logger=migrator t=2024-04-13T11:21:18.796155621Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-04-13T11:21:18.797757121Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.59883ms grafana | logger=migrator t=2024-04-13T11:21:18.803969989Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2024-04-13T11:21:18.810107959Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=6.13969ms grafana | logger=migrator t=2024-04-13T11:21:18.814428083Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2024-04-13T11:21:18.815405455Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=977.052µs grafana | logger=migrator t=2024-04-13T11:21:18.819740481Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2024-04-13T11:21:18.819834092Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=93.861µs grafana | logger=migrator t=2024-04-13T11:21:18.824904196Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2024-04-13T11:21:18.825844338Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=939.842µs grafana | logger=migrator t=2024-04-13T11:21:18.829836429Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" grafana | logger=migrator t=2024-04-13T11:21:18.83155655Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.719041ms grafana | logger=migrator t=2024-04-13T11:21:18.835231127Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" grafana | logger=migrator t=2024-04-13T11:21:18.836814977Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.58377ms grafana | logger=migrator t=2024-04-13T11:21:18.840804518Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-04-13T11:21:18.84092771Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=123.182µs grafana | logger=migrator t=2024-04-13T11:21:18.846887956Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2024-04-13T11:21:18.847868928Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=984.262µs grafana | logger=migrator t=2024-04-13T11:21:18.851608815Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdp.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T11:21:18.853379018Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.768823ms grafana | logger=migrator t=2024-04-13T11:21:18.859649127Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" grafana | logger=migrator t=2024-04-13T11:21:18.8613926Z 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.743183ms grafana | logger=migrator t=2024-04-13T11:21:18.865026566Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2024-04-13T11:21:18.866744298Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.717532ms grafana | logger=migrator t=2024-04-13T11:21:18.87164084Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2024-04-13T11:21:18.877538575Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=5.897045ms grafana | logger=migrator t=2024-04-13T11:21:18.882113453Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2024-04-13T11:21:18.883145667Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.032184ms grafana | logger=migrator t=2024-04-13T11:21:18.885847031Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-04-13T11:21:18.887073466Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.225485ms grafana | logger=migrator t=2024-04-13T11:21:18.8921174Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2024-04-13T11:21:18.918591127Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=26.475687ms grafana | logger=migrator t=2024-04-13T11:21:18.924251468Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2024-04-13T11:21:18.954729436Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=30.478258ms grafana | logger=migrator t=2024-04-13T11:21:18.958687737Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2024-04-13T11:21:18.959535757Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=847.67µs grafana | logger=migrator t=2024-04-13T11:21:18.963583218Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-04-13T11:21:18.964389919Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=806.641µs grafana | logger=migrator t=2024-04-13T11:21:18.969734397Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2024-04-13T11:21:18.975578711Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=5.843644ms grafana | logger=migrator t=2024-04-13T11:21:18.980917309Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" grafana | logger=migrator t=2024-04-13T11:21:18.989382427Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=8.464938ms grafana | logger=migrator t=2024-04-13T11:21:18.995472724Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2024-04-13T11:21:18.996564288Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.091384ms grafana | logger=migrator t=2024-04-13T11:21:19.001990627Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2024-04-13T11:21:19.006713032Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=4.764465ms grafana | logger=migrator t=2024-04-13T11:21:19.010241023Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2024-04-13T11:21:19.011870438Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.629585ms grafana | logger=migrator t=2024-04-13T11:21:19.015092856Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2024-04-13T11:21:19.016864762Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.767825ms grafana | logger=migrator t=2024-04-13T11:21:19.022971923Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2024-04-13T11:21:19.023048044Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=76.981µs grafana | logger=migrator t=2024-04-13T11:21:19.025569791Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2024-04-13T11:21:19.031690753Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=6.120862ms grafana | logger=migrator t=2024-04-13T11:21:19.035176025Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2024-04-13T11:21:19.039379037Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=4.202682ms grafana | logger=migrator t=2024-04-13T11:21:19.043339547Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2024-04-13T11:21:19.049211524Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.871597ms grafana | logger=migrator t=2024-04-13T11:21:19.051858663Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2024-04-13T11:21:19.052521733Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=662.73µs grafana | logger=migrator t=2024-04-13T11:21:19.054867738Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" grafana | logger=migrator t=2024-04-13T11:21:19.055593809Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=726.151µs grafana | logger=migrator t=2024-04-13T11:21:19.060092286Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2024-04-13T11:21:19.070175176Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=10.08762ms grafana | logger=migrator t=2024-04-13T11:21:19.073244712Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2024-04-13T11:21:19.077860151Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=4.61517ms policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE jpapdpstatistics_enginestats a policy-db-migrator | JOIN pdpstatistics b policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp policy-db-migrator | SET a.id = b.id policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-sequence.sql policy-db-migrator | -------------- policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscatrigger policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaparameter policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-13T11:21:19.079937582Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" grafana | logger=migrator t=2024-04-13T11:21:19.080668002Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=730.27µs grafana | logger=migrator t=2024-04-13T11:21:19.085248021Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2024-04-13T11:21:19.089540705Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=4.292483ms grafana | logger=migrator t=2024-04-13T11:21:19.092515119Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2024-04-13T11:21:19.098457627Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=5.942428ms grafana | logger=migrator t=2024-04-13T11:21:19.101806548Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2024-04-13T11:21:19.101851799Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=45.381µs grafana | logger=migrator t=2024-04-13T11:21:19.104549209Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2024-04-13T11:21:19.105454422Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=905.463µs grafana | logger=migrator t=2024-04-13T11:21:19.109762326Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" grafana | logger=migrator t=2024-04-13T11:21:19.110764111Z 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.001595ms grafana | logger=migrator t=2024-04-13T11:21:19.114872402Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" grafana | logger=migrator t=2024-04-13T11:21:19.116305724Z 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.452442ms grafana | logger=migrator t=2024-04-13T11:21:19.120935682Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-04-13T11:21:19.121017364Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=81.682µs grafana | logger=migrator t=2024-04-13T11:21:19.123059404Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2024-04-13T11:21:19.129564142Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.504908ms grafana | logger=migrator t=2024-04-13T11:21:19.132756259Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2024-04-13T11:21:19.138991162Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.232173ms grafana | logger=migrator t=2024-04-13T11:21:19.144886269Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2024-04-13T11:21:19.14959513Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=4.708601ms grafana | logger=migrator t=2024-04-13T11:21:19.152633435Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2024-04-13T11:21:19.159193943Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.560587ms grafana | logger=migrator t=2024-04-13T11:21:19.162139726Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2024-04-13T11:21:19.169264673Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=7.118717ms grafana | logger=migrator t=2024-04-13T11:21:19.172540652Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2024-04-13T11:21:19.172638043Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=99.431µs grafana | logger=migrator t=2024-04-13T11:21:19.174918407Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2024-04-13T11:21:19.175602397Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=684.46µs grafana | logger=migrator t=2024-04-13T11:21:19.180665253Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2024-04-13T11:21:19.191419694Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=10.752931ms grafana | logger=migrator t=2024-04-13T11:21:19.269751254Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2024-04-13T11:21:19.270047079Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=299.865µs grafana | logger=migrator t=2024-04-13T11:21:19.277929197Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2024-04-13T11:21:19.284583636Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.65699ms grafana | logger=migrator t=2024-04-13T11:21:19.288416263Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2024-04-13T11:21:19.289399338Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=983.325µs grafana | logger=migrator t=2024-04-13T11:21:19.298192919Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2024-04-13T11:21:19.306565634Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=8.373355ms grafana | logger=migrator t=2024-04-13T11:21:19.309379276Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2024-04-13T11:21:19.310227549Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=847.703µs grafana | logger=migrator t=2024-04-13T11:21:19.314731687Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2024-04-13T11:21:19.315776162Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.044565ms grafana | logger=migrator t=2024-04-13T11:21:19.322927369Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2024-04-13T11:21:19.329909563Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.984514ms grafana | logger=migrator t=2024-04-13T11:21:19.338635233Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2024-04-13T11:21:19.339637759Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=1.001286ms policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-04-13T11:21:19.346628253Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2024-04-13T11:21:19.348220597Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.592664ms grafana | logger=migrator t=2024-04-13T11:21:19.352510221Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2024-04-13T11:21:19.353416164Z level=info msg="Migration successfully executed" id="create alert_image table" duration=905.773µs grafana | logger=migrator t=2024-04-13T11:21:19.359423645Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2024-04-13T11:21:19.360925916Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.501581ms grafana | logger=migrator t=2024-04-13T11:21:19.365700738Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2024-04-13T11:21:19.36584135Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=140.362µs grafana | logger=migrator t=2024-04-13T11:21:19.371757168Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2024-04-13T11:21:19.372966206Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.207928ms grafana | logger=migrator t=2024-04-13T11:21:19.378408348Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2024-04-13T11:21:19.379376663Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=968.075µs grafana | logger=migrator t=2024-04-13T11:21:19.383840859Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-04-13T11:21:19.384306026Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-04-13T11:21:19.387738648Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2024-04-13T11:21:19.388235025Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=497.287µs grafana | logger=migrator t=2024-04-13T11:21:19.393424032Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2024-04-13T11:21:19.39465258Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.227678ms grafana | logger=migrator t=2024-04-13T11:21:19.398636831Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2024-04-13T11:21:19.40800447Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=9.372509ms grafana | logger=migrator t=2024-04-13T11:21:19.412453227Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2024-04-13T11:21:19.413253379Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=800.232µs grafana | logger=migrator t=2024-04-13T11:21:19.419277619Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2024-04-13T11:21:19.420350385Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.072845ms grafana | logger=migrator t=2024-04-13T11:21:19.425736255Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2024-04-13T11:21:19.426653449Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=914.454µs grafana | logger=migrator t=2024-04-13T11:21:19.429773706Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2024-04-13T11:21:19.431116766Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.34241ms grafana | logger=migrator t=2024-04-13T11:21:19.435324489Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2024-04-13T11:21:19.436305693Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=980.954µs grafana | logger=migrator t=2024-04-13T11:21:19.441540741Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2024-04-13T11:21:19.441633853Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=158.893µs grafana | logger=migrator t=2024-04-13T11:21:19.446704399Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2024-04-13T11:21:19.446838301Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=135.142µs grafana | logger=migrator t=2024-04-13T11:21:19.450972342Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2024-04-13T11:21:19.451432909Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=460.577µs grafana | logger=migrator t=2024-04-13T11:21:19.458412193Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2024-04-13T11:21:19.459493789Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.081836ms grafana | logger=migrator t=2024-04-13T11:21:19.462461024Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2024-04-13T11:21:19.463463429Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.000775ms grafana | logger=migrator t=2024-04-13T11:21:19.466432324Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2024-04-13T11:21:19.497154413Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=30.723219ms grafana | logger=migrator t=2024-04-13T11:21:19.502074066Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2024-04-13T11:21:19.50768764Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.612404ms grafana | logger=migrator t=2024-04-13T11:21:19.511473757Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2024-04-13T11:21:19.511612469Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=138.502µs grafana | logger=migrator t=2024-04-13T11:21:19.514523232Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2024-04-13T11:21:19.545501725Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=30.978503ms grafana | logger=migrator t=2024-04-13T11:21:19.548931316Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2024-04-13T11:21:19.577822719Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=28.891583ms policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaproperty policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-upgrade.sql policy-db-migrator | -------------- policy-db-migrator | select 'upgrade to 1100 completed' as msg policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | msg policy-db-migrator | upgrade to 1100 completed policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-04-13T11:21:19.58327776Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2024-04-13T11:21:19.583908359Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=630.219µs grafana | logger=migrator t=2024-04-13T11:21:19.587904959Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2024-04-13T11:21:19.589627345Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.721306ms grafana | logger=migrator t=2024-04-13T11:21:19.593978039Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2024-04-13T11:21:19.594172742Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=192.393µs grafana | logger=migrator t=2024-04-13T11:21:19.598975434Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2024-04-13T11:21:19.599859797Z level=info msg="Migration successfully executed" id="create permission table" duration=884.293µs grafana | logger=migrator t=2024-04-13T11:21:19.603929928Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2024-04-13T11:21:19.605495321Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.565313ms grafana | logger=migrator t=2024-04-13T11:21:19.609620974Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2024-04-13T11:21:19.611324419Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.701805ms grafana | logger=migrator t=2024-04-13T11:21:19.616905873Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2024-04-13T11:21:19.617780375Z level=info msg="Migration successfully executed" id="create role table" duration=874.032µs grafana | logger=migrator t=2024-04-13T11:21:19.621647543Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2024-04-13T11:21:19.632193431Z level=info msg="Migration successfully executed" id="add column display_name" duration=10.546648ms grafana | logger=migrator t=2024-04-13T11:21:19.63546657Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2024-04-13T11:21:19.642573696Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.106596ms grafana | logger=migrator t=2024-04-13T11:21:19.650157289Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2024-04-13T11:21:19.651134484Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=976.905µs grafana | logger=migrator t=2024-04-13T11:21:19.655467118Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2024-04-13T11:21:19.657080413Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.609715ms grafana | logger=migrator t=2024-04-13T11:21:19.661671902Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2024-04-13T11:21:19.663336156Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.665324ms grafana | logger=migrator t=2024-04-13T11:21:19.672153278Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2024-04-13T11:21:19.672980581Z level=info msg="Migration successfully executed" id="create team role table" duration=827.553µs grafana | logger=migrator t=2024-04-13T11:21:19.677398786Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2024-04-13T11:21:19.678440731Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.041515ms grafana | logger=migrator t=2024-04-13T11:21:19.68302102Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2024-04-13T11:21:19.684102147Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.080937ms grafana | logger=migrator t=2024-04-13T11:21:19.69168636Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2024-04-13T11:21:19.693486287Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.800138ms grafana | logger=migrator t=2024-04-13T11:21:19.697947073Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2024-04-13T11:21:19.698843417Z level=info msg="Migration successfully executed" id="create user role table" duration=895.944µs grafana | logger=migrator t=2024-04-13T11:21:19.702070535Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2024-04-13T11:21:19.703403144Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.300939ms grafana | logger=migrator t=2024-04-13T11:21:19.708067405Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2024-04-13T11:21:19.709846642Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.778507ms grafana | logger=migrator t=2024-04-13T11:21:19.715334553Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2024-04-13T11:21:19.716324028Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=989.625µs grafana | logger=migrator t=2024-04-13T11:21:19.720421339Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2024-04-13T11:21:19.72180355Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.381501ms grafana | logger=migrator t=2024-04-13T11:21:19.727570626Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2024-04-13T11:21:19.728806374Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.233868ms grafana | logger=migrator t=2024-04-13T11:21:19.732901786Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2024-04-13T11:21:19.734021982Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.120126ms grafana | logger=migrator t=2024-04-13T11:21:19.738341597Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2024-04-13T11:21:19.746482849Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=8.140842ms grafana | logger=migrator t=2024-04-13T11:21:19.752404687Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2024-04-13T11:21:19.753454543Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.049946ms grafana | logger=migrator t=2024-04-13T11:21:19.757405312Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2024-04-13T11:21:19.758438308Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.032706ms grafana | logger=migrator t=2024-04-13T11:21:19.761477873Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" 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 1304241121240800u 1 2024-04-13 11:21:24 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:24 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:24 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:24 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:24 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:24 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:24 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:24 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:24 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:24 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:24 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:24 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:24 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:24 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:25 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:25 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:25 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:25 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:25 grafana | logger=migrator t=2024-04-13T11:21:19.762423477Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=945.484µs grafana | logger=migrator t=2024-04-13T11:21:19.766268495Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2024-04-13T11:21:19.76802954Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.765036ms grafana | logger=migrator t=2024-04-13T11:21:19.771702776Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2024-04-13T11:21:19.772527288Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=825.412µs grafana | logger=migrator t=2024-04-13T11:21:19.775624414Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2024-04-13T11:21:19.77665563Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.030676ms grafana | logger=migrator t=2024-04-13T11:21:19.780557248Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2024-04-13T11:21:19.788650529Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=8.092921ms grafana | logger=migrator t=2024-04-13T11:21:19.79206624Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2024-04-13T11:21:19.797671134Z level=info msg="Migration successfully executed" id="permission kind migration" duration=5.604214ms grafana | logger=migrator t=2024-04-13T11:21:19.800886952Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2024-04-13T11:21:19.808601047Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=7.713735ms grafana | logger=migrator t=2024-04-13T11:21:19.812983003Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2024-04-13T11:21:19.820963962Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.980359ms grafana | logger=migrator t=2024-04-13T11:21:19.823975927Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2024-04-13T11:21:19.825007123Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.031116ms grafana | logger=migrator t=2024-04-13T11:21:19.828109469Z level=info msg="Executing migration" id="add permission action scope role_id index" grafana | logger=migrator t=2024-04-13T11:21:19.829244325Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=1.134596ms grafana | logger=migrator t=2024-04-13T11:21:19.833321037Z level=info msg="Executing migration" id="remove permission role_id action scope index" grafana | logger=migrator t=2024-04-13T11:21:19.834465334Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.142937ms grafana | logger=migrator t=2024-04-13T11:21:19.837745682Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2024-04-13T11:21:19.839113373Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.367421ms grafana | logger=migrator t=2024-04-13T11:21:19.843293455Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2024-04-13T11:21:19.844303431Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.009386ms grafana | logger=migrator t=2024-04-13T11:21:19.847461518Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2024-04-13T11:21:19.847523209Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=61.991µs grafana | logger=migrator t=2024-04-13T11:21:19.850570684Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2024-04-13T11:21:19.850598715Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=31.191µs grafana | logger=migrator t=2024-04-13T11:21:19.853660081Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2024-04-13T11:21:19.854064227Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=402.656µs grafana | logger=migrator t=2024-04-13T11:21:19.857842194Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2024-04-13T11:21:19.858340281Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=500.157µs grafana | logger=migrator t=2024-04-13T11:21:19.861341726Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2024-04-13T11:21:19.86232275Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=981.275µs grafana | logger=migrator t=2024-04-13T11:21:19.865906373Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2024-04-13T11:21:19.866219989Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=314.006µs grafana | logger=migrator t=2024-04-13T11:21:19.869519678Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2024-04-13T11:21:19.869945274Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=425.146µs grafana | logger=migrator t=2024-04-13T11:21:19.874028485Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2024-04-13T11:21:19.874801777Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=772.993µs grafana | logger=migrator t=2024-04-13T11:21:19.877832222Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2024-04-13T11:21:19.879475816Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.642874ms grafana | logger=migrator t=2024-04-13T11:21:19.882891737Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2024-04-13T11:21:19.891868962Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.977975ms grafana | logger=migrator t=2024-04-13T11:21:19.896205196Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2024-04-13T11:21:19.896266927Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=63.931µs grafana | logger=migrator t=2024-04-13T11:21:19.898914007Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2024-04-13T11:21:19.899924543Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.005925ms grafana | logger=migrator t=2024-04-13T11:21:19.904798984Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2024-04-13T11:21:19.906359668Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.559424ms grafana | logger=migrator t=2024-04-13T11:21:19.910705713Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:25 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:25 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:25 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:25 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:25 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:25 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:25 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:25 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:25 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:25 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:25 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:25 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:25 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:25 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:25 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:25 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:25 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:25 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:25 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:25 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:25 grafana | logger=migrator t=2024-04-13T11:21:19.912350788Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.644875ms grafana | logger=migrator t=2024-04-13T11:21:19.915582546Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2024-04-13T11:21:19.923678347Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.095001ms grafana | logger=migrator t=2024-04-13T11:21:19.926851154Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2024-04-13T11:21:19.92783569Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=984.376µs grafana | logger=migrator t=2024-04-13T11:21:19.931771398Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2024-04-13T11:21:19.932745542Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=973.754µs grafana | logger=migrator t=2024-04-13T11:21:19.935888639Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2024-04-13T11:21:19.957490122Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=21.601713ms grafana | logger=migrator t=2024-04-13T11:21:19.965788996Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2024-04-13T11:21:19.966596128Z level=info msg="Migration successfully executed" id="create correlation v2" duration=806.822µs grafana | logger=migrator t=2024-04-13T11:21:19.976131201Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2024-04-13T11:21:19.978006248Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.874667ms grafana | logger=migrator t=2024-04-13T11:21:19.986275922Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2024-04-13T11:21:19.987721264Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.445872ms grafana | logger=migrator t=2024-04-13T11:21:19.998556796Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2024-04-13T11:21:19.999904876Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.34732ms grafana | logger=migrator t=2024-04-13T11:21:20.010588858Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2024-04-13T11:21:20.011229779Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=639.78µs grafana | logger=migrator t=2024-04-13T11:21:20.020237768Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2024-04-13T11:21:20.021952876Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.717907ms grafana | logger=migrator t=2024-04-13T11:21:20.032870555Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2024-04-13T11:21:20.043622983Z level=info msg="Migration successfully executed" id="add provisioning column" duration=10.749638ms grafana | logger=migrator t=2024-04-13T11:21:20.052720124Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2024-04-13T11:21:20.053498486Z level=info msg="Migration successfully executed" id="create entity_events table" duration=777.602µs grafana | logger=migrator t=2024-04-13T11:21:20.057081017Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2024-04-13T11:21:20.058673272Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.592676ms grafana | logger=migrator t=2024-04-13T11:21:20.064630501Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-04-13T11:21:20.065052229Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-04-13T11:21:20.067361996Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-04-13T11:21:20.067780213Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-04-13T11:21:20.071983953Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2024-04-13T11:21:20.072750316Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=767.333µs grafana | logger=migrator t=2024-04-13T11:21:20.078037313Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2024-04-13T11:21:20.079027629Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=990.516µs grafana | logger=migrator t=2024-04-13T11:21:20.084581761Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-04-13T11:21:20.086640695Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=2.062214ms grafana | logger=migrator t=2024-04-13T11:21:20.092060035Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-04-13T11:21:20.093262906Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.202371ms grafana | logger=migrator t=2024-04-13T11:21:20.098709716Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-04-13T11:21:20.099856635Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.147049ms grafana | logger=migrator t=2024-04-13T11:21:20.102664861Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-04-13T11:21:20.103692818Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.028787ms grafana | logger=migrator t=2024-04-13T11:21:20.106916201Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2024-04-13T11:21:20.107758006Z level=info msg="Migration successfully executed" id="Drop public config table" duration=841.595µs grafana | logger=migrator t=2024-04-13T11:21:20.113705534Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2024-04-13T11:21:20.114882703Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.176669ms grafana | logger=migrator t=2024-04-13T11:21:20.119060563Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-04-13T11:21:20.120829202Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.768639ms grafana | logger=migrator t=2024-04-13T11:21:20.126487425Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-04-13T11:21:20.128171894Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.685029ms policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:25 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:26 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:26 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:26 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:26 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:26 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:26 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:26 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:26 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:26 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:26 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:26 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:26 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:26 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:26 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:26 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:26 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:26 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:26 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:26 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:26 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:26 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:26 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:26 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:26 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:26 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:26 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:26 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:27 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:27 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:27 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:27 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:27 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:27 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:27 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:27 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:27 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:27 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:27 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:27 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:27 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:27 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:27 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:27 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:27 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:27 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:27 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:27 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:27 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:27 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:28 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:28 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:28 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:28 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:28 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1304241121240800u 1 2024-04-13 11:21:28 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1304241121240900u 1 2024-04-13 11:21:28 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1304241121240900u 1 2024-04-13 11:21:28 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1304241121240900u 1 2024-04-13 11:21:28 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1304241121240900u 1 2024-04-13 11:21:28 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1304241121240900u 1 2024-04-13 11:21:28 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1304241121240900u 1 2024-04-13 11:21:28 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1304241121240900u 1 2024-04-13 11:21:28 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1304241121240900u 1 2024-04-13 11:21:28 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1304241121240900u 1 2024-04-13 11:21:28 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1304241121240900u 1 2024-04-13 11:21:28 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1304241121240900u 1 2024-04-13 11:21:28 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1304241121240900u 1 2024-04-13 11:21:28 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1304241121240900u 1 2024-04-13 11:21:28 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1304241121241000u 1 2024-04-13 11:21:28 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1304241121241000u 1 2024-04-13 11:21:28 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1304241121241000u 1 2024-04-13 11:21:28 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1304241121241000u 1 2024-04-13 11:21:29 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1304241121241000u 1 2024-04-13 11:21:29 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1304241121241000u 1 2024-04-13 11:21:29 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1304241121241000u 1 2024-04-13 11:21:29 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1304241121241000u 1 2024-04-13 11:21:29 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1304241121241000u 1 2024-04-13 11:21:29 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1304241121241100u 1 2024-04-13 11:21:29 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1304241121241200u 1 2024-04-13 11:21:29 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1304241121241200u 1 2024-04-13 11:21:29 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1304241121241200u 1 2024-04-13 11:21:29 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1304241121241200u 1 2024-04-13 11:21:29 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 1304241121241300u 1 2024-04-13 11:21:29 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 1304241121241300u 1 2024-04-13 11:21:29 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 1304241121241300u 1 2024-04-13 11:21:29 policy-db-migrator | policyadmin: OK @ 1300 grafana | logger=migrator t=2024-04-13T11:21:20.131253575Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2024-04-13T11:21:20.132331853Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.078548ms grafana | logger=migrator t=2024-04-13T11:21:20.135739589Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2024-04-13T11:21:20.158035049Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=22.29447ms grafana | logger=migrator t=2024-04-13T11:21:20.164211181Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2024-04-13T11:21:20.172755682Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=8.543961ms grafana | logger=migrator t=2024-04-13T11:21:20.176707507Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2024-04-13T11:21:20.182677306Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=5.967889ms grafana | logger=migrator t=2024-04-13T11:21:20.185604015Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2024-04-13T11:21:20.1859091Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=304.615µs grafana | logger=migrator t=2024-04-13T11:21:20.188646976Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2024-04-13T11:21:20.196952723Z level=info msg="Migration successfully executed" id="add share column" duration=8.305077ms grafana | logger=migrator t=2024-04-13T11:21:20.201892174Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2024-04-13T11:21:20.202341233Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=448.659µs grafana | logger=migrator t=2024-04-13T11:21:20.205696458Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2024-04-13T11:21:20.207428306Z level=info msg="Migration successfully executed" id="create file table" duration=1.731258ms grafana | logger=migrator t=2024-04-13T11:21:20.210991646Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2024-04-13T11:21:20.212867036Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.87538ms grafana | logger=migrator t=2024-04-13T11:21:20.218587721Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2024-04-13T11:21:20.219838122Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.251681ms grafana | logger=migrator t=2024-04-13T11:21:20.222595968Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2024-04-13T11:21:20.223421661Z level=info msg="Migration successfully executed" id="create file_meta table" duration=825.103µs grafana | logger=migrator t=2024-04-13T11:21:20.22636642Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2024-04-13T11:21:20.22753081Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.163689ms grafana | logger=migrator t=2024-04-13T11:21:20.234026737Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2024-04-13T11:21:20.234087358Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=61.061µs grafana | logger=migrator t=2024-04-13T11:21:20.237159869Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2024-04-13T11:21:20.237413633Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=255.164µs grafana | logger=migrator t=2024-04-13T11:21:20.240557505Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2024-04-13T11:21:20.241587273Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=1.029448ms grafana | logger=migrator t=2024-04-13T11:21:20.244769385Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2024-04-13T11:21:20.245011099Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=243.414µs grafana | logger=migrator t=2024-04-13T11:21:20.249809968Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-04-13T11:21:20.251135921Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.325563ms grafana | logger=migrator t=2024-04-13T11:21:20.254246112Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-04-13T11:21:20.263348032Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=9.10158ms grafana | logger=migrator t=2024-04-13T11:21:20.266352222Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-04-13T11:21:20.266612526Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=259.914µs grafana | logger=migrator t=2024-04-13T11:21:20.269338481Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-04-13T11:21:20.270594253Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.255252ms grafana | logger=migrator t=2024-04-13T11:21:20.275422123Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-04-13T11:21:20.275904431Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=482.678µs grafana | logger=migrator t=2024-04-13T11:21:20.278781648Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-04-13T11:21:20.279193635Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=410.137µs grafana | logger=migrator t=2024-04-13T11:21:20.28252513Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-04-13T11:21:20.283325763Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=800.173µs grafana | logger=migrator t=2024-04-13T11:21:20.288164493Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-04-13T11:21:20.29702367Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=8.859947ms grafana | logger=migrator t=2024-04-13T11:21:20.299716045Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-04-13T11:21:20.306231213Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.521678ms grafana | logger=migrator t=2024-04-13T11:21:20.309147022Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2024-04-13T11:21:20.310159688Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.012516ms grafana | logger=migrator t=2024-04-13T11:21:20.314914207Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2024-04-13T11:21:20.387793404Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=72.878957ms grafana | logger=migrator t=2024-04-13T11:21:20.39055058Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-04-13T11:21:20.391346263Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=793.963µs grafana | logger=migrator t=2024-04-13T11:21:20.394071388Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2024-04-13T11:21:20.395218147Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.147849ms grafana | logger=migrator t=2024-04-13T11:21:20.400279141Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-04-13T11:21:20.424643215Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=24.364054ms grafana | logger=migrator t=2024-04-13T11:21:20.427755436Z level=info msg="Executing migration" id="add origin column to seed_assignment" grafana | logger=migrator t=2024-04-13T11:21:20.433983709Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=6.226493ms grafana | logger=migrator t=2024-04-13T11:21:20.437009489Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" grafana | logger=migrator t=2024-04-13T11:21:20.437317774Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=308.515µs grafana | logger=migrator t=2024-04-13T11:21:20.44190033Z level=info msg="Executing migration" id="prevent seeding OnCall access" grafana | logger=migrator t=2024-04-13T11:21:20.442092163Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=190.613µs grafana | logger=migrator t=2024-04-13T11:21:20.445301766Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2024-04-13T11:21:20.445610031Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=308.415µs grafana | logger=migrator t=2024-04-13T11:21:20.448832224Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2024-04-13T11:21:20.44913659Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=301.526µs grafana | logger=migrator t=2024-04-13T11:21:20.452457905Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2024-04-13T11:21:20.452648958Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=190.963µs grafana | logger=migrator t=2024-04-13T11:21:20.45755091Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-04-13T11:21:20.458410604Z level=info msg="Migration successfully executed" id="create folder table" duration=859.524µs grafana | logger=migrator t=2024-04-13T11:21:20.461612006Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2024-04-13T11:21:20.463539259Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.926303ms grafana | logger=migrator t=2024-04-13T11:21:20.468882837Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2024-04-13T11:21:20.470015586Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.133819ms grafana | logger=migrator t=2024-04-13T11:21:20.473113077Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-04-13T11:21:20.473142477Z level=info msg="Migration successfully executed" id="Update folder title length" duration=30.17µs grafana | logger=migrator t=2024-04-13T11:21:20.475431266Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-04-13T11:21:20.476542904Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.111019ms grafana | logger=migrator t=2024-04-13T11:21:20.479527983Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-04-13T11:21:20.48053015Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.000247ms grafana | logger=migrator t=2024-04-13T11:21:20.485232617Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-04-13T11:21:20.486611711Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.377314ms grafana | logger=migrator t=2024-04-13T11:21:20.490021687Z level=info msg="Executing migration" id="Sync dashboard and folder table" grafana | logger=migrator t=2024-04-13T11:21:20.490676588Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=654.511µs grafana | logger=migrator t=2024-04-13T11:21:20.494079245Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" grafana | logger=migrator t=2024-04-13T11:21:20.494360389Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=281.504µs grafana | logger=migrator t=2024-04-13T11:21:20.498988645Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" grafana | logger=migrator t=2024-04-13T11:21:20.500035563Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.045048ms grafana | logger=migrator t=2024-04-13T11:21:20.502664037Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" grafana | logger=migrator t=2024-04-13T11:21:20.504430856Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=1.766069ms grafana | logger=migrator t=2024-04-13T11:21:20.507575708Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" grafana | logger=migrator t=2024-04-13T11:21:20.509149354Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.576826ms grafana | logger=migrator t=2024-04-13T11:21:20.51374526Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" grafana | logger=migrator t=2024-04-13T11:21:20.514849508Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.103248ms grafana | logger=migrator t=2024-04-13T11:21:20.518212284Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" grafana | logger=migrator t=2024-04-13T11:21:20.519336733Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.122999ms grafana | logger=migrator t=2024-04-13T11:21:20.523629263Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-04-13T11:21:20.525008327Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.378484ms grafana | logger=migrator t=2024-04-13T11:21:20.528633957Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-04-13T11:21:20.529824486Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.190129ms grafana | logger=migrator t=2024-04-13T11:21:20.533211873Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-04-13T11:21:20.534305121Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.093587ms grafana | logger=migrator t=2024-04-13T11:21:20.538539081Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-04-13T11:21:20.539471366Z level=info msg="Migration successfully executed" id="create signing_key table" duration=930.705µs grafana | logger=migrator t=2024-04-13T11:21:20.54272835Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-04-13T11:21:20.543796757Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.068217ms grafana | logger=migrator t=2024-04-13T11:21:20.547312346Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-04-13T11:21:20.549155906Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.84625ms grafana | logger=migrator t=2024-04-13T11:21:20.58375434Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-04-13T11:21:20.584201387Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=448.837µs grafana | logger=migrator t=2024-04-13T11:21:20.587766076Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-04-13T11:21:20.599652232Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=11.887236ms grafana | logger=migrator t=2024-04-13T11:21:20.602945288Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-04-13T11:21:20.603469216Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=524.478µs grafana | logger=migrator t=2024-04-13T11:21:20.60733464Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-04-13T11:21:20.608169424Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=834.724µs grafana | logger=migrator t=2024-04-13T11:21:20.611617841Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-04-13T11:21:20.6134051Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.787489ms grafana | logger=migrator t=2024-04-13T11:21:20.61697083Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-04-13T11:21:20.618446804Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=1.477264ms grafana | logger=migrator t=2024-04-13T11:21:20.622385069Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" grafana | logger=migrator t=2024-04-13T11:21:20.6236218Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=1.236311ms grafana | logger=migrator t=2024-04-13T11:21:20.62665096Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-04-13T11:21:20.62784555Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.19441ms grafana | logger=migrator t=2024-04-13T11:21:20.631911307Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-04-13T11:21:20.632984685Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.072818ms grafana | logger=migrator t=2024-04-13T11:21:20.637555621Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-04-13T11:21:20.638321603Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=766.452µs grafana | logger=migrator t=2024-04-13T11:21:20.641378054Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-04-13T11:21:20.641706229Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=328.685µs grafana | logger=migrator t=2024-04-13T11:21:20.645012935Z level=info msg="Executing migration" id="alter kv_store.value to longtext" grafana | logger=migrator t=2024-04-13T11:21:20.645108036Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=95.741µs grafana | logger=migrator t=2024-04-13T11:21:20.649733262Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" grafana | logger=migrator t=2024-04-13T11:21:20.660409519Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=10.676377ms grafana | logger=migrator t=2024-04-13T11:21:20.663647473Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" grafana | logger=migrator t=2024-04-13T11:21:20.670208952Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=6.561259ms grafana | logger=migrator t=2024-04-13T11:21:20.67368551Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" grafana | logger=migrator t=2024-04-13T11:21:20.674053436Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=367.556µs grafana | logger=migrator t=2024-04-13T11:21:20.678274255Z level=info msg="migrations completed" performed=548 skipped=0 duration=3.517817805s grafana | logger=sqlstore t=2024-04-13T11:21:20.687362216Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-04-13T11:21:20.687703391Z level=info msg="Created default organization" grafana | logger=secrets t=2024-04-13T11:21:20.691701197Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2024-04-13T11:21:20.718702695Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2024-04-13T11:21:20.756166215Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-04-13T11:21:20.756189036Z level=info msg="Plugins loaded" count=55 duration=37.487391ms grafana | logger=query_data t=2024-04-13T11:21:20.758381132Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-04-13T11:21:20.762305437Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2024-04-13T11:21:20.766938634Z level=info msg=Starting grafana | logger=ngalert.migration t=2024-04-13T11:21:20.767417112Z level=info msg="Applying transition" currentType=Legacy desiredType=UnifiedAlerting cleanOnDowngrade=false cleanOnUpgrade=false grafana | logger=ngalert.migration orgID=1 t=2024-04-13T11:21:20.76791274Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-04-13T11:21:20.768623272Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration t=2024-04-13T11:21:20.770511073Z level=info msg="Completed alerting migration" grafana | logger=ngalert.state.manager t=2024-04-13T11:21:20.795655669Z level=info msg="Running in alternative execution of Error/NoData mode" grafana | logger=infra.usagestats.collector t=2024-04-13T11:21:20.797302057Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-04-13T11:21:20.799468803Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-04-13T11:21:20.814736476Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-04-13T11:21:20.814786116Z level=info msg="finished to provision alerting" grafana | logger=ngalert.state.manager t=2024-04-13T11:21:20.814958889Z level=info msg="Warming state cache for startup" grafana | logger=grafanaStorageLogger t=2024-04-13T11:21:20.815115222Z level=info msg="Storage starting" grafana | logger=ngalert.multiorg.alertmanager t=2024-04-13T11:21:20.815179613Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=ngalert.state.manager t=2024-04-13T11:21:20.816107919Z level=info msg="State cache has been initialized" states=0 duration=1.14183ms grafana | logger=ngalert.scheduler t=2024-04-13T11:21:20.8161727Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 grafana | logger=ticker t=2024-04-13T11:21:20.816525046Z level=info msg=starting first_tick=2024-04-13T11:21:30Z grafana | logger=http.server t=2024-04-13T11:21:20.819904571Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=sqlstore.transactions t=2024-04-13T11:21:20.83732031Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=provisioning.dashboard t=2024-04-13T11:21:20.884749465Z level=info msg="starting to provision dashboards" grafana | logger=grafana.update.checker t=2024-04-13T11:21:20.901276979Z level=info msg="Update check succeeded" duration=85.828542ms grafana | logger=sqlstore.transactions t=2024-04-13T11:21:20.90131664Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" grafana | logger=plugins.update.checker t=2024-04-13T11:21:20.901907399Z level=info msg="Update check succeeded" duration=84.218025ms grafana | logger=sqlstore.transactions t=2024-04-13T11:21:20.91278679Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2024-04-13T11:21:20.991385751Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2024-04-13T11:21:21.006562934Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=grafana-apiserver t=2024-04-13T11:21:21.090692284Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" grafana | logger=grafana-apiserver t=2024-04-13T11:21:21.091399535Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" grafana | logger=provisioning.dashboard t=2024-04-13T11:21:21.124158951Z level=info msg="finished to provision dashboards" grafana | logger=infra.usagestats t=2024-04-13T11:22:53.829157021Z level=info msg="Usage stats are ready to report" ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing mariadb ... Removing prometheus ... Removing prometheus ... done Removing grafana ... done Removing policy-api ... done Removing mariadb ... done Removing policy-db-migrator ... done Removing network compose_default ++ cd /w/workspace/policy-api-master-project-csit-api + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + rsync /w/workspace/policy-api-master-project-csit-api/compose/docker_compose.log /w/workspace/policy-api-master-project-csit-api/csit/archives/api + [[ -n /tmp/tmp.3S6oFxmUAY ]] + rsync -av /tmp/tmp.3S6oFxmUAY/ /w/workspace/policy-api-master-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,357,260 bytes received 95 bytes 2,714,710.00 bytes/sec total size is 1,356,611 speedup is 1.00 + rm -rf /w/workspace/policy-api-master-project-csit-api/models + exit 0 $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2189 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-api] $ /bin/bash /tmp/jenkins12880222542602428902.sh ---> sysstat.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins10934306783274174064.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/policy-api-master-project-csit-api + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/policy-api-master-project-csit-api ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/policy-api-master-project-csit-api ']' + mkdir -p /w/workspace/policy-api-master-project-csit-api/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-master-project-csit-api/archives/ [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins14465017907802502084.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-FD1G from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-FD1G/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins3336859435600747629.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-master-project-csit-api@tmp/config10341625518040256354tmp Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] Run condition [Regular expression match] preventing perform for step [Provide Configuration files] [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SERVER_ID=logs [EnvInject] - Variables injected successfully. [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins380401993947811140.sh ---> create-netrc.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins16617019346294552152.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-FD1G from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-FD1G/bin to PATH [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins18221374212055089387.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins3394023841287443482.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-FD1G 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-FD1G/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [policy-api-master-project-csit-api] $ /bin/bash -l /tmp/jenkins14851420871681901933.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-FD1G from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-FD1G/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-master-project-csit-api/1600 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-23011 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 857 27116 0 4193 30854 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:91:da:97 brd ff:ff:ff:ff:ff:ff inet 10.30.107.21/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 85399sec preferred_lft 85399sec inet6 fe80::f816:3eff:fe91:da97/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:e7:88:22:9f 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-23011) 04/13/24 _x86_64_ (8 CPU) 11:07:15 LINUX RESTART (8 CPU) 11:08:02 tps rtps wtps bread/s bwrtn/s 11:09:01 21.03 0.00 21.03 0.00 21322.76 11:10:01 14.93 0.00 14.93 0.00 21119.95 11:11:01 14.25 0.00 14.25 0.00 20978.24 11:12:01 14.66 0.00 14.66 0.00 20980.61 11:13:01 14.18 0.00 14.18 0.00 20978.24 11:14:01 14.81 0.00 14.81 0.00 21118.61 11:15:01 7.53 0.00 7.53 0.00 10360.94 11:16:01 1.40 0.00 1.40 0.00 16.93 11:17:01 0.83 0.02 0.82 0.13 9.87 11:18:01 1.72 0.00 1.72 0.00 19.86 11:19:01 4.30 3.20 1.10 141.98 190.90 11:20:01 100.52 36.54 63.97 1699.85 6213.50 11:21:01 142.88 23.15 119.73 2779.54 15611.93 11:22:01 353.44 12.48 340.96 801.13 67615.68 11:23:01 6.07 3.53 2.53 30.66 71.59 Average: 47.53 5.27 42.27 363.95 15100.46 11:08:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:09:01 30636100 31878728 2303120 6.99 38672 1532148 1298464 3.82 636088 1415256 152 11:10:01 30635324 31878060 2303896 6.99 38760 1532148 1298464 3.82 636476 1415260 16 11:11:01 30633852 31876732 2305368 7.00 38848 1532148 1298464 3.82 637664 1415268 20 11:12:01 30629444 31872452 2309776 7.01 38936 1532160 1317924 3.88 642312 1415264 152 11:13:01 30628164 31871292 2311056 7.02 39032 1532160 1317924 3.88 643392 1415276 24 11:14:01 30626556 31869736 2312664 7.02 39120 1532168 1317924 3.88 644760 1415280 12 11:15:01 30623716 31867032 2315504 7.03 39184 1532172 1317924 3.88 647628 1415276 8 11:16:01 30617168 31860556 2322052 7.05 39224 1532176 1317924 3.88 654288 1415280 156 11:17:01 30615780 31859196 2323440 7.05 39252 1532176 1317924 3.88 655588 1415288 8 11:18:01 30614664 31858136 2324556 7.06 39300 1532176 1317924 3.88 656688 1415292 8 11:19:01 30538420 31791312 2400800 7.29 39376 1541920 1317924 3.88 726324 1422648 168 11:20:01 30089144 31679488 2850076 8.65 71324 1829036 1422256 4.18 891868 1665160 161548 11:21:01 28163300 31645768 4775920 14.50 110036 3620464 1546216 4.55 1013148 3358292 1528080 11:22:01 26458844 30326236 6480376 19.67 130536 3951604 4537864 13.35 2418876 3595924 196 11:23:01 26435600 30331656 6503620 19.74 131488 3978200 4494228 13.22 2427372 3611032 26116 Average: 29863072 31631092 3076148 9.34 58206 2016190 1762623 5.19 928831 1853720 114444 11:08:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:09:01 ens3 0.22 0.10 0.06 0.04 0.00 0.00 0.00 0.00 11:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:10:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 11:10:01 ens3 0.25 0.15 0.06 0.22 0.00 0.00 0.00 0.00 11:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:11:01 ens3 0.25 0.15 0.06 0.17 0.00 0.00 0.00 0.00 11:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:12:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 11:12:01 ens3 2.13 0.88 2.47 0.66 0.00 0.00 0.00 0.00 11:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:13:01 ens3 0.30 0.17 0.13 0.24 0.00 0.00 0.00 0.00 11:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:14:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 11:14:01 ens3 0.25 0.10 0.06 0.06 0.00 0.00 0.00 0.00 11:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:15:01 ens3 1.30 0.63 0.48 0.60 0.00 0.00 0.00 0.00 11:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:16:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 11:16:01 ens3 0.77 0.62 0.32 0.98 0.00 0.00 0.00 0.00 11:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:17:01 ens3 0.15 0.15 0.05 0.34 0.00 0.00 0.00 0.00 11:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:18:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 11:18:01 ens3 0.37 0.25 0.13 0.20 0.00 0.00 0.00 0.00 11:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:19:01 ens3 87.19 47.39 116.04 19.87 0.00 0.00 0.00 0.00 11:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:20:01 lo 1.93 1.93 0.21 0.21 0.00 0.00 0.00 0.00 11:20:01 ens3 105.57 77.45 954.29 26.85 0.00 0.00 0.00 0.00 11:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:21:01 lo 8.73 8.73 0.82 0.82 0.00 0.00 0.00 0.00 11:21:01 br-3c8dae27fecb 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:21:01 ens3 357.94 229.46 10850.97 20.53 0.00 0.00 0.00 0.00 11:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:22:01 veth30f3712 0.52 0.72 0.06 0.30 0.00 0.00 0.00 0.00 11:22:01 vethf037619 113.70 94.28 36.70 113.10 0.00 0.00 0.00 0.01 11:22:01 lo 7.40 7.40 8.37 8.37 0.00 0.00 0.00 0.00 11:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:23:01 veth30f3712 0.23 0.22 0.02 0.01 0.00 0.00 0.00 0.00 11:23:01 vethf037619 1.08 1.20 0.82 0.08 0.00 0.00 0.00 0.00 11:23:01 lo 10.06 10.06 0.75 0.75 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: veth30f3712 0.05 0.06 0.00 0.02 0.00 0.00 0.00 0.00 Average: vethf037619 7.66 6.37 2.50 7.55 0.00 0.00 0.00 0.00 Average: lo 1.94 1.94 0.68 0.68 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-23011) 04/13/24 _x86_64_ (8 CPU) 11:07:15 LINUX RESTART (8 CPU) 11:08:02 CPU %user %nice %system %iowait %steal %idle 11:09:01 all 0.11 0.00 0.02 1.19 0.01 98.68 11:09:01 0 0.00 0.00 0.00 0.00 0.00 100.00 11:09:01 1 0.02 0.00 0.00 0.00 0.00 99.98 11:09:01 2 0.02 0.00 0.02 0.19 0.00 99.78 11:09:01 3 0.00 0.00 0.05 9.29 0.00 90.65 11:09:01 4 0.02 0.00 0.03 0.00 0.02 99.93 11:09:01 5 0.03 0.00 0.02 0.00 0.00 99.95 11:09:01 6 0.71 0.00 0.02 0.00 0.00 99.27 11:09:01 7 0.10 0.00 0.00 0.00 0.00 99.90 11:10:01 all 0.03 0.00 0.01 1.14 0.01 98.82 11:10:01 0 0.00 0.00 0.00 0.00 0.00 100.00 11:10:01 1 0.08 0.00 0.00 0.00 0.00 99.92 11:10:01 2 0.02 0.00 0.02 0.00 0.00 99.97 11:10:01 3 0.03 0.00 0.02 9.03 0.02 90.90 11:10:01 4 0.03 0.00 0.02 0.00 0.03 99.92 11:10:01 5 0.05 0.00 0.02 0.05 0.00 99.88 11:10:01 6 0.03 0.00 0.02 0.00 0.02 99.93 11:10:01 7 0.02 0.00 0.02 0.00 0.02 99.95 11:11:01 all 0.01 0.00 0.01 1.21 0.01 98.76 11:11:01 0 0.00 0.00 0.00 0.00 0.00 100.00 11:11:01 1 0.02 0.00 0.00 0.00 0.00 99.98 11:11:01 2 0.02 0.00 0.00 0.00 0.00 99.98 11:11:01 3 0.00 0.00 0.00 9.71 0.00 90.29 11:11:01 4 0.00 0.00 0.03 0.00 0.02 99.95 11:11:01 5 0.02 0.00 0.00 0.00 0.00 99.98 11:11:01 6 0.00 0.00 0.00 0.00 0.00 100.00 11:11:01 7 0.00 0.00 0.00 0.00 0.00 100.00 11:12:01 all 0.03 0.00 0.01 1.12 0.01 98.83 11:12:01 0 0.00 0.00 0.00 0.00 0.00 100.00 11:12:01 1 0.00 0.00 0.02 0.00 0.02 99.97 11:12:01 2 0.05 0.00 0.02 0.00 0.00 99.93 11:12:01 3 0.00 0.00 0.02 8.97 0.00 91.01 11:12:01 4 0.08 0.00 0.00 0.00 0.02 99.90 11:12:01 5 0.05 0.00 0.02 0.00 0.00 99.93 11:12:01 6 0.03 0.00 0.02 0.00 0.02 99.93 11:12:01 7 0.02 0.00 0.00 0.00 0.00 99.98 11:13:01 all 0.01 0.00 0.01 1.19 0.01 98.78 11:13:01 0 0.02 0.00 0.00 0.00 0.00 99.98 11:13:01 1 0.00 0.00 0.02 0.00 0.02 99.97 11:13:01 2 0.03 0.00 0.00 0.00 0.00 99.97 11:13:01 3 0.00 0.00 0.02 9.54 0.02 90.43 11:13:01 4 0.05 0.00 0.00 0.00 0.02 99.93 11:13:01 5 0.02 0.00 0.00 0.00 0.02 99.97 11:13:01 6 0.00 0.00 0.00 0.00 0.02 99.98 11:13:01 7 0.02 0.00 0.03 0.00 0.02 99.93 11:14:01 all 0.02 0.00 0.01 1.12 0.01 98.84 11:14:01 0 0.02 0.00 0.02 0.00 0.00 99.97 11:14:01 1 0.00 0.00 0.02 0.00 0.00 99.98 11:14:01 2 0.02 0.00 0.00 0.05 0.02 99.92 11:14:01 3 0.00 0.00 0.00 8.95 0.00 91.05 11:14:01 4 0.07 0.00 0.02 0.00 0.00 99.92 11:14:01 5 0.02 0.00 0.00 0.00 0.00 99.98 11:14:01 6 0.00 0.00 0.02 0.00 0.00 99.98 11:14:01 7 0.02 0.00 0.02 0.00 0.03 99.93 11:15:01 all 0.02 0.00 0.01 0.53 0.01 99.44 11:15:01 0 0.03 0.00 0.03 0.00 0.00 99.93 11:15:01 1 0.00 0.00 0.00 0.00 0.00 100.00 11:15:01 2 0.03 0.00 0.00 0.02 0.00 99.95 11:15:01 3 0.00 0.00 0.00 4.20 0.00 95.80 11:15:01 4 0.03 0.00 0.00 0.00 0.00 99.97 11:15:01 5 0.02 0.00 0.00 0.00 0.00 99.98 11:15:01 6 0.00 0.00 0.00 0.00 0.02 99.98 11:15:01 7 0.02 0.00 0.00 0.00 0.03 99.95 11:16:01 all 0.11 0.00 0.01 0.00 0.00 99.88 11:16:01 0 0.00 0.00 0.00 0.00 0.00 100.00 11:16:01 1 0.63 0.00 0.00 0.00 0.02 99.35 11:16:01 2 0.00 0.00 0.02 0.00 0.00 99.98 11:16:01 3 0.10 0.00 0.03 0.02 0.00 99.85 11:16:01 4 0.13 0.00 0.00 0.00 0.02 99.85 11:16:01 5 0.02 0.00 0.02 0.00 0.02 99.95 11:16:01 6 0.02 0.00 0.00 0.00 0.00 99.98 11:16:01 7 0.00 0.00 0.02 0.02 0.02 99.95 11:17:01 all 0.27 0.00 0.01 0.01 0.01 99.71 11:17:01 0 0.02 0.00 0.00 0.00 0.00 99.98 11:17:01 1 1.99 0.00 0.02 0.00 0.00 98.00 11:17:01 2 0.00 0.00 0.00 0.00 0.00 100.00 11:17:01 3 0.00 0.00 0.00 0.08 0.00 99.92 11:17:01 4 0.05 0.00 0.02 0.00 0.00 99.93 11:17:01 5 0.02 0.00 0.00 0.00 0.00 99.98 11:17:01 6 0.00 0.00 0.00 0.00 0.00 100.00 11:17:01 7 0.03 0.00 0.00 0.00 0.02 99.95 11:18:01 all 0.26 0.00 0.01 0.00 0.01 99.72 11:18:01 0 0.00 0.00 0.00 0.00 0.00 100.00 11:18:01 1 1.97 0.00 0.02 0.00 0.00 98.01 11:18:01 2 0.00 0.00 0.00 0.00 0.00 100.00 11:18:01 3 0.02 0.00 0.00 0.03 0.00 99.95 11:18:01 4 0.02 0.00 0.00 0.00 0.00 99.98 11:18:01 5 0.02 0.00 0.00 0.00 0.00 99.98 11:18:01 6 0.03 0.00 0.02 0.00 0.00 99.95 11:18:01 7 0.02 0.00 0.02 0.02 0.03 99.92 11:19:01 all 0.95 0.00 0.05 0.01 0.01 98.98 11:19:01 0 0.02 0.00 0.02 0.00 0.00 99.97 11:19:01 1 2.91 0.00 0.02 0.00 0.02 97.06 11:19:01 2 1.30 0.00 0.02 0.00 0.00 98.68 11:19:01 3 1.23 0.00 0.03 0.02 0.02 98.70 11:19:01 4 0.33 0.00 0.17 0.00 0.02 99.48 11:19:01 5 0.77 0.00 0.07 0.08 0.00 99.08 11:19:01 6 0.12 0.00 0.03 0.00 0.00 99.85 11:19:01 7 0.90 0.00 0.03 0.00 0.02 99.05 11:19:01 CPU %user %nice %system %iowait %steal %idle 11:20:01 all 10.94 0.00 0.77 0.99 0.03 87.28 11:20:01 0 2.09 0.00 0.26 0.02 0.07 97.56 11:20:01 1 4.20 0.00 0.45 0.40 0.02 94.94 11:20:01 2 7.50 0.00 0.47 0.17 0.02 91.85 11:20:01 3 0.88 0.00 0.40 4.67 0.02 94.03 11:20:01 4 16.94 0.00 0.90 0.97 0.03 81.16 11:20:01 5 37.50 0.00 2.24 1.35 0.07 58.85 11:20:01 6 12.52 0.00 0.87 0.13 0.03 86.45 11:20:01 7 6.02 0.00 0.58 0.23 0.05 93.11 11:21:01 all 12.31 0.00 2.60 1.35 0.05 83.69 11:21:01 0 7.29 0.00 2.82 0.40 0.07 89.43 11:21:01 1 19.22 0.00 3.13 0.52 0.05 77.08 11:21:01 2 8.19 0.00 1.81 0.18 0.05 89.76 11:21:01 3 7.87 0.00 2.37 1.44 0.03 88.29 11:21:01 4 12.92 0.00 2.46 2.31 0.03 82.27 11:21:01 5 10.21 0.00 2.64 0.32 0.03 86.80 11:21:01 6 25.17 0.00 3.07 2.27 0.05 69.44 11:21:01 7 7.69 0.00 2.46 3.40 0.03 86.40 11:22:01 all 15.69 0.00 2.54 3.16 0.06 78.55 11:22:01 0 8.90 0.00 1.66 0.97 0.05 88.43 11:22:01 1 15.81 0.00 2.18 2.52 0.05 79.43 11:22:01 2 21.89 0.00 3.00 0.64 0.05 74.42 11:22:01 3 14.26 0.00 3.47 15.83 0.07 66.38 11:22:01 4 23.16 0.00 4.13 3.00 0.07 69.65 11:22:01 5 11.42 0.00 1.96 0.84 0.08 85.70 11:22:01 6 16.68 0.00 2.13 0.71 0.05 80.43 11:22:01 7 13.46 0.00 1.84 0.75 0.07 83.87 11:23:01 all 0.53 0.00 0.13 0.01 0.02 99.29 11:23:01 0 0.27 0.00 0.18 0.02 0.07 99.47 11:23:01 1 0.37 0.00 0.15 0.08 0.00 99.40 11:23:01 2 0.23 0.00 0.12 0.00 0.03 99.62 11:23:01 3 0.12 0.00 0.08 0.03 0.02 99.75 11:23:01 4 0.27 0.00 0.13 0.00 0.03 99.57 11:23:01 5 0.75 0.00 0.10 0.00 0.03 99.12 11:23:01 6 1.85 0.00 0.12 0.00 0.00 98.04 11:23:01 7 0.45 0.00 0.18 0.00 0.02 99.35 Average: all 2.75 0.00 0.41 0.87 0.02 95.96 Average: 0 1.24 0.00 0.33 0.09 0.02 98.31 Average: 1 3.14 0.00 0.40 0.23 0.01 96.22 Average: 2 2.61 0.00 0.36 0.08 0.01 96.93 Average: 3 1.63 0.00 0.43 5.45 0.01 92.49 Average: 4 3.60 0.00 0.53 0.42 0.02 95.44 Average: 5 4.06 0.00 0.47 0.18 0.02 95.28 Average: 6 3.80 0.00 0.42 0.21 0.01 95.57 Average: 7 1.91 0.00 0.35 0.29 0.02 97.42