Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-8842 (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-QhmVYXYSywgr/agent.2042 SSH_AGENT_PID=2044 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-master-project-csit-api@tmp/private_key_7261569618410481187.key (/w/workspace/policy-api-master-project-csit-api@tmp/private_key_7261569618410481187.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 8361cb0e3663a610a46bc5ea8a0cc783ade26f89 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 8361cb0e3663a610a46bc5ea8a0cc783ade26f89 # timeout=30 Commit message: "Fix config files removing hibernate deprecated properties and changing robot deprecated commands in test files" > git rev-list --no-walk 8361cb0e3663a610a46bc5ea8a0cc783ade26f89 # 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/jenkins7056634371486399201.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-VgMH 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-VgMH/bin to PATH Generating Requirements File ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.9 requires openstacksdk>=2.1.0, but you have openstacksdk 0.62.0 which is incompatible. Python 3.10.6 pip 24.0 from /tmp/venv-VgMH/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.2 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.49 botocore==1.34.49 bs4==0.0.2 cachetools==5.3.2 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.0.post1 filelock==3.13.1 future==1.0.0 gitdb==4.0.11 GitPython==3.1.42 google-auth==2.28.1 httplib2==0.22.0 identify==2.5.35 idna==3.6 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.6.0 kubernetes==29.0.0 lftools==0.37.9 lxml==5.1.0 MarkupSafe==2.1.5 msgpack==1.0.7 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==0.62.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.4.0 oslo.i18n==6.3.0 oslo.log==5.5.0 oslo.serialization==5.4.0 oslo.utils==7.1.0 packaging==23.2 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.10.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.2.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.4.0 python-dateutil==2.8.2 python-heatclient==3.4.0 python-jenkins==1.8.2 python-keystoneclient==5.3.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.1 python-swiftclient==4.4.0 PyYAML==6.0.1 referencing==0.33.0 requests==2.31.0 requests-oauthlib==1.3.1 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.0 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.3 tqdm==4.66.2 typing_extensions==4.10.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/jenkins10431578192634592261.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/jenkins7745188684739963963.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.W9U2Ca8Ghf ++ echo ROBOT_VENV=/tmp/tmp.W9U2Ca8Ghf +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.W9U2Ca8Ghf ++ source /tmp/tmp.W9U2Ca8Ghf/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.W9U2Ca8Ghf +++ 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.W9U2Ca8Ghf/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.W9U2Ca8Ghf) ' '!=' x ']' +++ PS1='(tmp.W9U2Ca8Ghf) ' +++ 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.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==5.1.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.W9U2Ca8Ghf/src/onap ++ rm -rf /tmp/tmp.W9U2Ca8Ghf/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Installing python confluent-kafka library' Installing python confluent-kafka library ++ python3 -m pip install -qq confluent-kafka ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2024.2.2 cffi==1.15.1 charset-normalizer==2.0.12 confluent-kafka==2.3.0 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==1.0.0 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==5.1.0 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 PyYAML==6.0.1 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==0.6.0.dev105 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.W9U2Ca8Ghf/bin/activate + '[' -z /tmp/tmp.W9U2Ca8Ghf/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.W9U2Ca8Ghf/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.W9U2Ca8Ghf ++ 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.W9U2Ca8Ghf/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.W9U2Ca8Ghf) ' ++ '[' 'x(tmp.W9U2Ca8Ghf) ' '!=' x ']' ++ PS1='(tmp.W9U2Ca8Ghf) (tmp.W9U2Ca8Ghf) ' ++ 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.V7ZTn9oZDr + cd /tmp/tmp.V7ZTn9oZDr + 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:59b5cc74cb5bbcb86c2e85d974415cfa4a6270c5728a7a489a5c6eece42f2b45 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:71cc3c3555fddbd324c5ddec27e24db340b82732d2f6ce50eddcfdf6715a7ab2 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:042258e3578a558ce41b036104dfa997b2d25151ab6889a3f4d6187e27b1176c 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:8640e5038e83ca4554ed56b9d76375158bcd51580238c6f5d8adaf3f20dd5379 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 14 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 22 seconds prometheus Up 24 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/policy-api-master-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:24:28 up 3 min, 0 users, load average: 2.31, 0.97, 0.38 Tasks: 176 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.9 us, 2.2 sy, 0.0 ni, 83.5 id, 3.2 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 f9729a5dd6b7 policy-api 0.11% 527.9MiB / 31.41GiB 1.64% 999kB / 710kB 0B / 0B 54 b5760db553eb grafana 0.18% 50.43MiB / 31.41GiB 0.16% 18.4kB / 3.25kB 0B / 24MB 14 cb8964f2a44f mariadb 0.02% 100.4MiB / 31.41GiB 0.31% 985kB / 1.18MB 11.1MB / 67.8MB 27 364d7daacab4 prometheus 0.08% 18.25MiB / 31.41GiB 0.06% 1.31kB / 0B 4.1kB / 0B 12 + echo + cd /tmp/tmp.V7ZTn9oZDr + 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.V7ZTn9oZDr/output.xml Log: /tmp/tmp.V7ZTn9oZDr/log.html Report: /tmp/tmp.V7ZTn9oZDr/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-master-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:25:39 up 4 min, 0 users, load average: 0.82, 0.81, 0.36 Tasks: 174 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.1 us, 1.7 sy, 0.0 ni, 86.5 id, 2.5 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.9G 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 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 f9729a5dd6b7 policy-api 0.12% 960.1MiB / 31.41GiB 2.98% 7.01MB / 2.59MB 0B / 0B 55 b5760db553eb grafana 0.01% 56.09MiB / 31.41GiB 0.17% 19.5kB / 4.48kB 0B / 24MB 14 cb8964f2a44f mariadb 0.02% 101.7MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 11.1MB / 68.1MB 19 364d7daacab4 prometheus 0.23% 23.71MiB / 31.41GiB 0.07% 102kB / 7.5kB 4.1kB / 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-02-26 11:24:00+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-02-26 11:24:00+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-02-26 11:24:00+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-02-26 11:24:01+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-02-26 11:24:01 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-02-26 11:24:01 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-02-26 11:24:01 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-02-26 11:24:02+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-02-26 11:24:02+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-02-26 11:24:02+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-02-26 11:24:02 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 95 ... mariadb | 2024-02-26 11:24:02 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-02-26 11:24:02 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-02-26 11:24:02 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-02-26 11:24:02 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-02-26 11:24:02 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-02-26 11:24:02 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-02-26 11:24:02 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-02-26 11:24:02 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-02-26 11:24:02 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-02-26 11:24:02 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-02-26 11:24:02 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-02-26 11:24:02 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-02-26 11:24:02 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-02-26 11:24:02 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-02-26 11:24:02 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-02-26 11:24:02 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-02-26 11:24:02 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-02-26 11:24:03 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-02-26 11:24:03+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-02-26 11:24:05+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-02-26 11:24:05+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2024-02-26 11:24:05+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2024-02-26 11:24:05+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' grafana | logger=settings t=2024-02-26T11:23:59.746410427Z level=info msg="Starting Grafana" version=10.3.3 commit=252761264e22ece57204b327f9130d3b44592c01 branch=HEAD compiled=2024-02-26T11:23:59Z grafana | logger=settings t=2024-02-26T11:23:59.74678261Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-02-26T11:23:59.74679693Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-02-26T11:23:59.746801Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-02-26T11:23:59.746804381Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-02-26T11:23:59.746807951Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-02-26T11:23:59.746810751Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-02-26T11:23:59.746813591Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-02-26T11:23:59.746816761Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-02-26T11:23:59.746820671Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-02-26T11:23:59.746823351Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-02-26T11:23:59.746826111Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-02-26T11:23:59.746828971Z level=info msg=Target target=[all] grafana | logger=settings t=2024-02-26T11:23:59.746835432Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-02-26T11:23:59.746838412Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-02-26T11:23:59.746841232Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-02-26T11:23:59.746846232Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-02-26T11:23:59.746849952Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-02-26T11:23:59.746853742Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-02-26T11:23:59.747158433Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-02-26T11:23:59.747181753Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-02-26T11:23:59.747845246Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-02-26T11:23:59.748739276Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-02-26T11:23:59.749535853Z level=info msg="Migration successfully executed" id="create migration_log table" duration=800.127µs grafana | logger=migrator t=2024-02-26T11:23:59.75388399Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-02-26T11:23:59.754541372Z level=info msg="Migration successfully executed" id="create user table" duration=658.232µs grafana | logger=migrator t=2024-02-26T11:23:59.760180602Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-02-26T11:23:59.761475986Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.285583ms grafana | logger=migrator t=2024-02-26T11:23:59.765980448Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-02-26T11:23:59.767195059Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.215041ms grafana | logger=migrator t=2024-02-26T11:23:59.77196095Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-02-26T11:23:59.773054156Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.093367ms grafana | logger=migrator t=2024-02-26T11:23:59.778049475Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-02-26T11:23:59.778740898Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=691.303µs grafana | logger=migrator t=2024-02-26T11:23:59.822205915Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-02-26T11:23:59.826719967Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.512542ms grafana | logger=migrator t=2024-02-26T11:23:59.830281217Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-02-26T11:23:59.831010872Z level=info msg="Migration successfully executed" id="create user table v2" duration=729.375µs grafana | logger=migrator t=2024-02-26T11:23:59.834447508Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-02-26T11:23:59.835186903Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=739.065µs grafana | logger=migrator t=2024-02-26T11:23:59.839766408Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-02-26T11:23:59.840923527Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.156599ms grafana | logger=migrator t=2024-02-26T11:23:59.845706548Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-02-26T11:23:59.846384811Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=677.053µs grafana | logger=migrator t=2024-02-26T11:23:59.85050338Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-02-26T11:23:59.851344879Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=840.588µs grafana | logger=migrator t=2024-02-26T11:23:59.85613612Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-02-26T11:23:59.857273929Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.136768ms grafana | logger=migrator t=2024-02-26T11:23:59.8611737Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-02-26T11:23:59.861201601Z level=info msg="Migration successfully executed" id="Update user table charset" duration=28.391µs grafana | logger=migrator t=2024-02-26T11:23:59.864843944Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-02-26T11:23:59.866634684Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.79233ms grafana | logger=migrator t=2024-02-26T11:23:59.870620449Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-02-26T11:23:59.87094421Z level=info msg="Migration successfully executed" id="Add missing user data" duration=324.571µs grafana | logger=migrator t=2024-02-26T11:23:59.875373309Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-02-26T11:23:59.876506157Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.130008ms grafana | logger=migrator t=2024-02-26T11:23:59.880946537Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-02-26T11:23:59.881705643Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=758.866µs grafana | logger=migrator t=2024-02-26T11:23:59.8848873Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-02-26T11:23:59.886093471Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.205191ms grafana | logger=migrator t=2024-02-26T11:23:59.889453055Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-02-26T11:23:59.901439589Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=12.001884ms grafana | logger=migrator t=2024-02-26T11:23:59.905741454Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-02-26T11:23:59.906263362Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=521.738µs grafana | logger=migrator t=2024-02-26T11:23:59.909860563Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-02-26T11:23:59.910635099Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=774.016µs grafana | logger=migrator t=2024-02-26T11:23:59.914725847Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-02-26T11:23:59.915763782Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.036005ms grafana | logger=migrator t=2024-02-26T11:23:59.921487755Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-02-26T11:23:59.922646024Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.157449ms grafana | logger=migrator t=2024-02-26T11:23:59.926686531Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-02-26T11:23:59.927586621Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=899.7µs grafana | logger=migrator t=2024-02-26T11:23:59.931199433Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-02-26T11:23:59.931226894Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=27.631µs grafana | logger=migrator t=2024-02-26T11:23:59.935702565Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-02-26T11:23:59.936683528Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=976.663µs grafana | logger=migrator t=2024-02-26T11:23:59.940152875Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-02-26T11:23:59.941143969Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=986.854µs grafana | logger=migrator t=2024-02-26T11:23:59.94474264Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-02-26T11:23:59.945372972Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=631.781µs grafana | logger=migrator t=2024-02-26T11:23:59.949584284Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-02-26T11:23:59.950250976Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=665.892µs grafana | logger=migrator t=2024-02-26T11:23:59.953724133Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-02-26T11:23:59.959343133Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=5.61775ms grafana | logger=migrator t=2024-02-26T11:23:59.962971075Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-02-26T11:23:59.963682699Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=710.704µs grafana | logger=migrator t=2024-02-26T11:23:59.968075397Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-02-26T11:23:59.968801932Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=725.525µs grafana | logger=migrator t=2024-02-26T11:23:59.972115224Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-02-26T11:23:59.972857749Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=742.195µs grafana | logger=migrator t=2024-02-26T11:23:59.976229963Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-02-26T11:23:59.976947247Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=717.234µs grafana | logger=migrator t=2024-02-26T11:23:59.981306754Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-02-26T11:23:59.982021588Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=714.074µs grafana | logger=migrator t=2024-02-26T11:23:59.985956941Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-02-26T11:23:59.986570012Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=612.491µs grafana | logger=migrator t=2024-02-26T11:23:59.990163323Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-02-26T11:23:59.99096515Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=801.377µs grafana | logger=migrator t=2024-02-26T11:23:59.994687076Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-02-26T11:23:59.995034947Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=347.341µs grafana | logger=migrator t=2024-02-26T11:24:00.005816361Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-02-26T11:24:00.00669999Z level=info msg="Migration successfully executed" id="create star table" duration=883.369µs grafana | logger=migrator t=2024-02-26T11:24:00.010659003Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-02-26T11:24:00.011894084Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.225961ms grafana | logger=migrator t=2024-02-26T11:24:00.015915918Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-02-26T11:24:00.01659756Z level=info msg="Migration successfully executed" id="create org table v1" duration=681.462µs grafana | logger=migrator t=2024-02-26T11:24:00.022937492Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-02-26T11:24:00.02407347Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.135777ms grafana | logger=migrator t=2024-02-26T11:24:00.027886147Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-02-26T11:24:00.028867319Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=980.452µs grafana | logger=migrator t=2024-02-26T11:24:00.0324808Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-02-26T11:24:00.033250865Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=769.105µs grafana | logger=migrator t=2024-02-26T11:24:00.036834575Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-02-26T11:24:00.037619331Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=784.276µs grafana | logger=migrator t=2024-02-26T11:24:00.041956625Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-02-26T11:24:00.043159595Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.202ms grafana | logger=migrator t=2024-02-26T11:24:00.046531438Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-02-26T11:24:00.046572249Z level=info msg="Migration successfully executed" id="Update org table charset" duration=41.881µs grafana | logger=migrator t=2024-02-26T11:24:00.049881159Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-02-26T11:24:00.049925481Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=45.242µs grafana | logger=migrator t=2024-02-26T11:24:00.053656545Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-02-26T11:24:00.053917554Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=260.989µs grafana | logger=migrator t=2024-02-26T11:24:00.058370522Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-02-26T11:24:00.059044355Z level=info msg="Migration successfully executed" id="create dashboard table" duration=673.213µs grafana | logger=migrator t=2024-02-26T11:24:00.062480109Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-02-26T11:24:00.063243885Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=758.635µs grafana | logger=migrator t=2024-02-26T11:24:00.066495783Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-02-26T11:24:00.067740324Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.243391ms grafana | logger=migrator t=2024-02-26T11:24:00.071344025Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-02-26T11:24:00.072377309Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.032615ms grafana | logger=migrator t=2024-02-26T11:24:00.077192119Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-02-26T11:24:00.078082019Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=889.32µs grafana | logger=migrator t=2024-02-26T11:24:00.081585636Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-02-26T11:24:00.082580929Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=993.613µs grafana | logger=migrator t=2024-02-26T11:24:00.086132067Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-02-26T11:24:00.094433814Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=8.302277ms grafana | logger=migrator t=2024-02-26T11:24:00.099306896Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-02-26T11:24:00.099942607Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=635.571µs grafana | logger=migrator t=2024-02-26T11:24:00.103149304Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-02-26T11:24:00.103843177Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=693.343µs grafana | logger=migrator t=2024-02-26T11:24:00.107096246Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-02-26T11:24:00.107800229Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=703.513µs grafana | logger=migrator t=2024-02-26T11:24:00.11231701Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-02-26T11:24:00.11264383Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=320.42µs grafana | logger=migrator t=2024-02-26T11:24:00.115823096Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-02-26T11:24:00.116623113Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=799.987µs grafana | logger=migrator t=2024-02-26T11:24:00.121284448Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-02-26T11:24:00.121381802Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=98.363µs grafana | logger=migrator t=2024-02-26T11:24:00.125208199Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-02-26T11:24:00.12793821Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.729341ms grafana | logger=migrator t=2024-02-26T11:24:00.131449447Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-02-26T11:24:00.13422205Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.771662ms grafana | logger=migrator t=2024-02-26T11:24:00.137658064Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-02-26T11:24:00.139372551Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.714167ms grafana | logger=migrator t=2024-02-26T11:24:00.143745727Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-02-26T11:24:00.144503622Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=757.615µs grafana | logger=migrator t=2024-02-26T11:24:00.147940847Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-02-26T11:24:00.149681215Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.742549ms grafana | logger=migrator t=2024-02-26T11:24:00.15285734Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2024-02-26T11:24:00.153646847Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=788.756µs grafana | logger=migrator t=2024-02-26T11:24:00.158928813Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-02-26T11:24:00.159688538Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=759.225µs grafana | logger=migrator t=2024-02-26T11:24:00.16304046Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-02-26T11:24:00.163079761Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=40.791µs grafana | logger=migrator t=2024-02-26T11:24:00.166805075Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-02-26T11:24:00.166841676Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=43.141µs grafana | logger=migrator t=2024-02-26T11:24:00.171235893Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-02-26T11:24:00.174177451Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.940988ms grafana | logger=migrator t=2024-02-26T11:24:00.178914648Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-02-26T11:24:00.180953767Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.039918ms grafana | logger=migrator t=2024-02-26T11:24:00.184243716Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-02-26T11:24:00.186128009Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.883873ms grafana | logger=migrator t=2024-02-26T11:24:00.190708421Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-02-26T11:24:00.192573233Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.864452ms grafana | logger=migrator t=2024-02-26T11:24:00.195900324Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-02-26T11:24:00.1960797Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=179.796µs grafana | logger=migrator t=2024-02-26T11:24:00.199468863Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-02-26T11:24:00.200216828Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=747.355µs grafana | logger=migrator t=2024-02-26T11:24:00.203473807Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-02-26T11:24:00.204568103Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.093967ms grafana | logger=migrator t=2024-02-26T11:24:00.208910538Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-02-26T11:24:00.208948879Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=47.522µs grafana | logger=migrator t=2024-02-26T11:24:00.212556279Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-02-26T11:24:00.213290804Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=734.284µs grafana | logger=migrator t=2024-02-26T11:24:00.216648816Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-02-26T11:24:00.217264396Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=622.361µs grafana | logger=migrator t=2024-02-26T11:24:00.221713524Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-02-26T11:24:00.231769319Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=10.057115ms grafana | logger=migrator t=2024-02-26T11:24:00.234979136Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-02-26T11:24:00.235441232Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=461.676µs grafana | logger=migrator t=2024-02-26T11:24:00.238802644Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-02-26T11:24:00.239363232Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=563.419µs grafana | logger=migrator t=2024-02-26T11:24:00.243428698Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-02-26T11:24:00.244205754Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=776.466µs 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-02-26 11:24:06+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-02-26 11:24:06 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-02-26 11:24:06 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-02-26 11:24:06 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-02-26 11:24:06 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-02-26 11:24:06 0 [Note] InnoDB: Buffer pool(s) dump completed at 240226 11:24:06 mariadb | 2024-02-26 11:24:06 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-02-26 11:24:06 0 [Note] InnoDB: Shutdown completed; log sequence number 330481; transaction id 298 mariadb | 2024-02-26 11:24:06 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-02-26 11:24:06+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-02-26 11:24:06+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-02-26 11:24:07 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-02-26 11:24:07 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-02-26 11:24:07 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-02-26 11:24:07 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-02-26 11:24:07 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-02-26 11:24:07 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-02-26 11:24:07 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-02-26 11:24:07 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-02-26 11:24:07 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-02-26 11:24:07 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-02-26 11:24:07 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-02-26 11:24:07 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-02-26 11:24:07 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-02-26 11:24:07 0 [Note] InnoDB: log sequence number 330481; transaction id 299 mariadb | 2024-02-26 11:24:07 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-02-26 11:24:07 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-02-26 11:24:07 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-02-26 11:24:07 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-02-26 11:24:07 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-02-26 11:24:07 0 [Note] Server socket created on IP: '::'. mariadb | 2024-02-26 11:24:07 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-02-26 11:24:07 0 [Note] InnoDB: Buffer pool(s) load completed at 240226 11:24:07 grafana | logger=migrator t=2024-02-26T11:24:00.247373259Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-02-26T11:24:00.247650988Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=277.939µs grafana | logger=migrator t=2024-02-26T11:24:00.250972599Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-02-26T11:24:00.251780046Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=807.457µs grafana | logger=migrator t=2024-02-26T11:24:00.256254035Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-02-26T11:24:00.259428171Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.173506ms grafana | logger=migrator t=2024-02-26T11:24:00.26300575Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-02-26T11:24:00.264225431Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=1.219001ms grafana | logger=migrator t=2024-02-26T11:24:00.271615177Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-02-26T11:24:00.271779632Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=164.185µs grafana | logger=migrator t=2024-02-26T11:24:00.275772195Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-02-26T11:24:00.276038254Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=258.259µs grafana | logger=migrator t=2024-02-26T11:24:00.279340064Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-02-26T11:24:00.280490483Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.149609ms grafana | logger=migrator t=2024-02-26T11:24:00.283958768Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-02-26T11:24:00.286023197Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.064019ms grafana | logger=migrator t=2024-02-26T11:24:00.288953645Z level=info msg="Executing migration" id="create data_source table" mariadb | 2024-02-26 11:24:07 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) mariadb | 2024-02-26 11:24:07 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-02-26T11:24:00.289748621Z level=info msg="Migration successfully executed" id="create data_source table" duration=791.726µs grafana | logger=migrator t=2024-02-26T11:24:00.293767925Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-02-26T11:24:00.29451102Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=742.744µs grafana | logger=migrator t=2024-02-26T11:24:00.297546371Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-02-26T11:24:00.298350637Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=800.367µs grafana | logger=migrator t=2024-02-26T11:24:00.301973318Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-02-26T11:24:00.303077595Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.104157ms grafana | logger=migrator t=2024-02-26T11:24:00.307462071Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-02-26T11:24:00.308562378Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.099987ms grafana | logger=migrator t=2024-02-26T11:24:00.311960261Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-02-26T11:24:00.319709179Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=7.751508ms grafana | logger=migrator t=2024-02-26T11:24:00.323899669Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-02-26T11:24:00.324676035Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=776.036µs grafana | logger=migrator t=2024-02-26T11:24:00.327764057Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-02-26T11:24:00.328565084Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=805.577µs grafana | logger=migrator t=2024-02-26T11:24:00.332067661Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-02-26T11:24:00.332850947Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=782.796µs grafana | logger=migrator t=2024-02-26T11:24:00.337169491Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-02-26T11:24:00.338014579Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=844.718µs grafana | logger=migrator t=2024-02-26T11:24:00.341250067Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-02-26T11:24:00.344822016Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.571099ms grafana | logger=migrator t=2024-02-26T11:24:00.348335903Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-02-26T11:24:00.350616949Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.280906ms grafana | logger=migrator t=2024-02-26T11:24:00.354807078Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-02-26T11:24:00.354833899Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=27.631µs grafana | logger=migrator t=2024-02-26T11:24:00.358051487Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-02-26T11:24:00.359021399Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=967.123µs grafana | logger=migrator t=2024-02-26T11:24:00.365747353Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-02-26T11:24:00.369725375Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.980492ms grafana | logger=migrator t=2024-02-26T11:24:00.373040626Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-02-26T11:24:00.373211712Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=171.196µs grafana | logger=migrator t=2024-02-26T11:24:00.377586447Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-02-26T11:24:00.377741862Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=156.775µs grafana | logger=migrator t=2024-02-26T11:24:00.381146426Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-02-26T11:24:00.384705204Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.558258ms grafana | logger=migrator t=2024-02-26T11:24:00.388015735Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-02-26T11:24:00.38818002Z level=info msg="Migration successfully executed" id="Update uid value" duration=164.215µs grafana | logger=migrator t=2024-02-26T11:24:00.426864319Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-02-26T11:24:00.428132361Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.267522ms grafana | logger=migrator t=2024-02-26T11:24:00.431833575Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-02-26T11:24:00.433064796Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.230402ms grafana | logger=migrator t=2024-02-26T11:24:00.436775519Z level=info msg="Executing migration" id="create api_key table" 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.8) policy-api | policy-api | [2024-02-26T11:24:15.006+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.10 with PID 21 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-02-26T11:24:15.007+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-02-26T11:24:16.622+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-02-26T11:24:16.714+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 82 ms. Found 6 JPA repository interfaces. policy-api | [2024-02-26T11:24:17.108+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-02-26T11:24:17.109+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-02-26T11:24:17.880+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-02-26T11:24:17.892+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-02-26T11:24:17.895+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-02-26T11:24:17.895+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.18] policy-api | [2024-02-26T11:24:17.998+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-02-26T11:24:17.998+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2925 ms policy-api | [2024-02-26T11:24:18.431+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-02-26T11:24:18.499+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-api | [2024-02-26T11:24:18.502+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-api | [2024-02-26T11:24:18.546+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-api | [2024-02-26T11:24:18.900+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-api | [2024-02-26T11:24:18.917+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-02-26T11:24:19.015+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@63b3ee82 policy-api | [2024-02-26T11:24:19.018+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-02-26T11:24:20.887+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-api | [2024-02-26T11:24:20.890+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-02-26T11:24:21.889+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-02-26T11:24:22.721+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-02-26T11:24:23.835+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-02-26T11:24:24.024+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@78b9d614, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@63f95ac1, org.springframework.security.web.context.SecurityContextHolderFilter@4b7feb38, org.springframework.security.web.header.HeaderWriterFilter@31829b82, org.springframework.security.web.authentication.logout.LogoutFilter@7b1466e3, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@31475919, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@700f356b, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@712ce4f1, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@14a7e16e, org.springframework.security.web.access.ExceptionTranslationFilter@3005133e, org.springframework.security.web.access.intercept.AuthorizationFilter@285bee4e] policy-api | [2024-02-26T11:24:24.820+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-02-26T11:24:24.909+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-02-26T11:24:24.931+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-02-26T11:24:24.949+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.66 seconds (process running for 11.243) policy-api | [2024-02-26T11:24:31.105+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-02-26T11:24:31.106+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2024-02-26T11:24:31.107+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-api | [2024-02-26T11:24:34.013+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: policy-api | [] grafana | logger=migrator t=2024-02-26T11:24:00.437888906Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.112577ms grafana | logger=migrator t=2024-02-26T11:24:00.442532751Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-02-26T11:24:00.443270816Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=737.465µs grafana | logger=migrator t=2024-02-26T11:24:00.446931178Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-02-26T11:24:00.447705603Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=774.166µs grafana | logger=migrator t=2024-02-26T11:24:00.451035024Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-02-26T11:24:00.451845601Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=810.087µs grafana | logger=migrator t=2024-02-26T11:24:00.457779139Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-02-26T11:24:00.458579396Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=799.607µs grafana | logger=migrator t=2024-02-26T11:24:00.46171436Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-02-26T11:24:00.462855888Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.141498ms policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | 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-02-26T11:24:34.139+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes policy-api | [2024-02-26T11:24:34.376+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2024-02-26T11:24:35.509+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policies policy-api | [2024-02-26T11:24:37.584+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-02-26T11:24:37.872+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-02-26T11:24:38.124+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-02-26T11:24:38.365+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-02-26T11:24:38.598+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 grafana | logger=migrator t=2024-02-26T11:24:00.466229481Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-02-26T11:24:00.466936994Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=707.503µs grafana | logger=migrator t=2024-02-26T11:24:00.471547528Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-02-26T11:24:00.479912686Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=8.364368ms grafana | logger=migrator t=2024-02-26T11:24:00.48331924Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-02-26T11:24:00.483949941Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=630.481µs grafana | logger=migrator t=2024-02-26T11:24:00.488216623Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-02-26T11:24:00.488940377Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=723.084µs grafana | logger=migrator t=2024-02-26T11:24:00.492385352Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-02-26T11:24:00.493572931Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.186559ms grafana | logger=migrator t=2024-02-26T11:24:00.497273385Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-02-26T11:24:00.498582788Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.308614ms grafana | logger=migrator t=2024-02-26T11:24:00.503119329Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-02-26T11:24:00.503457701Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=337.842µs grafana | logger=migrator t=2024-02-26T11:24:00.506047017Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-02-26T11:24:00.506566214Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=518.647µs grafana | logger=migrator t=2024-02-26T11:24:00.509844274Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-02-26T11:24:00.509882275Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=38.802µs grafana | logger=migrator t=2024-02-26T11:24:00.513256987Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-02-26T11:24:00.517155107Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=3.89783ms grafana | logger=migrator t=2024-02-26T11:24:00.52174398Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-02-26T11:24:00.52413614Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.39114ms grafana | logger=migrator t=2024-02-26T11:24:00.527667547Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-02-26T11:24:00.527823982Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=156.385µs grafana | logger=migrator t=2024-02-26T11:24:00.531187435Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-02-26T11:24:00.533552463Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.362739ms grafana | logger=migrator t=2024-02-26T11:24:00.537472304Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-02-26T11:24:00.539931016Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.458372ms grafana | logger=migrator t=2024-02-26T11:24:00.543377411Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-02-26T11:24:00.544028182Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=650.531µs grafana | logger=migrator t=2024-02-26T11:24:00.547728436Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-02-26T11:24:00.548243873Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=514.977µs grafana | logger=migrator t=2024-02-26T11:24:00.552580897Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-02-26T11:24:00.5535509Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=968.672µs grafana | logger=migrator t=2024-02-26T11:24:00.557594865Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-02-26T11:24:00.559150896Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.560052ms grafana | logger=migrator t=2024-02-26T11:24:00.563095378Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-02-26T11:24:00.564388691Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.293023ms grafana | logger=migrator t=2024-02-26T11:24:00.568799898Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-02-26T11:24:00.569634835Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=834.787µs grafana | logger=migrator t=2024-02-26T11:24:00.572954836Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-02-26T11:24:00.573014218Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=60.052µs grafana | logger=migrator t=2024-02-26T11:24:00.576353179Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-02-26T11:24:00.576391901Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=39.652µs grafana | logger=migrator t=2024-02-26T11:24:00.579993471Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-02-26T11:24:00.583753956Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=3.761015ms policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-api | [2024-02-26T11:24:38.831+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 prometheus | ts=2024-02-26T11:23:58.803Z caller=main.go:564 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2024-02-26T11:23:58.803Z caller=main.go:608 level=info msg="Starting Prometheus Server" mode=server version="(version=2.50.0, branch=HEAD, revision=814b920e8a6345d35712b5857ebd4cb5e90fc107)" prometheus | ts=2024-02-26T11:23:58.803Z caller=main.go:613 level=info build_context="(go=go1.21.7, platform=linux/amd64, user=root@384077e1cf50, date=20240222-09:38:19, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2024-02-26T11:23:58.803Z caller=main.go:614 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))" prometheus | ts=2024-02-26T11:23:58.803Z caller=main.go:615 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2024-02-26T11:23:58.803Z caller=main.go:616 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2024-02-26T11:23:58.809Z caller=web.go:565 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-02-26T11:23:58.810Z caller=main.go:1118 level=info msg="Starting TSDB ..." prometheus | ts=2024-02-26T11:23:58.811Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-02-26T11:23:58.811Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2024-02-26T11:23:58.815Z caller=head.go:610 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-02-26T11:23:58.815Z caller=head.go:692 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=1.94µs prometheus | ts=2024-02-26T11:23:58.815Z caller=head.go:700 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-02-26T11:23:58.815Z caller=head.go:771 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2024-02-26T11:23:58.815Z caller=head.go:808 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=27.351µs wal_replay_duration=284.58µs wbl_replay_duration=170ns total_replay_duration=340.872µs prometheus | ts=2024-02-26T11:23:58.819Z caller=main.go:1139 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2024-02-26T11:23:58.819Z caller=main.go:1142 level=info msg="TSDB started" prometheus | ts=2024-02-26T11:23:58.819Z caller=main.go:1324 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2024-02-26T11:23:58.820Z caller=main.go:1361 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=931.992µs db_storage=1.22µs remote_storage=1.57µs web_handler=920ns query_engine=840ns scrape=244.748µs scrape_sd=113.094µs notify=90.943µs notify_sd=21.191µs rules=1.63µs tracing=4.5µs prometheus | ts=2024-02-26T11:23:58.820Z caller=main.go:1103 level=info msg="Server is ready to receive web requests." prometheus | ts=2024-02-26T11:23:58.820Z caller=manager.go:146 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2024-02-26T11:24:00.587911575Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-02-26T11:24:00.590582434Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.671959ms grafana | logger=migrator t=2024-02-26T11:24:00.593550432Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-02-26T11:24:00.593615904Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=65.392µs grafana | logger=migrator t=2024-02-26T11:24:00.596733648Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-02-26T11:24:00.59738985Z level=info msg="Migration successfully executed" id="create quota table v1" duration=655.682µs 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 | 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 | -------------- 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 | grafana | logger=migrator t=2024-02-26T11:24:00.601519828Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2024-02-26T11:24:00.602846792Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.325734ms grafana | logger=migrator t=2024-02-26T11:24:00.606243895Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2024-02-26T11:24:00.606281366Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=38.151µs grafana | logger=migrator t=2024-02-26T11:24:00.609599697Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2024-02-26T11:24:00.610312841Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=712.594µs grafana | logger=migrator t=2024-02-26T11:24:00.614690016Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2024-02-26T11:24:00.615512094Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=820.948µs grafana | logger=migrator t=2024-02-26T11:24:00.618746362Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2024-02-26T11:24:00.623535481Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.79019ms grafana | logger=migrator t=2024-02-26T11:24:00.626980416Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2024-02-26T11:24:00.627008127Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=29.021µs grafana | logger=migrator t=2024-02-26T11:24:00.62951549Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2024-02-26T11:24:00.630441221Z level=info msg="Migration successfully executed" id="create session table" duration=925.471µs grafana | logger=migrator t=2024-02-26T11:24:00.634713784Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2024-02-26T11:24:00.634798206Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=84.332µs grafana | logger=migrator t=2024-02-26T11:24:00.638475399Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2024-02-26T11:24:00.638597613Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=122.384µs grafana | logger=migrator t=2024-02-26T11:24:00.641992386Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-02-26T11:24:00.64301229Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.019584ms grafana | logger=migrator t=2024-02-26T11:24:00.64751338Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2024-02-26T11:24:00.648540134Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.028584ms grafana | logger=migrator t=2024-02-26T11:24:00.652259458Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2024-02-26T11:24:00.65231524Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=58.622µs grafana | logger=migrator t=2024-02-26T11:24:00.656229311Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2024-02-26T11:24:00.656267632Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=39.512µs grafana | logger=migrator t=2024-02-26T11:24:00.660585596Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2024-02-26T11:24:00.664834907Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.249452ms grafana | logger=migrator t=2024-02-26T11:24:00.668570612Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2024-02-26T11:24:00.672498813Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.928371ms grafana | logger=migrator t=2024-02-26T11:24:00.675866775Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2024-02-26T11:24:00.675948817Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=82.522µs grafana | logger=migrator t=2024-02-26T11:24:00.679376592Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2024-02-26T11:24:00.679546697Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=169.585µs grafana | logger=migrator t=2024-02-26T11:24:00.684255624Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2024-02-26T11:24:00.6850363Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=779.586µs grafana | logger=migrator t=2024-02-26T11:24:00.690652697Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2024-02-26T11:24:00.690682278Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=30.411µs grafana | logger=migrator t=2024-02-26T11:24:00.694100192Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2024-02-26T11:24:00.697208966Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.126695ms grafana | logger=migrator t=2024-02-26T11:24:00.701951264Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-02-26T11:24:00.702203122Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=250.938µs grafana | logger=migrator t=2024-02-26T11:24:00.705539003Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2024-02-26T11:24:00.709914189Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=4.372946ms grafana | logger=migrator t=2024-02-26T11:24:00.713963784Z level=info msg="Executing migration" id="Add column preferences.json_data" 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-02-26T11:24:00.716988305Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.024641ms grafana | logger=migrator t=2024-02-26T11:24:00.720334516Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2024-02-26T11:24:00.720399778Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=67.882µs grafana | logger=migrator t=2024-02-26T11:24:00.724387621Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2024-02-26T11:24:00.725272141Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=884µs grafana | logger=migrator t=2024-02-26T11:24:00.728959883Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2024-02-26T11:24:00.730303198Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.342915ms grafana | logger=migrator t=2024-02-26T11:24:00.734283051Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2024-02-26T11:24:00.735697868Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.414157ms grafana | logger=migrator t=2024-02-26T11:24:00.740641223Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2024-02-26T11:24:00.741571514Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=929.441µs grafana | logger=migrator t=2024-02-26T11:24:00.744975037Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-02-26T11:24:00.745822175Z level=info msg="Migration successfully executed" id="add index alert state" duration=844.318µs grafana | logger=migrator t=2024-02-26T11:24:00.750591634Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-02-26T11:24:00.751895758Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.303253ms grafana | logger=migrator t=2024-02-26T11:24:00.755660063Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-02-26T11:24:00.756235702Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=575.239µs grafana | logger=migrator t=2024-02-26T11:24:00.759692727Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-02-26T11:24:00.760560796Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=867.429µs grafana | logger=migrator t=2024-02-26T11:24:00.764930382Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-02-26T11:24:00.766215865Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.285573ms grafana | logger=migrator t=2024-02-26T11:24:00.769917668Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-02-26T11:24:00.785553819Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=15.636841ms grafana | logger=migrator t=2024-02-26T11:24:00.789023105Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2024-02-26T11:24:00.78947014Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=447.055µs grafana | logger=migrator t=2024-02-26T11:24:00.794497457Z 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-02-26T11:24:00.795588343Z level=info msg="Migration successfully executed" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" duration=1.089396ms grafana | logger=migrator t=2024-02-26T11:24:00.799157942Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2024-02-26T11:24:00.799637718Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=478.896µs grafana | logger=migrator t=2024-02-26T11:24:00.803466456Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2024-02-26T11:24:00.804374506Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=904.041µs grafana | logger=migrator t=2024-02-26T11:24:00.810758859Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2024-02-26T11:24:00.81231827Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.558501ms grafana | logger=migrator t=2024-02-26T11:24:00.81620498Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2024-02-26T11:24:00.819643035Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.437424ms grafana | logger=migrator t=2024-02-26T11:24:00.824036861Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2024-02-26T11:24:00.827426614Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.390373ms grafana | logger=migrator t=2024-02-26T11:24:00.835441141Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2024-02-26T11:24:00.839093983Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.651842ms grafana | logger=migrator t=2024-02-26T11:24:00.842702923Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2024-02-26T11:24:00.846920753Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=4.21689ms grafana | logger=migrator t=2024-02-26T11:24:00.854296239Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-02-26T11:24:00.855185139Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=888.94µs grafana | logger=migrator t=2024-02-26T11:24:00.859469942Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2024-02-26T11:24:00.859497122Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=28.151µs grafana | logger=migrator t=2024-02-26T11:24:00.861661104Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2024-02-26T11:24:00.861687615Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=27.051µs grafana | logger=migrator t=2024-02-26T11:24:00.865958838Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2024-02-26T11:24:00.867087255Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.126087ms grafana | logger=migrator t=2024-02-26T11:24:00.872012969Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-02-26T11:24:00.872949681Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=936.682µs grafana | logger=migrator t=2024-02-26T11:24:00.876907752Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2024-02-26T11:24:00.877663068Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=755.516µs grafana | logger=migrator t=2024-02-26T11:24:00.886274115Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2024-02-26T11:24:00.887793975Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.519871ms grafana | logger=migrator t=2024-02-26T11:24:00.892348317Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-02-26T11:24:00.893498175Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.150768ms grafana | logger=migrator t=2024-02-26T11:24:00.898164491Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2024-02-26T11:24:00.902225146Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=4.055805ms grafana | logger=migrator t=2024-02-26T11:24:00.905671201Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2024-02-26T11:24:00.909495618Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.824647ms grafana | logger=migrator t=2024-02-26T11:24:00.913579004Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2024-02-26T11:24:00.913833832Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=290.919µs grafana | logger=migrator t=2024-02-26T11:24:00.918087344Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2024-02-26T11:24:00.919112969Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.025814ms grafana | logger=migrator t=2024-02-26T11:24:00.923777714Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2024-02-26T11:24:00.924604612Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=829.187µs grafana | logger=migrator t=2024-02-26T11:24:00.927940893Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2024-02-26T11:24:00.931784771Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.844229ms grafana | logger=migrator t=2024-02-26T11:24:00.937574123Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2024-02-26T11:24:00.937702718Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=134.225µs grafana | logger=migrator t=2024-02-26T11:24:00.943386137Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2024-02-26T11:24:00.944261766Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=875.699µs grafana | logger=migrator t=2024-02-26T11:24:00.947581467Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2024-02-26T11:24:00.948383174Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=801.817µs grafana | logger=migrator t=2024-02-26T11:24:00.955698557Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2024-02-26T11:24:00.955796991Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=99.244µs grafana | logger=migrator t=2024-02-26T11:24:00.961324465Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2024-02-26T11:24:00.962304967Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=979.692µs grafana | logger=migrator t=2024-02-26T11:24:01.00530731Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2024-02-26T11:24:01.007583115Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=2.278805ms grafana | logger=migrator t=2024-02-26T11:24:01.013070965Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2024-02-26T11:24:01.014879795Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.80948ms grafana | logger=migrator t=2024-02-26T11:24:01.018920308Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2024-02-26T11:24:01.020473029Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.555581ms grafana | logger=migrator t=2024-02-26T11:24:01.028337858Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2024-02-26T11:24:01.029142634Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=806.776µs grafana | logger=migrator t=2024-02-26T11:24:01.03265071Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2024-02-26T11:24:01.033851089Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.234751ms grafana | logger=migrator t=2024-02-26T11:24:01.039431283Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2024-02-26T11:24:01.039459764Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=29.731µs grafana | logger=migrator t=2024-02-26T11:24:01.045768321Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2024-02-26T11:24:01.051908813Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=6.145712ms grafana | logger=migrator t=2024-02-26T11:24:01.054875841Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2024-02-26T11:24:01.055743609Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=870.018µs grafana | logger=migrator t=2024-02-26T11:24:01.057959492Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2024-02-26T11:24:01.06183497Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=3.872678ms grafana | logger=migrator t=2024-02-26T11:24:01.066920717Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2024-02-26T11:24:01.067534597Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=614.18µs grafana | logger=migrator t=2024-02-26T11:24:01.070672261Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2024-02-26T11:24:01.07156036Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=887.489µs grafana | logger=migrator t=2024-02-26T11:24:01.074719134Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2024-02-26T11:24:01.075556021Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=839.507µs grafana | logger=migrator t=2024-02-26T11:24:01.080183454Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2024-02-26T11:24:01.096835661Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=16.648658ms grafana | logger=migrator t=2024-02-26T11:24:01.099893032Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2024-02-26T11:24:01.100400339Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=507.927µs grafana | logger=migrator t=2024-02-26T11:24:01.105831647Z 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-02-26T11:24:01.106968825Z level=info msg="Migration successfully executed" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" duration=1.139718ms grafana | logger=migrator t=2024-02-26T11:24:01.109909481Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2024-02-26T11:24:01.110237852Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=328.281µs grafana | logger=migrator t=2024-02-26T11:24:01.112937901Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2024-02-26T11:24:01.11352286Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=584.869µs grafana | logger=migrator t=2024-02-26T11:24:01.116480657Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2024-02-26T11:24:01.116663913Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=183.996µs grafana | logger=migrator t=2024-02-26T11:24:01.122707052Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2024-02-26T11:24:01.130003092Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=7.29496ms grafana | logger=migrator t=2024-02-26T11:24:01.133517388Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2024-02-26T11:24:01.136382232Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=2.864334ms grafana | logger=migrator t=2024-02-26T11:24:01.139206285Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2024-02-26T11:24:01.140057563Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=851.238µs grafana | logger=migrator t=2024-02-26T11:24:01.145549314Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2024-02-26T11:24:01.146445033Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=895.619µs grafana | logger=migrator t=2024-02-26T11:24:01.150150135Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2024-02-26T11:24:01.150377892Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=228.137µs grafana | logger=migrator t=2024-02-26T11:24:01.153270938Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2024-02-26T11:24:01.15760211Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.330072ms grafana | logger=migrator t=2024-02-26T11:24:01.163638729Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2024-02-26T11:24:01.164501747Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=862.818µs grafana | logger=migrator t=2024-02-26T11:24:01.167861187Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2024-02-26T11:24:01.168024603Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=161.256µs grafana | logger=migrator t=2024-02-26T11:24:01.17068349Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2024-02-26T11:24:01.171051512Z level=info msg="Migration successfully executed" id="Move region to single row" duration=368.072µs grafana | logger=migrator t=2024-02-26T11:24:01.173200483Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2024-02-26T11:24:01.174042191Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=841.457µs grafana | logger=migrator t=2024-02-26T11:24:01.179385716Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2024-02-26T11:24:01.180188553Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=802.647µs grafana | logger=migrator t=2024-02-26T11:24:01.18435555Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-02-26T11:24:01.185226879Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=870.368µs grafana | logger=migrator t=2024-02-26T11:24:01.1925805Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-02-26T11:24:01.194533155Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.956195ms grafana | logger=migrator t=2024-02-26T11:24:01.198124913Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2024-02-26T11:24:01.198994422Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=869.608µs grafana | logger=migrator t=2024-02-26T11:24:01.20319928Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2024-02-26T11:24:01.204065068Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=865.848µs grafana | logger=migrator t=2024-02-26T11:24:01.208829385Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2024-02-26T11:24:01.208909298Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=81.023µs grafana | logger=migrator t=2024-02-26T11:24:01.213774148Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2024-02-26T11:24:01.215109592Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.335914ms grafana | logger=migrator t=2024-02-26T11:24:01.219734764Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2024-02-26T11:24:01.220556161Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=820.527µs grafana | logger=migrator t=2024-02-26T11:24:01.230470817Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2024-02-26T11:24:01.231993417Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.525461ms grafana | logger=migrator t=2024-02-26T11:24:01.236833266Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2024-02-26T11:24:01.237805268Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=971.942µs grafana | logger=migrator t=2024-02-26T11:24:01.247634111Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2024-02-26T11:24:01.247952822Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=317.801µs grafana | logger=migrator t=2024-02-26T11:24:01.25397267Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2024-02-26T11:24:01.254626591Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=653.681µs grafana | logger=migrator t=2024-02-26T11:24:01.259108528Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" 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 grafana | logger=migrator t=2024-02-26T11:24:01.259211341Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=103.903µs grafana | logger=migrator t=2024-02-26T11:24:01.264151944Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2024-02-26T11:24:01.264969371Z level=info msg="Migration successfully executed" id="create team table" duration=813.596µs grafana | logger=migrator t=2024-02-26T11:24:01.268457805Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2024-02-26T11:24:01.269477699Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.019304ms grafana | logger=migrator t=2024-02-26T11:24:01.275174456Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2024-02-26T11:24:01.276100207Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=925.111µs grafana | logger=migrator t=2024-02-26T11:24:01.279686435Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2024-02-26T11:24:01.28744066Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=7.752184ms grafana | logger=migrator t=2024-02-26T11:24:01.292775285Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2024-02-26T11:24:01.29291328Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=137.484µs grafana | logger=migrator t=2024-02-26T11:24:01.300723207Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2024-02-26T11:24:01.302333319Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.609853ms grafana | logger=migrator t=2024-02-26T11:24:01.307056545Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2024-02-26T11:24:01.308062598Z level=info msg="Migration successfully executed" id="create team member table" duration=1.041264ms grafana | logger=migrator t=2024-02-26T11:24:01.315091899Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2024-02-26T11:24:01.315989269Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=896.22µs grafana | logger=migrator t=2024-02-26T11:24:01.320728315Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2024-02-26T11:24:01.321661245Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=932.32µs grafana | logger=migrator t=2024-02-26T11:24:01.326244716Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2024-02-26T11:24:01.327102264Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=857.068µs grafana | logger=migrator t=2024-02-26T11:24:01.330697243Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2024-02-26T11:24:01.335341565Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.643742ms grafana | logger=migrator t=2024-02-26T11:24:01.340266327Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2024-02-26T11:24:01.344375952Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.109215ms grafana | logger=migrator t=2024-02-26T11:24:01.349755849Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2024-02-26T11:24:01.3543251Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.56566ms grafana | logger=migrator t=2024-02-26T11:24:01.358534368Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2024-02-26T11:24:01.359687796Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.153388ms grafana | logger=migrator t=2024-02-26T11:24:01.364716271Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2024-02-26T11:24:01.365850109Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.132658ms grafana | logger=migrator t=2024-02-26T11:24:01.37256097Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2024-02-26T11:24:01.373998657Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.437268ms grafana | logger=migrator t=2024-02-26T11:24:01.378506605Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2024-02-26T11:24:01.37985909Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.350615ms grafana | logger=migrator t=2024-02-26T11:24:01.386137236Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2024-02-26T11:24:01.387344586Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.250091ms grafana | logger=migrator t=2024-02-26T11:24:01.392805336Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2024-02-26T11:24:01.394021076Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.21523ms grafana | logger=migrator t=2024-02-26T11:24:01.399214416Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2024-02-26T11:24:01.400226179Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.010893ms grafana | logger=migrator t=2024-02-26T11:24:01.407565721Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2024-02-26T11:24:01.40876393Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.197719ms grafana | logger=migrator t=2024-02-26T11:24:01.413902619Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2024-02-26T11:24:01.415200332Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=1.299403ms grafana | logger=migrator t=2024-02-26T11:24:01.422580965Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2024-02-26T11:24:01.422806062Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=225.217µs grafana | logger=migrator t=2024-02-26T11:24:01.428113927Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2024-02-26T11:24:01.429532253Z level=info msg="Migration successfully executed" id="create tag table" duration=1.424057ms grafana | logger=migrator t=2024-02-26T11:24:01.436180512Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2024-02-26T11:24:01.437232867Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.052005ms grafana | logger=migrator t=2024-02-26T11:24:01.441320721Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2024-02-26T11:24:01.442148189Z level=info msg="Migration successfully executed" id="create login attempt table" duration=826.567µs grafana | logger=migrator t=2024-02-26T11:24:01.4464439Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:01.447380101Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=935.891µs grafana | logger=migrator t=2024-02-26T11:24:01.453263994Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2024-02-26T11:24:01.454864507Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.596853ms grafana | logger=migrator t=2024-02-26T11:24:01.460627776Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2024-02-26T11:24:01.482610939Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=21.984993ms grafana | logger=migrator t=2024-02-26T11:24:01.485730122Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2024-02-26T11:24:01.48629216Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=561.778µs grafana | logger=migrator t=2024-02-26T11:24:01.491997838Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2024-02-26T11:24:01.493516348Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.51655ms grafana | logger=migrator t=2024-02-26T11:24:01.498164041Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2024-02-26T11:24:01.498648237Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=483.666µs grafana | logger=migrator t=2024-02-26T11:24:01.503643081Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2024-02-26T11:24:01.504462038Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=818.587µs grafana | logger=migrator t=2024-02-26T11:24:01.510643602Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2024-02-26T11:24:01.511789879Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.144457ms grafana | logger=migrator t=2024-02-26T11:24:01.516632398Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2024-02-26T11:24:01.518138498Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.50535ms grafana | logger=migrator t=2024-02-26T11:24:01.526007427Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2024-02-26T11:24:01.526143051Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=136.275µs grafana | logger=migrator t=2024-02-26T11:24:01.53370428Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2024-02-26T11:24:01.542653344Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=8.948504ms grafana | logger=migrator t=2024-02-26T11:24:01.588546114Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2024-02-26T11:24:01.596655551Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=8.109366ms grafana | logger=migrator t=2024-02-26T11:24:01.601612524Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2024-02-26T11:24:01.605185801Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=3.572717ms grafana | logger=migrator t=2024-02-26T11:24:01.609950058Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2024-02-26T11:24:01.614930892Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=4.980454ms grafana | logger=migrator t=2024-02-26T11:24:01.618332974Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2024-02-26T11:24:01.619273835Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=939.311µs grafana | logger=migrator t=2024-02-26T11:24:01.624322541Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2024-02-26T11:24:01.6297598Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.436079ms grafana | logger=migrator t=2024-02-26T11:24:01.634415712Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2024-02-26T11:24:01.635188938Z level=info msg="Migration successfully executed" id="create server_lock table" duration=772.296µs grafana | logger=migrator t=2024-02-26T11:24:01.640818163Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2024-02-26T11:24:01.64253998Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.719756ms grafana | logger=migrator t=2024-02-26T11:24:01.646258812Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2024-02-26T11:24:01.647738511Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.479269ms grafana | logger=migrator t=2024-02-26T11:24:01.653708437Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2024-02-26T11:24:01.654834294Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.125537ms grafana | logger=migrator t=2024-02-26T11:24:01.659795607Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2024-02-26T11:24:01.660938035Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.140138ms grafana | logger=migrator t=2024-02-26T11:24:01.664991828Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2024-02-26T11:24:01.665849127Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=857.208µs grafana | logger=migrator t=2024-02-26T11:24:01.670583712Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2024-02-26T11:24:01.677035395Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=6.450332ms grafana | logger=migrator t=2024-02-26T11:24:01.680322563Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2024-02-26T11:24:01.681607865Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.285322ms grafana | logger=migrator t=2024-02-26T11:24:01.69636324Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2024-02-26T11:24:01.697186787Z level=info msg="Migration successfully executed" id="create cache_data table" duration=821.947µs grafana | logger=migrator t=2024-02-26T11:24:01.703851066Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2024-02-26T11:24:01.705118438Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.267452ms grafana | logger=migrator t=2024-02-26T11:24:01.710257847Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:01.711059034Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=800.736µs grafana | logger=migrator t=2024-02-26T11:24:01.715694596Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2024-02-26T11:24:01.716640657Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=947.381µs grafana | logger=migrator t=2024-02-26T11:24:01.723886466Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2024-02-26T11:24:01.723952858Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=66.993µs grafana | logger=migrator t=2024-02-26T11:24:01.728517408Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2024-02-26T11:24:01.728649892Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=133.624µs grafana | logger=migrator t=2024-02-26T11:24:01.734703951Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2024-02-26T11:24:01.736065446Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.361355ms grafana | logger=migrator t=2024-02-26T11:24:01.74072879Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-02-26T11:24:01.741682221Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=953.051µs grafana | logger=migrator t=2024-02-26T11:24:01.747869004Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-02-26T11:24:01.749419455Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.550521ms grafana | logger=migrator t=2024-02-26T11:24:01.755920729Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2024-02-26T11:24:01.755991951Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=71.912µs grafana | logger=migrator t=2024-02-26T11:24:01.760611373Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-02-26T11:24:01.761767761Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.156428ms grafana | logger=migrator t=2024-02-26T11:24:01.771848763Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-02-26T11:24:01.772722342Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=873.549µs grafana | logger=migrator t=2024-02-26T11:24:01.778018646Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-02-26T11:24:01.779856287Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.8358ms grafana | logger=migrator t=2024-02-26T11:24:01.868359797Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-02-26T11:24:01.871153049Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=2.792382ms grafana | logger=migrator t=2024-02-26T11:24:01.881184189Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2024-02-26T11:24:01.887522918Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=6.337969ms grafana | logger=migrator t=2024-02-26T11:24:01.892288375Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2024-02-26T11:24:01.893334569Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.046374ms grafana | logger=migrator t=2024-02-26T11:24:01.899623946Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2024-02-26T11:24:01.899702229Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=79.793µs grafana | logger=migrator t=2024-02-26T11:24:01.904522937Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2024-02-26T11:24:01.905921603Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.395626ms grafana | logger=migrator t=2024-02-26T11:24:01.912931864Z 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-02-26T11:24:01.914760284Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.82751ms grafana | logger=migrator t=2024-02-26T11:24:01.919784149Z 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-02-26T11:24:01.920799522Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.013793ms grafana | logger=migrator t=2024-02-26T11:24:01.92953838Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-02-26T11:24:01.929614222Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=77.692µs grafana | logger=migrator t=2024-02-26T11:24:01.936402056Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2024-02-26T11:24:01.937322796Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=921.271µs grafana | logger=migrator t=2024-02-26T11:24:01.942064662Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2024-02-26T11:24:01.94291739Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=852.338µs grafana | logger=migrator t=2024-02-26T11:24:01.948300277Z 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-02-26T11:24:01.949509837Z 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.20774ms grafana | logger=migrator t=2024-02-26T11:24:01.955973039Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2024-02-26T11:24:01.957594483Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.620594ms grafana | logger=migrator t=2024-02-26T11:24:01.9626916Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2024-02-26T11:24:01.968379898Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=5.689308ms grafana | logger=migrator t=2024-02-26T11:24:01.973420503Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2024-02-26T11:24:01.974436007Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.013714ms grafana | logger=migrator t=2024-02-26T11:24:01.980541067Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-02-26T11:24:01.981505359Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=964.232µs grafana | logger=migrator t=2024-02-26T11:24:01.987358582Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2024-02-26T11:24:02.035778053Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=48.415422ms grafana | logger=migrator t=2024-02-26T11:24:02.041147277Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2024-02-26T11:24:02.076242067Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=35.09413ms grafana | logger=migrator t=2024-02-26T11:24:02.082367136Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2024-02-26T11:24:02.083613346Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.24541ms grafana | logger=migrator t=2024-02-26T11:24:02.087479652Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-02-26T11:24:02.088425922Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=943.32µs grafana | logger=migrator t=2024-02-26T11:24:02.093626992Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2024-02-26T11:24:02.099271485Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=5.644184ms grafana | logger=migrator t=2024-02-26T11:24:02.105231798Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" grafana | logger=migrator t=2024-02-26T11:24:02.109238809Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=4.006711ms grafana | logger=migrator t=2024-02-26T11:24:02.114097286Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2024-02-26T11:24:02.115247064Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.149967ms grafana | logger=migrator t=2024-02-26T11:24:02.12130116Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2024-02-26T11:24:02.122903172Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.601212ms grafana | logger=migrator t=2024-02-26T11:24:02.130697475Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2024-02-26T11:24:02.132657149Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.959104ms grafana | logger=migrator t=2024-02-26T11:24:02.136182524Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2024-02-26T11:24:02.137506767Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.324513ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-02-26T11:24:02.143207572Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.143276834Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=67.192µs policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.148875526Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.154780187Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=5.904341ms policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2024-02-26T11:24:02.195730857Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.202729465Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=6.999408ms 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)) grafana | logger=migrator t=2024-02-26T11:24:02.208847344Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.214614481Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.764807ms policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.219654544Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.220586995Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=932.201µs policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2024-02-26T11:24:02.22721964Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.228802202Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.581691ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-26T11:24:02.234024741Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.239787338Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=5.762327ms policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.245555955Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.251465247Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=5.907782ms policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2024-02-26T11:24:02.255947143Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.256892514Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=944.491µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) grafana | logger=migrator t=2024-02-26T11:24:02.26202Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.27126353Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=9.24484ms policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.274705632Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.278883808Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=4.177106ms policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2024-02-26T11:24:02.285502103Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.285564225Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=61.112µs 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 | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.29126586Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.292743588Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.476968ms policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.299979883Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2024-02-26T11:24:02.301637097Z 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.656584ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.307550119Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) grafana | logger=migrator t=2024-02-26T11:24:02.309814972Z 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=2.262283ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.3155962Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.315699283Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=104.603µs policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.323184437Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2024-02-26T11:24:02.329531233Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.346226ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.333616695Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-26T11:24:02.339693683Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.076028ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.34329241Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.350153822Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.861923ms policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.35438693Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2024-02-26T11:24:02.36054391Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.15627ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.367474965Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-02-26T11:24:02.373651555Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.17657ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.378340698Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.37840793Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=68.092µs policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.382651098Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2024-02-26T11:24:02.383625159Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=972.741µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.389335305Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) grafana | logger=migrator t=2024-02-26T11:24:02.396168787Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=6.836972ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.401527701Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.401594283Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=66.712µs policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.405473829Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2024-02-26T11:24:02.411558357Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.084658ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.419017959Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) grafana | logger=migrator t=2024-02-26T11:24:02.420667133Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.648083ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.427246066Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.433683515Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.436229ms policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.439600337Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2024-02-26T11:24:02.4403075Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=704.883µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.444752305Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-26T11:24:02.446250373Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.496819ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.452828327Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.463297567Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=10.47058ms policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.467224114Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2024-02-26T11:24:02.467772562Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=547.938µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.47048674Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) grafana | logger=migrator t=2024-02-26T11:24:02.471659128Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.168998ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.478398967Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.479676149Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.275942ms policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.485386484Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2024-02-26T11:24:02.486544502Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.157848ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.491631417Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) grafana | logger=migrator t=2024-02-26T11:24:02.49173291Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=102.683µs policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.497151836Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.498639625Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.486388ms policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2024-02-26T11:24:02.503347247Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.504814255Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.466498ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-26T11:24:02.509003091Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.509462076Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.518714967Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.519407959Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=692.222µs policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2024-02-26T11:24:02.525617831Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.52805205Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=2.432618ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) grafana | logger=migrator t=2024-02-26T11:24:02.532943349Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.53945229Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.508351ms policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.544594057Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.545549948Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=955.341µs policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2024-02-26T11:24:02.54867771Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.549768925Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.091625ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-02-26T11:24:02.553211417Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.554037624Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=825.497µs policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.559725938Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.561505956Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.781908ms grafana | logger=migrator t=2024-02-26T11:24:02.56500259Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2024-02-26T11:24:02.566746746Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.743706ms policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2024-02-26T11:24:02.570004272Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.570031303Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=28.311µ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)) grafana | logger=migrator t=2024-02-26T11:24:02.575752719Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.575890023Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=136.914µs policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.579255923Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.579824081Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=568.078µs policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-02-26T11:24:02.583248842Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.584685099Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.435367ms policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2024-02-26T11:24:02.587977436Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.588752701Z level=info msg="Migration successfully executed" id="create secrets table" duration=774.885µs policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.594327372Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.641241916Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=46.915574ms policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-02-26T11:24:02.644590975Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.650219668Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.628493ms policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-02-26T11:24:02.653545245Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.653721611Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=176.006µs policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.659285022Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.711294901Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=52.00993ms policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-02-26T11:24:02.71497392Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.759207747Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=44.235227ms policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-02-26T11:24:02.77377561Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.775093543Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=1.317593ms policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.78518505Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.786856105Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.670075ms policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-02-26T11:24:02.797018225Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.797384217Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=365.972µs policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2024-02-26T11:24:02.80639943Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.807676271Z level=info msg="Migration successfully executed" id="create permission table" duration=1.273852ms policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.819606408Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.821158459Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.552371ms policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-02-26T11:24:02.830260444Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.83197192Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.711016ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2024-02-26T11:24:02.836663882Z level=info msg="Executing migration" id="create role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.838162301Z level=info msg="Migration successfully executed" id="create role table" duration=1.497549ms policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.843282767Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.850963207Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.67995ms policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-02-26T11:24:02.854064727Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.864449745Z level=info msg="Migration successfully executed" id="add column group_name" duration=10.387268ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2024-02-26T11:24:02.868071962Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.868789176Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=715.424µs policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.874178821Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.875215874Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.036753ms policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-02-26T11:24:02.878288814Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.879333428Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.043974ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2024-02-26T11:24:02.882426439Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.883189263Z level=info msg="Migration successfully executed" id="create team role table" duration=762.575µs policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.889007032Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.890133379Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.125667ms policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-02-26T11:24:02.894320615Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.896070542Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.748987ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2024-02-26T11:24:02.899537474Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.900530376Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=992.442µs policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.907940077Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.909111035Z level=info msg="Migration successfully executed" id="create user role table" duration=1.170648ms policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-02-26T11:24:02.912585448Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.914217771Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.631863ms policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2024-02-26T11:24:02.917757326Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.91880524Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.047064ms policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.925902731Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.927509993Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.608673ms policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-02-26T11:24:02.932808695Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.933642222Z level=info msg="Migration successfully executed" id="create builtin role table" duration=834.007µs policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2024-02-26T11:24:02.937082624Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.938129747Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.046784ms policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.943675448Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.94527708Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.601303ms policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2024-02-26T11:24:02.950340714Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.961626951Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=11.287017ms policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2024-02-26T11:24:02.965489446Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.96653036Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.043344ms policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.971990577Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.973034571Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.043234ms policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-02-26T11:24:02.976989419Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.978731736Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.742077ms policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2024-02-26T11:24:02.98440015Z level=info msg="Executing migration" id="add unique index role.uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:02.986113756Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.712726ms policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.992306087Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:02.993468445Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.164248ms policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-02-26T11:24:02.998893021Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.001225887Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=2.336796ms policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-26T11:24:03.005773864Z level=info msg="Executing migration" id="add column hidden to role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.015648501Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=9.875617ms policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.018847763Z level=info msg="Executing migration" id="permission kind migration" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.026683254Z level=info msg="Migration successfully executed" id="permission kind migration" duration=7.834501ms policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-02-26T11:24:03.030231138Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.035759866Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=5.528437ms policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-26T11:24:03.039813376Z level=info msg="Executing migration" id="permission identifier migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.047622086Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.807891ms policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.050912531Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.051959295Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.045934ms policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-02-26T11:24:03.055297412Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.0561756Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=877.548µs policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-26T11:24:03.060618393Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.061694637Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.075464ms policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.065295983Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.065396016Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=100.733µs policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-02-26T11:24:03.068988581Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.069037913Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=50.422µs policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-26T11:24:03.072442712Z level=info msg="Executing migration" id="teams permissions migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.073078572Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=635.62µs policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.077791833Z level=info msg="Executing migration" id="dashboard permissions" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.078684942Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=891.159µs policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-02-26T11:24:03.082121462Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.082730042Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=610.66µs policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-26T11:24:03.08580101Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.085989666Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=188.886µs policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.08921258Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.08952985Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=319.581µs policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-02-26T11:24:03.094140468Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.095297715Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.159908ms policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-26T11:24:03.099239121Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.100286805Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.047254ms policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.103610821Z level=info msg="Executing migration" id="add column org_id in query_history_star" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.11135937Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=7.746529ms policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-02-26T11:24:03.115914776Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.115979268Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=64.802µs policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-26T11:24:03.119405398Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.120286316Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=880.298µs policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.123780928Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.125485503Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.699504ms policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-02-26T11:24:03.131846177Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.133559822Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.712964ms 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 grafana | logger=migrator t=2024-02-26T11:24:03.137353703Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.147490258Z level=info msg="Migration successfully executed" id="add correlation config column" duration=10.136925ms policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.150792094Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.151792276Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=999.762µs policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-02-26T11:24:03.156186197Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.157192009Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.005082ms policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-26T11:24:03.160543757Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.189768804Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=29.225897ms policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.193261696Z level=info msg="Executing migration" id="create correlation v2" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.194058592Z level=info msg="Migration successfully executed" id="create correlation v2" duration=796.446µs policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-02-26T11:24:03.198800504Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.200394845Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.592351ms 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 | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.204350892Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.206237632Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.88575ms policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.210907802Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2024-02-26T11:24:03.211994137Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.085925ms grafana | logger=migrator t=2024-02-26T11:24:03.215596082Z level=info msg="Executing migration" id="copy correlation v1 to v2" policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.215871731Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=275.249µs policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.219435985Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.220587422Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.150897ms policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-02-26T11:24:03.225162289Z level=info msg="Executing migration" id="add provisioning column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.233076533Z level=info msg="Migration successfully executed" id="add provisioning column" duration=7.913474ms policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-02-26T11:24:03.236480682Z level=info msg="Executing migration" id="create entity_events table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.2370369Z level=info msg="Migration successfully executed" id="create entity_events table" duration=556.728µs policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.240410028Z level=info msg="Executing migration" id="create dashboard public config v1" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.241054789Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=645.28µs policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-02-26T11:24:03.24577366Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.246551425Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-02-26T11:24:03.250593844Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.251415331Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.255317776Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.256512174Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.197188ms policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-02-26T11:24:03.261395041Z level=info msg="Executing migration" id="recreate dashboard public config v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.262353602Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=957.98µs policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-02-26T11:24:03.266278207Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.267381573Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.101556ms policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.271182715Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.272305671Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.122526ms policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2024-02-26T11:24:03.27695481Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.278094996Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.139046ms policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL grafana | logger=migrator t=2024-02-26T11:24:03.281881318Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.283559882Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.678063ms policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.288032835Z level=info msg="Executing migration" id="Drop public config table" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.288780329Z level=info msg="Migration successfully executed" id="Drop public config table" duration=746.784µs policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-02-26T11:24:03.292202259Z level=info msg="Executing migration" id="Recreate dashboard public config v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.293161729Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=958.89µs policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num grafana | logger=migrator t=2024-02-26T11:24:03.296749574Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.297898591Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.148447ms policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.302334654Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.304287616Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.953273ms policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2024-02-26T11:24:03.307810869Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.309638258Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.823389ms policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.314226515Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.348030529Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=33.803814ms policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-02-26T11:24:03.373105413Z level=info msg="Executing migration" id="add annotations_enabled column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.383742714Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=10.638531ms policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-02-26T11:24:03.387605668Z level=info msg="Executing migration" id="add time_selection_enabled column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.39607937Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.472852ms policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.399661444Z level=info msg="Executing migration" id="delete orphaned public dashboards" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.39983476Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=173.496µs policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-02-26T11:24:03.404157399Z level=info msg="Executing migration" id="add share column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.414035635Z level=info msg="Migration successfully executed" id="add share column" duration=9.875606ms policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.417810366Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-02-26T11:24:03.417990782Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=182.036µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.421451863Z level=info msg="Executing migration" id="create file table" policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-02-26T11:24:03.422100864Z level=info msg="Migration successfully executed" id="create file table" duration=648.961µs policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-02-26T11:24:03.426826126Z level=info msg="Executing migration" id="file table idx: path natural pk" policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-02-26T11:24:03.428664545Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.837639ms policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-02-26T11:24:03.43257202Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.433718687Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.146407ms policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.437199008Z level=info msg="Executing migration" id="create file_meta table" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.438004004Z level=info msg="Migration successfully executed" id="create file_meta table" duration=804.696µs policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-02-26T11:24:03.442292342Z level=info msg="Executing migration" id="file table idx: path key" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.443531401Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.23873ms policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2024-02-26T11:24:03.448532892Z level=info msg="Executing migration" id="set path collation in file table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.448620014Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=87.372µs policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.451994813Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.452082665Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=88.312µs policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-02-26T11:24:03.455452293Z level=info msg="Executing migration" id="managed permissions migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.456028952Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=576.309µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) grafana | logger=migrator t=2024-02-26T11:24:03.460375051Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.460778034Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=402.963µs policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.464249526Z level=info msg="Executing migration" id="RBAC action name migrator" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.46564873Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.398965ms policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2024-02-26T11:24:03.469243836Z level=info msg="Executing migration" id="Add UID column to playlist" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.477710707Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.466321ms policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2024-02-26T11:24:03.482046706Z level=info msg="Executing migration" id="Update uid column values in playlist" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.482211122Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=165.705µs policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.485545088Z level=info msg="Executing migration" id="Add index for uid in playlist" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.486730186Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.186588ms policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-02-26T11:24:03.490303931Z level=info msg="Executing migration" id="update group index for alert rules" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.490962482Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=659.231µs policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-02-26T11:24:03.494571688Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.494997572Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=425.713µs policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.499209757Z level=info msg="Executing migration" id="admin only folder/dashboard permission" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.499705423Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=494.185µs policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-02-26T11:24:03.503148043Z level=info msg="Executing migration" id="add action column to seed_assignment" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.515679495Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=12.531852ms policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2024-02-26T11:24:03.519214108Z level=info msg="Executing migration" id="add scope column to seed_assignment" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.526279065Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=7.063457ms policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.529853769Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.531009416Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.155167ms policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-02-26T11:24:03.535303084Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.642093008Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=106.789234ms policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) grafana | logger=migrator t=2024-02-26T11:24:03.646286673Z level=info msg="Executing migration" id="add unique index builtin_role_name back" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.6471357Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=849.927µs policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.652188832Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.65338625Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.197098ms policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-02-26T11:24:03.657613686Z level=info msg="Executing migration" id="add primary key to seed_assigment" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.693096314Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=35.483278ms policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) grafana | logger=migrator t=2024-02-26T11:24:03.697281638Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.697573627Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=291.649µs policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.702142954Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" policy-db-migrator | policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2024-02-26T11:24:03.702513136Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=371.932µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.706272336Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-02-26T11:24:03.706587116Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=314.33µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.710167201Z level=info msg="Executing migration" id="create folder table" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.7116942Z level=info msg="Migration successfully executed" id="create folder table" duration=1.525589ms policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.7166625Z level=info msg="Executing migration" id="Add index for parent_uid" policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-02-26T11:24:03.718787678Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=2.108078ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.722574089Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-02-26T11:24:03.723915092Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.340873ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.727528188Z level=info msg="Executing migration" id="Update folder title length" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.727556769Z level=info msg="Migration successfully executed" id="Update folder title length" duration=27.851µs policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.732986943Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-02-26T11:24:03.735540675Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=2.552792ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.739857883Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-02-26T11:24:03.74099703Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.139077ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.744140201Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.74536747Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.226719ms policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.74940873Z level=info msg="Executing migration" id="Sync dashboard and folder table" policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-02-26T11:24:03.749982728Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=573.558µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.753409398Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-02-26T11:24:03.754037798Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=625.44µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.757759967Z level=info msg="Executing migration" id="create anon_device table" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.759211854Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.452287ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.763720949Z level=info msg="Executing migration" id="add unique index anon_device.device_id" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2024-02-26T11:24:03.765081292Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.360504ms grafana | logger=migrator t=2024-02-26T11:24:03.768601315Z level=info msg="Executing migration" id="add index anon_device.updated_at" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.769808784Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.207039ms policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.773163831Z level=info msg="Executing migration" id="create signing_key table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.774037969Z level=info msg="Migration successfully executed" id="create signing_key table" duration=873.578µs policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2024-02-26T11:24:03.778556104Z level=info msg="Executing migration" id="add unique index signing_key.key_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.779773343Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.217039ms policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.783290286Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.784434373Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.143877ms policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2024-02-26T11:24:03.787930485Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.788231124Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=301.129µs policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY grafana | logger=migrator t=2024-02-26T11:24:03.792363637Z level=info msg="Executing migration" id="Add folder_uid for dashboard" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.804250038Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=11.885941ms policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.807521243Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.808003088Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=482.185µs policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2024-02-26T11:24:03.811424418Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.812643147Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.218419ms policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.815742247Z level=info msg="Executing migration" id="create sso_setting table" policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.816691047Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=948.39µs policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2024-02-26T11:24:03.822479663Z level=info msg="Executing migration" id="copy kvstore migration status to each org" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.823176365Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=697.632µs policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-02-26T11:24:03.826596725Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-26T11:24:03.826852313Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=256.458µs policy-db-migrator | grafana | logger=migrator t=2024-02-26T11:24:03.830129468Z level=info msg="migrations completed" performed=526 skipped=0 duration=4.081424823s policy-db-migrator | -------------- grafana | logger=sqlstore t=2024-02-26T11:24:03.841787242Z level=info msg="Created default admin" user=admin policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=sqlstore t=2024-02-26T11:24:03.841988508Z level=info msg="Created default organization" policy-db-migrator | -------------- grafana | logger=secrets t=2024-02-26T11:24:03.846521394Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 policy-db-migrator | grafana | logger=plugin.store t=2024-02-26T11:24:03.86292639Z level=info msg="Loading plugins..." policy-db-migrator | grafana | logger=local.finder t=2024-02-26T11:24:03.89943405Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=plugin.store t=2024-02-26T11:24:03.899511763Z level=info msg="Plugins loaded" count=55 duration=36.575122ms policy-db-migrator | -------------- grafana | logger=query_data t=2024-02-26T11:24:03.905367281Z level=info msg="Query Service initialization" policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=live.push_http t=2024-02-26T11:24:03.909629977Z level=info msg="Live Push Gateway initialization" policy-db-migrator | -------------- grafana | logger=ngalert.migration t=2024-02-26T11:24:03.948364699Z level=info msg=Starting policy-db-migrator | grafana | logger=ngalert.migration orgID=1 t=2024-02-26T11:24:03.948989539Z level=info msg="Migrating alerts for organisation" policy-db-migrator | grafana | logger=ngalert.migration orgID=1 t=2024-02-26T11:24:03.949559928Z level=info msg="Alerts found to migrate" alerts=0 policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-02-26T11:24:03.951328124Z level=info msg="Completed legacy migration" policy-db-migrator | -------------- grafana | logger=infra.usagestats.collector t=2024-02-26T11:24:03.993624661Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=provisioning.datasources t=2024-02-26T11:24:03.996468142Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz policy-db-migrator | -------------- grafana | logger=provisioning.alerting t=2024-02-26T11:24:04.013169605Z level=info msg="starting to provision alerting" policy-db-migrator | grafana | logger=provisioning.alerting t=2024-02-26T11:24:04.013186055Z level=info msg="finished to provision alerting" policy-db-migrator | msg grafana | logger=grafanaStorageLogger t=2024-02-26T11:24:04.014366783Z level=info msg="Storage starting" policy-db-migrator | upgrade to 1100 completed grafana | logger=ngalert.state.manager t=2024-02-26T11:24:04.016880042Z level=info msg="Warming state cache for startup" policy-db-migrator | grafana | logger=ngalert.multiorg.alertmanager t=2024-02-26T11:24:04.016913133Z level=info msg="Starting MultiOrg Alertmanager" policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=http.server t=2024-02-26T11:24:04.017058668Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= policy-db-migrator | -------------- grafana | logger=grafana-apiserver t=2024-02-26T11:24:04.022389587Z level=info msg="Authentication is disabled" policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=grafana-apiserver t=2024-02-26T11:24:04.025751564Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" policy-db-migrator | -------------- grafana | logger=ngalert.state.manager t=2024-02-26T11:24:04.101795781Z level=info msg="State cache has been initialized" states=0 duration=84.910059ms policy-db-migrator | grafana | logger=ngalert.scheduler t=2024-02-26T11:24:04.101857703Z level=info msg="Starting scheduler" tickInterval=10s policy-db-migrator | grafana | logger=ticker t=2024-02-26T11:24:04.101966237Z level=info msg=starting first_tick=2024-02-26T11:24:10Z policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=plugins.update.checker t=2024-02-26T11:24:04.117476388Z level=info msg="Update check succeeded" duration=104.076506ms policy-db-migrator | -------------- grafana | logger=grafana.update.checker t=2024-02-26T11:24:04.153950193Z level=info msg="Update check succeeded" duration=140.642394ms policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics grafana | logger=infra.usagestats t=2024-02-26T11:24:50.028669867Z level=info msg="Usage stats are ready to report" policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-audit_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | TRUNCATE TABLE sequence policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE statistics_sequence policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policyadmin: OK: upgrade (1300) policy-db-migrator | name version policy-db-migrator | policyadmin 1300 policy-db-migrator | ID script operation from_version to_version tag success atTime policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:08 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:08 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:08 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:08 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:08 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:08 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:08 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:08 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:08 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:08 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:08 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:08 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:08 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:08 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:08 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:08 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:08 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:08 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:08 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:08 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:08 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:08 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:08 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:08 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:08 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:09 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:09 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:09 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:09 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:09 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:09 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:09 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:09 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:09 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:09 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:09 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:09 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:09 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:09 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:09 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:09 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:09 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:09 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:09 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:09 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:09 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:09 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:09 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:09 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:09 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:09 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:10 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:10 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:10 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:10 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:10 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:10 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:10 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:10 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:10 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:10 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:10 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:10 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:10 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:10 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:10 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:10 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:10 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:10 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:10 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:10 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:10 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:10 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:10 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:10 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:10 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:10 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:10 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:11 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:11 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:11 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:11 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:11 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:11 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:11 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:11 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:11 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:11 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:11 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:11 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:11 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:11 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:11 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:11 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:11 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2602241124080800u 1 2024-02-26 11:24:11 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2602241124080900u 1 2024-02-26 11:24:11 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2602241124080900u 1 2024-02-26 11:24:12 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2602241124080900u 1 2024-02-26 11:24:12 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2602241124080900u 1 2024-02-26 11:24:12 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2602241124080900u 1 2024-02-26 11:24:12 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2602241124080900u 1 2024-02-26 11:24:12 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2602241124080900u 1 2024-02-26 11:24:12 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2602241124080900u 1 2024-02-26 11:24:12 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2602241124080900u 1 2024-02-26 11:24:12 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2602241124080900u 1 2024-02-26 11:24:12 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2602241124080900u 1 2024-02-26 11:24:12 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2602241124080900u 1 2024-02-26 11:24:12 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2602241124080900u 1 2024-02-26 11:24:12 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2602241124081000u 1 2024-02-26 11:24:12 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2602241124081000u 1 2024-02-26 11:24:12 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2602241124081000u 1 2024-02-26 11:24:12 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2602241124081000u 1 2024-02-26 11:24:12 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2602241124081000u 1 2024-02-26 11:24:12 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2602241124081000u 1 2024-02-26 11:24:12 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2602241124081000u 1 2024-02-26 11:24:12 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2602241124081000u 1 2024-02-26 11:24:12 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2602241124081000u 1 2024-02-26 11:24:13 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2602241124081100u 1 2024-02-26 11:24:13 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2602241124081200u 1 2024-02-26 11:24:13 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2602241124081200u 1 2024-02-26 11:24:13 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2602241124081200u 1 2024-02-26 11:24:13 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2602241124081200u 1 2024-02-26 11:24:13 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 2602241124081300u 1 2024-02-26 11:24:13 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 2602241124081300u 1 2024-02-26 11:24:13 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 2602241124081300u 1 2024-02-26 11:24:13 policy-db-migrator | policyadmin: OK @ 1300 ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping mariadb ... done Stopping prometheus ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing mariadb ... Removing prometheus ... Removing policy-api ... done Removing grafana ... done Removing mariadb ... done Removing policy-db-migrator ... done Removing prometheus ... done Removing network compose_default ++ cd /w/workspace/policy-api-master-project-csit-api + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.V7ZTn9oZDr ]] + rsync -av /tmp/tmp.V7ZTn9oZDr/ /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,364 bytes received 95 bytes 2,714,918.00 bytes/sec total size is 1,356,718 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 2044 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/jenkins13274257903741100217.sh ---> sysstat.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins756681884435517635.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/jenkins9294491795763142478.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-VgMH from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-VgMH/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins16718427710372902395.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-master-project-csit-api@tmp/config6857065880760885491tmp 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/jenkins4407001978309048859.sh ---> create-netrc.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins12816941840351011910.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-VgMH from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-VgMH/bin to PATH [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins8456692771969532136.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins5585322981462222319.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-VgMH 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-VgMH/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/jenkins3882626845108240191.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-VgMH from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-VgMH/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-master-project-csit-api/1547 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-8842 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2800.000 BogoMIPS: 5600.00 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 858 27107 0 4201 30852 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:ea:20:cc brd ff:ff:ff:ff:ff:ff inet 10.30.106.53/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86062sec preferred_lft 86062sec inet6 fe80::f816:3eff:feea:20cc/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:4f:6e:ca:82 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-8842) 02/26/24 _x86_64_ (8 CPU) 11:21:03 LINUX RESTART (8 CPU) 11:22:02 tps rtps wtps bread/s bwrtn/s 11:23:01 124.35 27.33 97.02 2110.29 24880.12 11:24:01 243.66 12.10 231.56 2072.85 86076.72 11:25:01 219.21 9.55 209.67 425.90 18262.14 11:26:01 39.09 0.83 38.26 39.99 15482.15 Average: 156.71 12.39 144.32 1158.29 36222.54 11:22:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:23:01 29919036 31676032 3020184 9.17 79084 1979972 1415692 4.17 900872 1809720 136312 11:24:01 27723940 31567100 5215280 15.83 119012 3947792 2452304 7.22 1121068 3650364 476 11:25:01 26600224 30469288 6338996 19.24 129496 3955820 4312644 12.69 2274540 3601280 212 11:26:01 27790756 31611112 5148464 15.63 130044 3915164 1452252 4.27 1160388 3549348 3384 Average: 28008489 31330883 4930731 14.97 114409 3449687 2408223 7.09 1364217 3152678 35096 11:22:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:23:01 ens3 68.43 47.70 1171.90 8.72 0.00 0.00 0.00 0.00 11:23:01 lo 1.15 1.15 0.12 0.12 0.00 0.00 0.00 0.00 11:24:01 veth30efad1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:24:01 veth5f94c64 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:24:01 vethe665a3b 0.00 0.12 0.00 0.01 0.00 0.00 0.00 0.00 11:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:25:01 vethe665a3b 0.53 0.65 0.06 0.30 0.00 0.00 0.00 0.00 11:25:01 br-856b0236bb66 3.60 4.07 6.17 2.51 0.00 0.00 0.00 0.00 11:25:01 veth1438cf0 124.86 105.43 41.38 113.92 0.00 0.00 0.00 0.01 11:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:26:01 ens3 789.47 530.43 12795.57 103.85 0.00 0.00 0.00 0.00 11:26:01 lo 32.01 32.01 10.45 10.45 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: ens3 121.30 78.05 2972.77 11.88 0.00 0.00 0.00 0.00 Average: lo 6.81 6.81 2.52 2.52 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-8842) 02/26/24 _x86_64_ (8 CPU) 11:21:03 LINUX RESTART (8 CPU) 11:22:02 CPU %user %nice %system %iowait %steal %idle 11:23:01 all 10.29 0.00 0.81 2.03 0.03 86.85 11:23:01 0 0.34 0.00 0.32 3.33 0.02 96.00 11:23:01 1 1.80 0.00 0.18 0.18 0.00 97.83 11:23:01 2 17.58 0.00 1.46 1.46 0.07 79.43 11:23:01 3 28.89 0.00 1.92 1.22 0.05 67.91 11:23:01 4 4.98 0.00 0.42 6.76 0.03 87.81 11:23:01 5 17.61 0.00 0.83 2.07 0.03 79.45 11:23:01 6 8.28 0.00 0.76 1.09 0.05 89.82 11:23:01 7 3.02 0.00 0.56 0.12 0.00 96.30 11:24:01 all 10.54 0.00 3.42 4.41 0.06 81.57 11:24:01 0 9.14 0.00 3.01 0.07 0.03 87.74 11:24:01 1 5.76 0.00 3.09 0.95 0.05 90.15 11:24:01 2 8.07 0.00 3.76 1.51 0.03 86.63 11:24:01 3 15.43 0.00 2.67 1.65 0.07 80.18 11:24:01 4 5.18 0.00 3.27 7.48 0.05 84.01 11:24:01 5 23.51 0.00 4.48 19.68 0.12 52.21 11:24:01 6 7.05 0.00 3.82 3.59 0.05 85.49 11:24:01 7 10.23 0.00 3.26 0.42 0.05 86.04 11:25:01 all 13.93 0.00 1.76 1.70 0.06 82.56 11:25:01 0 12.77 0.00 1.57 1.82 0.05 83.79 11:25:01 1 10.89 0.00 1.29 0.91 0.07 86.84 11:25:01 2 17.75 0.00 1.87 1.27 0.05 79.06 11:25:01 3 14.37 0.00 2.08 0.74 0.05 82.76 11:25:01 4 14.12 0.00 1.91 0.45 0.07 83.45 11:25:01 5 15.15 0.00 1.90 4.56 0.03 78.35 11:25:01 6 11.54 0.00 1.44 1.19 0.05 85.79 11:25:01 7 14.79 0.00 2.04 2.64 0.07 80.46 11:26:01 all 1.75 0.00 0.37 0.91 0.03 96.94 11:26:01 0 2.24 0.00 0.38 0.52 0.02 96.85 11:26:01 1 1.95 0.00 0.38 0.07 0.03 97.57 11:26:01 2 2.30 0.00 0.43 0.02 0.08 97.16 11:26:01 3 0.60 0.00 0.18 1.80 0.03 97.38 11:26:01 4 0.92 0.00 0.42 0.55 0.03 98.08 11:26:01 5 2.70 0.00 0.40 3.89 0.05 92.96 11:26:01 6 0.47 0.00 0.28 0.33 0.02 98.90 11:26:01 7 2.82 0.00 0.42 0.07 0.02 96.68 Average: all 9.11 0.00 1.59 2.26 0.04 87.00 Average: 0 6.14 0.00 1.33 1.43 0.03 91.08 Average: 1 5.09 0.00 1.23 0.52 0.04 93.11 Average: 2 11.41 0.00 1.88 1.06 0.06 85.59 Average: 3 14.76 0.00 1.71 1.35 0.05 82.13 Average: 4 6.30 0.00 1.51 3.80 0.05 88.35 Average: 5 14.70 0.00 1.90 7.53 0.06 75.80 Average: 6 6.82 0.00 1.57 1.55 0.04 90.01 Average: 7 7.73 0.00 1.57 0.81 0.03 89.86