Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-21878 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-montreal-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-L4eGnFSq8ole/agent.2105 SSH_AGENT_PID=2107 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_15697183998627878568.key (/w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_15697183998627878568.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-montreal-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/montreal^{commit} # timeout=10 Checking out Revision 828a01cf695f53919dbff4ebbb1499c9674812b5 (refs/remotes/origin/montreal) > git config core.sparsecheckout # timeout=10 > git checkout -f 828a01cf695f53919dbff4ebbb1499c9674812b5 # timeout=30 Commit message: "Set Montreal default branch" > git rev-list --no-walk 828a01cf695f53919dbff4ebbb1499c9674812b5 # 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-montreal-project-csit-api] $ /bin/bash /tmp/jenkins7977536165129369050.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-MX4z 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-MX4z/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-MX4z/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.3 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.80 botocore==1.34.80 bs4==0.0.2 cachetools==5.3.3 certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.6.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.6.1 docker==4.2.2 dogpile.cache==1.3.2 email_validator==2.1.1 filelock==3.13.4 future==1.0.0 gitdb==4.0.11 GitPython==3.1.43 google-auth==2.29.0 httplib2==0.22.0 identify==2.5.35 idna==3.6 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.6.0 kubernetes==29.0.0 lftools==0.37.10 lxml==5.2.1 MarkupSafe==2.1.5 msgpack==1.0.8 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.2.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==3.0.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.1 oslo.config==9.4.0 oslo.context==5.5.0 oslo.i18n==6.3.0 oslo.log==5.5.1 oslo.serialization==5.4.0 oslo.utils==7.1.0 packaging==24.0 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.10.0 pyasn1==0.6.0 pyasn1_modules==0.4.0 pycparser==2.22 pygerrit2==2.0.15 PyGithub==2.3.0 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.5.0 python-dateutil==2.9.0.post0 python-heatclient==3.5.0 python-jenkins==1.8.2 python-keystoneclient==5.4.0 python-magnumclient==4.4.0 python-novaclient==18.6.0 python-openstackclient==6.6.0 python-swiftclient==4.5.0 PyYAML==6.0.1 referencing==0.34.0 requests==2.31.0 requests-oauthlib==2.0.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.18.0 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.1 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.2.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.4 tqdm==4.66.2 typing_extensions==4.11.0 tzdata==2024.1 urllib3==1.26.18 virtualenv==20.25.1 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-montreal-project-csit-api] $ /bin/sh /tmp/jenkins13328664939111722858.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-montreal-project-csit-api] $ /bin/sh -xe /tmp/jenkins9125180522925659594.sh + /w/workspace/policy-api-montreal-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-montreal-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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin + export SCRIPTS=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts + SCRIPTS=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts + export ROBOT_VARIABLES= + ROBOT_VARIABLES= + export PROJECT=api + PROJECT=api + cd /w/workspace/policy-api-montreal-project-csit-api + rm -rf /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api + mkdir -p /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' +++ mktemp -d ++ ROBOT_VENV=/tmp/tmp.Gqv3XN31aa ++ echo ROBOT_VENV=/tmp/tmp.Gqv3XN31aa +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.Gqv3XN31aa ++ source /tmp/tmp.Gqv3XN31aa/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.Gqv3XN31aa +++ 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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin +++ PATH=/tmp/tmp.Gqv3XN31aa/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin +++ export PATH +++ '[' -n '' ']' +++ '[' -z '' ']' +++ _OLD_VIRTUAL_PS1= +++ '[' 'x(tmp.Gqv3XN31aa) ' '!=' x ']' +++ PS1='(tmp.Gqv3XN31aa) ' +++ 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-montreal-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.2.1 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.2 python-dateutil==2.9.0.post0 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.Gqv3XN31aa/src/onap ++ rm -rf /tmp/tmp.Gqv3XN31aa/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.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 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==1.0.0 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==5.2.1 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.2 python-dateutil==2.9.0.post0 PyYAML==6.0.1 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==0.6.0.dev105 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.Gqv3XN31aa/bin/activate + '[' -z /tmp/tmp.Gqv3XN31aa/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.Gqv3XN31aa/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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-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.Gqv3XN31aa ++ 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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin ++ PATH=/tmp/tmp.Gqv3XN31aa/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin ++ export PATH ++ '[' -n '' ']' ++ '[' -z '' ']' ++ _OLD_VIRTUAL_PS1='(tmp.Gqv3XN31aa) ' ++ '[' 'x(tmp.Gqv3XN31aa) ' '!=' x ']' ++ PS1='(tmp.Gqv3XN31aa) (tmp.Gqv3XN31aa) ' ++ 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-montreal-project-csit-api/csit/resources/tests + TEST_PLAN_DIR=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests + export TEST_OPTIONS= + TEST_OPTIONS= ++ mktemp -d + WORKDIR=/tmp/tmp.CAXfo1vu0j + cd /tmp/tmp.CAXfo1vu0j + 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-montreal-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-montreal-project-csit-api/.gitreview +++ GERRIT_BRANCH=montreal +++ echo GERRIT_BRANCH=montreal GERRIT_BRANCH=montreal +++ rm -rf /w/workspace/policy-api-montreal-project-csit-api/models +++ mkdir /w/workspace/policy-api-montreal-project-csit-api/models +++ git clone -b montreal --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-montreal-project-csit-api/models Cloning into '/w/workspace/policy-api-montreal-project-csit-api/models'... +++ export DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-montreal-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-montreal-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-montreal-project-csit-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-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-montreal-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.0.2)... 3.0.2: Pulling from onap/policy-db-migrator Digest: sha256:777d99819ab037b10e0a21c75da376b572c54e87a9748c204d86178849fe011a Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.0.2 Pulling api (nexus3.onap.org:10001/onap/policy-api:3.0.2)... 3.0.2: Pulling from onap/policy-api Digest: sha256:fb501d6af2a3cd55552ba398d5bc20867cf32ebda2e7f9c473849f184245c945 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.0.2 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:dec2018ae55885fed717f25c289b8c9cff0bf5fbb9e619fb49b6161ac493c016 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... latest: Pulling from grafana/grafana Digest: sha256:753bbb971071480d6630d3aa0d55345188c02f39456664f67c1ea443593638d0 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating 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-montreal-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-montreal-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 prometheus Up 14 seconds mariadb Up 12 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds prometheus Up 19 seconds mariadb Up 17 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds prometheus Up 24 seconds mariadb Up 22 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds prometheus Up 29 seconds mariadb Up 27 seconds NAMES STATUS policy-api Up 30 seconds grafana Up 33 seconds prometheus Up 34 seconds mariadb Up 32 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-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-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-montreal-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 18:15:42 up 4 min, 0 users, load average: 2.07, 1.12, 0.47 Tasks: 177 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.3 us, 1.7 sy, 0.0 ni, 83.8 id, 5.1 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.4G 26G 1.0M 3.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 30 seconds grafana Up 33 seconds prometheus Up 34 seconds mariadb Up 32 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 351a2fe06747 policy-api 0.14% 491.2MiB / 31.41GiB 1.53% 1e+03kB / 737kB 0B / 0B 54 2cec17143c26 grafana 0.04% 55.59MiB / 31.41GiB 0.17% 18.8kB / 3.18kB 0B / 24.6MB 16 765aa213a5a5 prometheus 0.04% 19.83MiB / 31.41GiB 0.06% 27.8kB / 934B 4.1kB / 0B 13 436e797a0b77 mariadb 0.03% 100.5MiB / 31.41GiB 0.31% 986kB / 1.18MB 11.1MB / 71.2MB 26 + echo + cd /tmp/tmp.CAXfo1vu0j + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + sed 's|^|/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/|' + cat testplan.txt /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-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-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-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-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-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-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-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.CAXfo1vu0j/output.xml Log: /tmp/tmp.CAXfo1vu0j/log.html Report: /tmp/tmp.CAXfo1vu0j/report.html + RESULT=0 + load_set + _setopts=hxB ++ tr : ' ' ++ echo braceexpand:hashall:interactive-comments:xtrace + 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-montreal-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute prometheus Up About a minute mariadb Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 18:16:53 up 5 min, 0 users, load average: 0.99, 0.99, 0.47 Tasks: 170 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.2 us, 1.4 sy, 0.0 ni, 86.2 id, 4.1 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.6G 25G 1.0M 3.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute prometheus Up About a minute mariadb Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 351a2fe06747 policy-api 0.20% 723.1MiB / 31.41GiB 2.25% 7.01MB / 2.57MB 0B / 0B 55 2cec17143c26 grafana 0.05% 56.65MiB / 31.41GiB 0.18% 19.8kB / 4.41kB 0B / 24.6MB 16 765aa213a5a5 prometheus 0.00% 24.65MiB / 31.41GiB 0.08% 81.8kB / 7.29kB 4.1kB / 0B 13 436e797a0b77 mariadb 0.02% 101.7MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 11.1MB / 71.5MB 18 + echo + source_safely /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose ++ cd /w/workspace/policy-api-montreal-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, prometheus, mariadb mariadb | 2024-04-09 18:15:10+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-04-09 18:15:10+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-04-09 18:15:10+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-04-09 18:15:10+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-04-09 18:15:10 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-04-09 18:15:10 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-04-09 18:15:10 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2024-04-09 18:15:13+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-04-09 18:15:13+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-04-09 18:15:13+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-04-09 18:15:13 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 97 ... mariadb | 2024-04-09 18:15:13 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-04-09 18:15:13 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-04-09 18:15:13 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-04-09 18:15:13 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-04-09 18:15:13 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-04-09 18:15:13 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-04-09 18:15:13 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-04-09 18:15:13 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-04-09 18:15:13 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-04-09 18:15:13 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-04-09 18:15:13 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-04-09 18:15:13 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-04-09 18:15:13 0 [Note] InnoDB: log sequence number 46456; transaction id 14 mariadb | 2024-04-09 18:15:13 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-04-09 18:15:13 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-04-09 18:15:13 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-04-09 18:15:13 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-04-09 18:15:13 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2024-04-09 18:15:14+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-04-09 18:15:16+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-04-09 18:15:16+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) grafana | logger=settings t=2024-04-09T18:15:09.233157045Z level=info msg="Starting Grafana" version=10.4.1 commit=d94d597d847c05085542c29dfad6b3f469cc77e1 branch=v10.4.x compiled=2024-04-09T18:15:09Z grafana | logger=settings t=2024-04-09T18:15:09.233396915Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-04-09T18:15:09.233405516Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-04-09T18:15:09.233409316Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-04-09T18:15:09.233412396Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-04-09T18:15:09.233416366Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-04-09T18:15:09.233419257Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-04-09T18:15:09.233421977Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-04-09T18:15:09.233425037Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-04-09T18:15:09.233427877Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-04-09T18:15:09.233430448Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-04-09T18:15:09.233433158Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-04-09T18:15:09.233435948Z level=info msg=Target target=[all] grafana | logger=settings t=2024-04-09T18:15:09.233443329Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-04-09T18:15:09.233446079Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-04-09T18:15:09.233454069Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-04-09T18:15:09.23345742Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-04-09T18:15:09.23346104Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-04-09T18:15:09.23346492Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-04-09T18:15:09.233743493Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-04-09T18:15:09.233765225Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-04-09T18:15:09.234382395Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-04-09T18:15:09.235327252Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-04-09T18:15:09.236365656Z level=info msg="Migration successfully executed" id="create migration_log table" duration=1.038264ms grafana | logger=migrator t=2024-04-09T18:15:09.241567869Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-04-09T18:15:09.242268046Z level=info msg="Migration successfully executed" id="create user table" duration=699.387µs grafana | logger=migrator t=2024-04-09T18:15:09.276173112Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-04-09T18:15:09.277423154Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.248072ms grafana | logger=migrator t=2024-04-09T18:15:09.320233474Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-04-09T18:15:09.321555401Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.323257ms grafana | logger=migrator t=2024-04-09T18:15:09.328256726Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-04-09T18:15:09.32941334Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.155804ms grafana | logger=migrator t=2024-04-09T18:15:09.335003965Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-04-09T18:15:09.336142948Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.139223ms grafana | logger=migrator t=2024-04-09T18:15:09.341295286Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-04-09T18:15:09.345204394Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=3.908919ms grafana | logger=migrator t=2024-04-09T18:15:09.349968902Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-04-09T18:15:09.350772407Z level=info msg="Migration successfully executed" id="create user table v2" duration=803.315µs grafana | logger=migrator t=2024-04-09T18:15:09.355054494Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-04-09T18:15:09.355779354Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=721.42µs grafana | logger=migrator t=2024-04-09T18:15:09.359162249Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-04-09T18:15:09.359862746Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=699.896µs grafana | logger=migrator t=2024-04-09T18:15:09.363339908Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-04-09T18:15:09.363751331Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=406.413µs grafana | logger=migrator t=2024-04-09T18:15:09.366731334Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-04-09T18:15:09.367620206Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=902.143µs grafana | logger=migrator t=2024-04-09T18:15:09.372626184Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-04-09T18:15:09.374427769Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.794976ms grafana | logger=migrator t=2024-04-09T18:15:09.378457348Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-04-09T18:15:09.37848332Z level=info msg="Migration successfully executed" id="Update user table charset" duration=26.913µs grafana | logger=migrator t=2024-04-09T18:15:09.384198534Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-04-09T18:15:09.386615891Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=2.421918ms grafana | logger=migrator t=2024-04-09T18:15:09.394706629Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-04-09T18:15:09.395003693Z level=info msg="Migration successfully executed" id="Add missing user data" duration=297.605µs grafana | logger=migrator t=2024-04-09T18:15:09.400014539Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-04-09T18:15:09.401272482Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.257833ms grafana | logger=migrator t=2024-04-09T18:15:09.406622037Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-04-09T18:15:09.408282722Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.663094ms mariadb | mariadb | mariadb | 2024-04-09 18:15:16+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | 2024-04-09 18:15:16+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 grafana | logger=migrator t=2024-04-09T18:15:09.412795259Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-04-09T18:15:09.414114936Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.316706ms grafana | logger=migrator t=2024-04-09T18:15:09.417673996Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-04-09T18:15:09.428047528Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=10.373053ms grafana | logger=migrator t=2024-04-09T18:15:09.432019462Z level=info msg="Executing migration" id="Add uid column to user" grafana | logger=migrator t=2024-04-09T18:15:09.433030694Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=1.006232ms grafana | logger=migrator t=2024-04-09T18:15:09.468915681Z level=info msg="Executing migration" id="Update uid column values for users" grafana | logger=migrator t=2024-04-09T18:15:09.469413171Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=499.58µs grafana | logger=migrator t=2024-04-09T18:15:09.4755484Z level=info msg="Executing migration" id="Add unique index user_uid" grafana | logger=migrator t=2024-04-09T18:15:09.476594735Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=1.048446ms grafana | logger=migrator t=2024-04-09T18:15:09.482715713Z level=info msg="Executing migration" id="update login field with orgid to allow for multiple service accounts with same name across orgs" grafana | logger=migrator t=2024-04-09T18:15:09.48354674Z level=info msg="Migration successfully executed" id="update login field with orgid to allow for multiple service accounts with same name across orgs" duration=826.557µs grafana | logger=migrator t=2024-04-09T18:15:09.488130643Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-04-09T18:15:09.490037778Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.897174ms grafana | logger=migrator t=2024-04-09T18:15:09.497296268Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-04-09T18:15:09.498340954Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.043185ms grafana | logger=migrator t=2024-04-09T18:15:09.505355543Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-04-09T18:15:09.506357904Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.003471ms grafana | logger=migrator t=2024-04-09T18:15:09.511524595Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-04-09T18:15:09.51294132Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.416366ms grafana | logger=migrator t=2024-04-09T18:15:09.517456267Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-04-09T18:15:09.518649744Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.193408ms grafana | logger=migrator t=2024-04-09T18:15:09.523093485Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-04-09T18:15:09.523124667Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=32.722µs grafana | logger=migrator t=2024-04-09T18:15:09.52647003Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-04-09T18:15:09.527346421Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=876.931µs grafana | logger=migrator t=2024-04-09T18:15:09.530551912Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-04-09T18:15:09.53140104Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=849.779µs grafana | logger=migrator t=2024-04-09T18:15:09.536906398Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-04-09T18:15:09.538196903Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.297986ms grafana | logger=migrator t=2024-04-09T18:15:09.582979434Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-04-09T18:15:09.584395378Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.804696ms grafana | logger=migrator t=2024-04-09T18:15:09.588509623Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-04-09T18:15:09.591859926Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.344262ms grafana | logger=migrator t=2024-04-09T18:15:09.597334381Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-04-09T18:15:09.598378495Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=1.043614ms grafana | logger=migrator t=2024-04-09T18:15:09.639239757Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-04-09T18:15:09.640625119Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=1.387512ms grafana | logger=migrator t=2024-04-09T18:15:09.644839523Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-04-09T18:15:09.646256037Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.415845ms grafana | logger=migrator t=2024-04-09T18:15:09.650197748Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-04-09T18:15:09.651052577Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=854.529µs 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 | prometheus | ts=2024-04-09T18:15:08.226Z caller=main.go:573 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2024-04-09T18:15:08.226Z caller=main.go:617 level=info msg="Starting Prometheus Server" mode=server version="(version=2.51.1, branch=HEAD, revision=855b5ac4b80956874eb1790a04c92327f2f99e38)" prometheus | ts=2024-04-09T18:15:08.226Z caller=main.go:622 level=info build_context="(go=go1.22.1, platform=linux/amd64, user=root@d3785d7783f2, date=20240328-09:27:30, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2024-04-09T18:15:08.226Z caller=main.go:623 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" prometheus | ts=2024-04-09T18:15:08.227Z caller=main.go:624 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2024-04-09T18:15:08.227Z caller=main.go:625 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2024-04-09T18:15:08.232Z caller=web.go:568 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-04-09T18:15:08.233Z caller=main.go:1129 level=info msg="Starting TSDB ..." prometheus | ts=2024-04-09T18:15:08.234Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-04-09T18:15:08.234Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2024-04-09T18:15:08.242Z caller=head.go:616 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-04-09T18:15:08.242Z caller=head.go:698 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.36µs prometheus | ts=2024-04-09T18:15:08.242Z caller=head.go:706 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-04-09T18:15:08.242Z caller=head.go:778 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2024-04-09T18:15:08.242Z caller=head.go:815 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=28.121µs wal_replay_duration=359.431µs wbl_replay_duration=170ns total_replay_duration=413.664µs prometheus | ts=2024-04-09T18:15:08.245Z caller=main.go:1150 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2024-04-09T18:15:08.245Z caller=main.go:1153 level=info msg="TSDB started" prometheus | ts=2024-04-09T18:15:08.245Z caller=main.go:1335 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2024-04-09T18:15:08.246Z caller=main.go:1372 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=939.176µs db_storage=1.19µs remote_storage=1.57µs web_handler=430ns query_engine=740ns scrape=267.906µs scrape_sd=118.417µs notify=25.651µs notify_sd=21.971µs rules=1.761µs tracing=4.61µs prometheus | ts=2024-04-09T18:15:08.246Z caller=main.go:1114 level=info msg="Server is ready to receive web requests." prometheus | ts=2024-04-09T18:15:08.246Z caller=manager.go:163 level=info component="rule manager" msg="Starting rule manager..." mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2024-04-09 18:15:17+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-04-09 18:15:17 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-04-09 18:15:17 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-04-09 18:15:17 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-04-09 18:15:17 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-04-09 18:15:17 0 [Note] InnoDB: Buffer pool(s) dump completed at 240409 18:15:17 mariadb | 2024-04-09 18:15:17 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-04-09 18:15:17 0 [Note] InnoDB: Shutdown completed; log sequence number 346998; transaction id 298 mariadb | 2024-04-09 18:15:17 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-04-09 18:15:17+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-04-09 18:15:17+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-04-09 18:15:17 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-04-09 18:15:17 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-04-09 18:15:17 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-04-09 18:15:17 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-04-09 18:15:17 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-04-09 18:15:17 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-04-09 18:15:17 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-04-09 18:15:17 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-04-09 18:15:17 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-04-09 18:15:17 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-04-09 18:15:17 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-04-09 18:15:17 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-04-09 18:15:17 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-04-09 18:15:17 0 [Note] InnoDB: log sequence number 346998; transaction id 299 mariadb | 2024-04-09 18:15:17 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-04-09 18:15:17 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-04-09 18:15:17 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-04-09 18:15:17 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-04-09 18:15:17 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-04-09 18:15:17 0 [Note] Server socket created on IP: '::'. mariadb | 2024-04-09 18:15:17 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mariadb | 2024-04-09 18:15:17 0 [Note] InnoDB: Buffer pool(s) load completed at 240409 18:15:17 mariadb | 2024-04-09 18:15:18 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) mariadb | 2024-04-09 18:15:18 13 [Warning] Aborted connection 13 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | 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-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 grafana | logger=migrator t=2024-04-09T18:15:09.670070274Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" policy-db-migrator | -------------- policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.2:3306) open policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.5:6824) open policy-db-migrator | -------------- policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-db-migrator | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-db-migrator | policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-db-migrator | -------------- policy-api | :: Spring Boot :: (v3.1.4) policy-api | policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-api | [2024-04-09T18:15:27.751+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 23 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-04-09T18:15:27.754+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-db-migrator | -------------- policy-api | [2024-04-09T18:15:29.570+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-04-09T18:15:29.663+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 83 ms. Found 6 JPA repository interfaces. policy-db-migrator | policy-api | [2024-04-09T18:15:30.074+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 grafana | logger=migrator t=2024-04-09T18:15:09.671456166Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.385663ms policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:09.674985664Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-04-09T18:15:09.675733184Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=746.991µs policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql grafana | logger=migrator t=2024-04-09T18:15:09.680332857Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-04-09T18:15:09.680934647Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=599.52µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:09.684748937Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" 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-api | [2024-04-09T18:15:30.074+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:09.685315583Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=561.945µs policy-api | [2024-04-09T18:15:30.743+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:09.687790294Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-04-09T18:15:09.688674685Z level=info msg="Migration successfully executed" id="create star table" duration=883.511µs policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:09.692566062Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-04-09T18:15:09.694246538Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.682566ms policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql grafana | logger=migrator t=2024-04-09T18:15:09.698714932Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-04-09T18:15:09.699692651Z level=info msg="Migration successfully executed" id="create org table v1" duration=977.389µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:09.70397591Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-04-09T18:15:09.705439428Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.463188ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-09T18:15:09.711891634Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-04-09T18:15:09.712756134Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=863.46µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:09.720073389Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-04-09T18:15:09.721539517Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.465929ms policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:09.726030023Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-04-09T18:15:09.726945687Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=915.074µs policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:09.730699262Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-04-09T18:15:09.731973646Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.272494ms policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql grafana | logger=migrator t=2024-04-09T18:15:09.735323738Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-04-09T18:15:09.735397714Z level=info msg="Migration successfully executed" id="Update org table charset" duration=41.543µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:09.738950343Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-04-09T18:15:09.738986686Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=37.943µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-09T18:15:09.742790785Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-04-09T18:15:09.743105501Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=315.656µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:09.746194782Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-04-09T18:15:09.7471653Z level=info msg="Migration successfully executed" id="create dashboard table" duration=970.068µs policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:09.750626113Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-04-09T18:15:09.752377224Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.750432ms policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:09.755912771Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-04-09T18:15:09.756780973Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=871.632µs policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql grafana | logger=migrator t=2024-04-09T18:15:09.760914778Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-04-09T18:15:09.761676701Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=762.283µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:09.76486948Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-04-09T18:15:09.765816137Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=941.176µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-09T18:15:09.769723034Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-04-09T18:15:09.770545702Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=822.948µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:09.77422065Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-04-09T18:15:09.779604118Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=5.382658ms policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:09.783722552Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-04-09T18:15:09.784552701Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=829.728µs policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:09.78787346Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-04-09T18:15:09.78873028Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=859.929µs policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-04-09T18:15:09.792420629Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-04-09T18:15:09.793422981Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.001922ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:09.796821157Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-04-09T18:15:09.797216899Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=395.522µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-09T18:15:09.800638517Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-04-09T18:15:09.801603066Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=964.119µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:09.805378243Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-04-09T18:15:09.805456829Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=79.216µs policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:09.808943763Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-04-09T18:15:09.811045914Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.101542ms policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:09.815246206Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-04-09T18:15:09.818154982Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.908386ms policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-api | [2024-04-09T18:15:30.752+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:09.821586731Z level=info msg="Executing migration" id="Add column gnetId in dashboard" policy-api | [2024-04-09T18:15:30.754+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-04-09T18:15:30.754+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] policy-api | [2024-04-09T18:15:30.843+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext 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-api | [2024-04-09T18:15:30.843+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2990 ms policy-api | [2024-04-09T18:15:31.320+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-db-migrator | -------------- policy-api | [2024-04-09T18:15:31.386+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-api | [2024-04-09T18:15:31.390+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-db-migrator | policy-api | [2024-04-09T18:15:31.432+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-api | [2024-04-09T18:15:31.778+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-db-migrator | policy-api | [2024-04-09T18:15:31.796+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-04-09T18:15:31.891+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@750ff7d3 policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-api | [2024-04-09T18:15:31.894+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-04-09T18:15:31.924+00:00|WARN|deprecation|main] HHH90000025: MariaDB103Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) policy-db-migrator | -------------- policy-api | [2024-04-09T18:15:31.925+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead policy-api | [2024-04-09T18:15:33.764+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 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-api | [2024-04-09T18:15:33.768+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-04-09T18:15:35.100+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-db-migrator | -------------- policy-api | [2024-04-09T18:15:35.885+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-04-09T18:15:36.895+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-db-migrator | policy-api | [2024-04-09T18:15:37.087+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@6149184e, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@6f3a8d5e, org.springframework.security.web.context.SecurityContextHolderFilter@39d666e0, org.springframework.security.web.header.HeaderWriterFilter@5f160f9c, org.springframework.security.web.authentication.logout.LogoutFilter@79462469, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@407bfc49, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@56bc8c45, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@2f29400e, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@680f7a5e, org.springframework.security.web.access.ExceptionTranslationFilter@9bc10bd, org.springframework.security.web.access.intercept.AuthorizationFilter@1e33203f] policy-api | [2024-04-09T18:15:38.026+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-db-migrator | policy-api | [2024-04-09T18:15:38.081+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-04-09T18:15:38.098+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-api | [2024-04-09T18:15:38.117+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.211 seconds (process running for 11.782) policy-api | [2024-04-09T18:15:39.957+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-db-migrator | -------------- policy-api | [2024-04-09T18:15:39.957+00:00|INFO|DispatcherServlet|http-nio-6969-exec-1] Initializing Servlet 'dispatcherServlet' policy-api | [2024-04-09T18:15:39.959+00:00|INFO|DispatcherServlet|http-nio-6969-exec-1] Completed initialization in 2 ms 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-api | [2024-04-09T18:15:48.299+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-5] ***** OrderedServiceImpl implementers: policy-api | [] policy-db-migrator | -------------- policy-api | [2024-04-09T18:15:48.453+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2024-04-09T18:15:48.720+00:00|WARN|CommonRestController|http-nio-6969-exec-7] POST /policytypes policy-db-migrator | policy-api | [2024-04-09T18:15:49.905+00:00|WARN|CommonRestController|http-nio-6969-exec-1] POST /policies policy-api | [2024-04-09T18:15:51.873+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 grafana | logger=migrator t=2024-04-09T18:15:09.823353675Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.773245ms policy-db-migrator | policy-api | [2024-04-09T18:15:52.170+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policies/onap.restart.tca/versions/1.0.0 grafana | logger=migrator t=2024-04-09T18:15:09.826254421Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-api | [2024-04-09T18:15:52.381+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 grafana | logger=migrator t=2024-04-09T18:15:09.827029363Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=774.662µs policy-db-migrator | -------------- policy-api | [2024-04-09T18:15:52.612+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-04-09T18:15:52.865+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-api | [2024-04-09T18:15:53.092+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:09.830600423Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:09.832425612Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.820519ms policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:09.835507563Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql grafana | logger=migrator t=2024-04-09T18:15:09.836289436Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=778.543µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:09.839843565Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-09T18:15:09.840626579Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=782.665µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:09.845182029Z level=info msg="Executing migration" id="Update dashboard table charset" policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:09.845208581Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=27.163µs policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:09.84912701Z level=info msg="Executing migration" id="Update dashboard_tag table charset" policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-04-09T18:15:09.849159743Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=32.642µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:09.853039868Z level=info msg="Executing migration" id="Add column folder_id in dashboard" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-04-09T18:15:09.856228127Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.187839ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:09.861323991Z level=info msg="Executing migration" id="Add column isFolder in dashboard" policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:09.863213185Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.888964ms policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:09.8667176Z level=info msg="Executing migration" id="Add column has_acl in dashboard" policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql grafana | logger=migrator t=2024-04-09T18:15:09.869833203Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=3.118094ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:09.873599639Z level=info msg="Executing migration" id="Add column uid in dashboard" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-09T18:15:09.876171068Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.560269ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:09.881551855Z level=info msg="Executing migration" id="Update uid column values in dashboard" policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:09.881911744Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=361.629µs policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:09.885567972Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql grafana | logger=migrator t=2024-04-09T18:15:09.886319243Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=750.851µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:09.889754102Z level=info msg="Executing migration" id="Remove unique index org_id_slug" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-09T18:15:09.890537707Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=783.374µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:09.893913621Z level=info msg="Executing migration" id="Update dashboard title length" policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:09.893950284Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=34.172µs policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:09.898474011Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-04-09T18:15:09.899276337Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=801.306µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:09.908963614Z level=info msg="Executing migration" id="create dashboard_provisioning" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-04-09T18:15:09.909738147Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=774.792µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:09.913627313Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:09.918770232Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=5.145828ms policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:09.92356007Z level=info msg="Executing migration" id="create dashboard_provisioning v2" policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-04-09T18:15:09.924089403Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=529.253µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:09.927376951Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-09T18:15:09.92797582Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=598.819µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:09.931748156Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:09.932505667Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=757.211µs policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:09.936864822Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql grafana | logger=migrator t=2024-04-09T18:15:09.937216711Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=354.978µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:09.939851245Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-09T18:15:09.940648089Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=796.574µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:09.944122783Z level=info msg="Executing migration" id="Add check_sum column" policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:09.949113237Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=4.990785ms policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:09.954005145Z level=info msg="Executing migration" id="Add index for dashboard_title" policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql grafana | logger=migrator t=2024-04-09T18:15:09.954854104Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=815.726µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:09.95860534Z level=info msg="Executing migration" id="delete tags for deleted dashboards" 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 | grafana | logger=migrator t=2024-04-09T18:15:09.958931266Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=324.427µs policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:09.963002707Z level=info msg="Executing migration" id="delete stars for deleted dashboards" policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql grafana | logger=migrator t=2024-04-09T18:15:09.963270668Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=267.802µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:09.967870433Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-09T18:15:09.968674118Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=804.655µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:09.974501551Z level=info msg="Executing migration" id="Add isPublic for dashboard" policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:09.97927602Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=4.846324ms policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:09.984834622Z level=info msg="Executing migration" id="create data_source table" policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql grafana | logger=migrator t=2024-04-09T18:15:09.985797021Z level=info msg="Migration successfully executed" id="create data_source table" duration=962.599µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:09.989963259Z level=info msg="Executing migration" id="add index data_source.account_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-09T18:15:09.991186148Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.232469ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:09.995617738Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:09.996936865Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.318057ms policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.00117323Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql grafana | logger=migrator t=2024-04-09T18:15:10.002774271Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.609821ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.008264937Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-09T18:15:10.009399169Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.134462ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.015634675Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.024076772Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=8.440886ms policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.028817637Z level=info msg="Executing migration" id="create data_source table v2" policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql grafana | logger=migrator t=2024-04-09T18:15:10.029987832Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=1.169585ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.034687295Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) grafana | logger=migrator t=2024-04-09T18:15:10.035553795Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=865.99µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.040958644Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.041827165Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=868.121µs policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.04619829Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql grafana | logger=migrator t=2024-04-09T18:15:10.046876545Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=678.285µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.052516574Z level=info msg="Executing migration" id="Add column with_credentials" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-09T18:15:10.056690713Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=4.17518ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.06108701Z level=info msg="Executing migration" id="Add secure json data column" policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.06354544Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.4581ms policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.067798396Z level=info msg="Executing migration" id="Update data_source table charset" policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql grafana | logger=migrator t=2024-04-09T18:15:10.067820588Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=23.092µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.073332926Z level=info msg="Executing migration" id="Update initial version to 1" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-09T18:15:10.073524432Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=191.936µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.077250484Z level=info msg="Executing migration" id="Add read_only data column" policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.08124693Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.991435ms policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.086695313Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql grafana | logger=migrator t=2024-04-09T18:15:10.087046191Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=350.328µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.090670186Z level=info msg="Executing migration" id="Update json_data with nulls" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-09T18:15:10.090833479Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=164.114µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.09737643Z level=info msg="Executing migration" id="Add uid column" policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.100117473Z level=info msg="Migration successfully executed" id="Add uid column" duration=2.736503ms policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.104574496Z level=info msg="Executing migration" id="Update uid value" policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2024-04-09T18:15:10.104822506Z level=info msg="Migration successfully executed" id="Update uid value" duration=247.18µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.108100242Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-04-09T18:15:10.10893862Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=838.138µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.115918128Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.117506708Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.590419ms policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.123616354Z level=info msg="Executing migration" id="create api_key table" policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2024-04-09T18:15:10.125254437Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.639782ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.129874373Z level=info msg="Executing migration" id="add index api_key.account_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) grafana | logger=migrator t=2024-04-09T18:15:10.130885464Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.018682ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.134360618Z level=info msg="Executing migration" id="add index api_key.key" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0460-pdppolicystatus.sql grafana | logger=migrator t=2024-04-09T18:15:10.135710437Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.35101ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.14201968Z level=info msg="Executing migration" id="add index api_key.account_id_name" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-04-09T18:15:10.143627991Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.600971ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.147609504Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.148874307Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.266633ms policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.153109491Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2024-04-09T18:15:10.154026256Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=917.355µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.161156536Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-04-09T18:15:10.162467223Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.313497ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.168434328Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.176270734Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=7.831426ms policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.185520166Z level=info msg="Executing migration" id="create api_key table v2" policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2024-04-09T18:15:10.186976474Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=1.458998ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.231011744Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) grafana | logger=migrator t=2024-04-09T18:15:10.232572192Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=1.562267ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.237137762Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.238240162Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.10465ms policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.244073777Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2024-04-09T18:15:10.245271533Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.198757ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.249135748Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-04-09T18:15:10.249758719Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=625.51µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-04-09T18:15:10.256642618Z level=info msg="Executing migration" id="Drop old table api_key_v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.257778261Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=1.136633ms policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.26699465Z level=info msg="Executing migration" id="Update api_key table charset" policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.267055175Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=64.255µs policy-db-migrator | > upgrade 0500-pdpsubgroup.sql grafana | logger=migrator t=2024-04-09T18:15:10.271002205Z level=info msg="Executing migration" id="Add expires to api_key table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.27523545Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.231824ms policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-04-09T18:15:10.279588523Z level=info msg="Executing migration" id="Add service account foreign key" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.282402542Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.813688ms policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.287193652Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.287499136Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=305.525µs policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql grafana | logger=migrator t=2024-04-09T18:15:10.295399309Z level=info msg="Executing migration" id="Add last_used_at to api_key table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.301619254Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=6.245497ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) grafana | logger=migrator t=2024-04-09T18:15:10.305774942Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.308304558Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.530556ms policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.311991818Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.312834736Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=843.859µs policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql grafana | logger=migrator t=2024-04-09T18:15:10.318272098Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.319084174Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=814.045µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) grafana | logger=migrator t=2024-04-09T18:15:10.33293645Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.334594905Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.676977ms policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.338302106Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.33920229Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=900.424µs policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql grafana | logger=migrator t=2024-04-09T18:15:10.345800916Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" 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)) grafana | logger=migrator t=2024-04-09T18:15:10.34781496Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=2.015175ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.35113777Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.352339907Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.202087ms policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.35925062Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql grafana | logger=migrator t=2024-04-09T18:15:10.359450146Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=200.126µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.36577697Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) grafana | logger=migrator t=2024-04-09T18:15:10.365838965Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=67.126µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.36947805Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql grafana | logger=migrator t=2024-04-09T18:15:10.373700964Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.219604ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.381344016Z level=info msg="Executing migration" id="Add encrypted dashboard json column" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) grafana | logger=migrator t=2024-04-09T18:15:10.383863351Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.517194ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.387841154Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.387964454Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=125.94µs policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.394911919Z level=info msg="Executing migration" id="create quota table v1" policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql grafana | logger=migrator t=2024-04-09T18:15:10.395757067Z level=info msg="Migration successfully executed" id="create quota table v1" duration=845.508µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.406902703Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-04-09T18:15:10.409113183Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=2.21067ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.415802687Z level=info msg="Executing migration" id="Update quota table charset" policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.415831309Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=28.172µs policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.420917753Z level=info msg="Executing migration" id="create plugin_setting table" policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.422010211Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.091208ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) grafana | logger=migrator t=2024-04-09T18:15:10.426469384Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.427479436Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.009092ms policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.43736416Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.441372425Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.008346ms policy-db-migrator | > upgrade 0580-toscadatatypes.sql grafana | logger=migrator t=2024-04-09T18:15:10.445205166Z level=info msg="Executing migration" id="Update plugin_setting table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.445253241Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=48.615µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) grafana | logger=migrator t=2024-04-09T18:15:10.449292899Z level=info msg="Executing migration" id="create session table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.449991726Z level=info msg="Migration successfully executed" id="create session table" duration=696.767µs policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.454622963Z level=info msg="Executing migration" id="Drop old table playlist table" policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.454700869Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=80.577µs policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql grafana | logger=migrator t=2024-04-09T18:15:10.459736929Z level=info msg="Executing migration" id="Drop old table playlist_item table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.459951116Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=211.227µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-04-09T18:15:10.46406597Z level=info msg="Executing migration" id="create playlist table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.464827042Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=761.211µs policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.470022024Z level=info msg="Executing migration" id="create playlist item table v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) grafana | logger=migrator t=2024-04-09T18:15:10.470748114Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=726.43µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.473839015Z level=info msg="Executing migration" id="Update playlist table charset" policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.473865647Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=27.542µs policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.477902105Z level=info msg="Executing migration" id="Update playlist_item table charset" policy-db-migrator | > upgrade 0610-toscanodetemplates.sql grafana | logger=migrator t=2024-04-09T18:15:10.477930867Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=30.522µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.481375177Z level=info msg="Executing migration" id="Add playlist column created_at" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) grafana | logger=migrator t=2024-04-09T18:15:10.484608761Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=3.233853ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.489678122Z level=info msg="Executing migration" id="Add playlist column updated_at" policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.49321556Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.535788ms policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.496989307Z level=info msg="Executing migration" id="drop preferences table v2" policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql grafana | logger=migrator t=2024-04-09T18:15:10.497115567Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=129.201µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.499769783Z level=info msg="Executing migration" id="drop preferences table v3" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-04-09T18:15:10.499851019Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=83.917µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.505353097Z level=info msg="Executing migration" id="create preferences table v3" policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.506946617Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.5965ms policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.511686431Z level=info msg="Executing migration" id="Update preferences table charset" policy-db-migrator | > upgrade 0630-toscanodetype.sql grafana | logger=migrator t=2024-04-09T18:15:10.511729625Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=44.554µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.514881951Z level=info msg="Executing migration" id="Add column team_id in preferences" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) grafana | logger=migrator t=2024-04-09T18:15:10.518175569Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.288868ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.52261274Z level=info msg="Executing migration" id="Update team_id column values in preferences" policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.523000591Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=395.442µs policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.526419369Z level=info msg="Executing migration" id="Add column week_start in preferences" policy-db-migrator | > upgrade 0640-toscanodetypes.sql grafana | logger=migrator t=2024-04-09T18:15:10.531090499Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=4.67197ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.534105144Z level=info msg="Executing migration" id="Add column preferences.json_data" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) grafana | logger=migrator t=2024-04-09T18:15:10.537368669Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.263145ms policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:10.542091953Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2024-04-09T18:15:10.542221134Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=130.18µs grafana | logger=migrator t=2024-04-09T18:15:10.546376022Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2024-04-09T18:15:10.547227801Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=851.419µs grafana | logger=migrator t=2024-04-09T18:15:10.551926613Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2024-04-09T18:15:10.553762132Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.836248ms grafana | logger=migrator t=2024-04-09T18:15:10.559302262Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2024-04-09T18:15:10.560471348Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.169315ms grafana | logger=migrator t=2024-04-09T18:15:10.565160278Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2024-04-09T18:15:10.566210424Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.051176ms grafana | logger=migrator t=2024-04-09T18:15:10.570048406Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-04-09T18:15:10.572866435Z level=info msg="Migration successfully executed" id="add index alert state" duration=2.813969ms grafana | logger=migrator t=2024-04-09T18:15:10.576721938Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-04-09T18:15:10.577716479Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=993.691µs grafana | logger=migrator t=2024-04-09T18:15:10.582004858Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-04-09T18:15:10.582723847Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=716.999µs grafana | logger=migrator t=2024-04-09T18:15:10.588081291Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-04-09T18:15:10.588943302Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=861.711µs grafana | logger=migrator t=2024-04-09T18:15:10.592070296Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-04-09T18:15:10.593424136Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.353649ms grafana | logger=migrator t=2024-04-09T18:15:10.597440193Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-04-09T18:15:10.606783972Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=9.344559ms grafana | logger=migrator t=2024-04-09T18:15:10.612925091Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2024-04-09T18:15:10.613944685Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=1.023543ms grafana | logger=migrator t=2024-04-09T18:15:10.618090081Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" grafana | logger=migrator t=2024-04-09T18:15:10.619230334Z 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.142903ms grafana | logger=migrator t=2024-04-09T18:15:10.625097491Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2024-04-09T18:15:10.625485653Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=391.512µs grafana | logger=migrator t=2024-04-09T18:15:10.627764468Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2024-04-09T18:15:10.628714065Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=949.297µs grafana | logger=migrator t=2024-04-09T18:15:10.633220852Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2024-04-09T18:15:10.634403187Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.182016ms grafana | logger=migrator t=2024-04-09T18:15:10.639492331Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2024-04-09T18:15:10.644596947Z level=info msg="Migration successfully executed" id="Add column is_default" duration=5.101535ms grafana | logger=migrator t=2024-04-09T18:15:10.65215688Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2024-04-09T18:15:10.656348052Z level=info msg="Migration successfully executed" id="Add column frequency" duration=4.187871ms grafana | logger=migrator t=2024-04-09T18:15:10.669065585Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2024-04-09T18:15:10.690632038Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=21.572084ms grafana | logger=migrator t=2024-04-09T18:15:10.751941443Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2024-04-09T18:15:10.758076401Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=6.136349ms grafana | logger=migrator t=2024-04-09T18:15:10.767236206Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-04-09T18:15:10.768615548Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.380673ms grafana | logger=migrator t=2024-04-09T18:15:10.775764709Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2024-04-09T18:15:10.775807002Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=44.364µs grafana | logger=migrator t=2024-04-09T18:15:10.784781683Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2024-04-09T18:15:10.784820936Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=40.924µs grafana | logger=migrator t=2024-04-09T18:15:10.825893004Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2024-04-09T18:15:10.82718519Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.292565ms grafana | logger=migrator t=2024-04-09T18:15:10.837125277Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-04-09T18:15:10.838814215Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.687877ms grafana | logger=migrator t=2024-04-09T18:15:10.900517091Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2024-04-09T18:15:10.901881942Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.363961ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0670-toscapolicies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0690-toscapolicy.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0700-toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0710-toscapolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0730-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0770-toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:10.912297358Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2024-04-09T18:15:10.913704273Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.408985ms grafana | logger=migrator t=2024-04-09T18:15:10.9778743Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-04-09T18:15:10.979686587Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.814167ms grafana | logger=migrator t=2024-04-09T18:15:11.03561061Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2024-04-09T18:15:11.042117815Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=6.505574ms grafana | logger=migrator t=2024-04-09T18:15:11.093667798Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2024-04-09T18:15:11.100479776Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=6.813157ms grafana | logger=migrator t=2024-04-09T18:15:11.110320429Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2024-04-09T18:15:11.110766283Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=445.044µs grafana | logger=migrator t=2024-04-09T18:15:11.184876796Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2024-04-09T18:15:11.186777622Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.903327ms grafana | logger=migrator t=2024-04-09T18:15:11.246525362Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2024-04-09T18:15:11.247524179Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.003147ms grafana | logger=migrator t=2024-04-09T18:15:11.255555142Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2024-04-09T18:15:11.262158363Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=6.601231ms grafana | logger=migrator t=2024-04-09T18:15:11.379651386Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2024-04-09T18:15:11.379796577Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=148.941µs grafana | logger=migrator t=2024-04-09T18:15:11.414155499Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2024-04-09T18:15:11.415780686Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.629096ms grafana | logger=migrator t=2024-04-09T18:15:11.460799073Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2024-04-09T18:15:11.466145338Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=5.347645ms grafana | logger=migrator t=2024-04-09T18:15:11.483389054Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2024-04-09T18:15:11.483491082Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=103.688µs grafana | logger=migrator t=2024-04-09T18:15:11.497420701Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2024-04-09T18:15:11.500156093Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=2.729372ms grafana | logger=migrator t=2024-04-09T18:15:11.508885359Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2024-04-09T18:15:11.510299109Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.4163ms grafana | logger=migrator t=2024-04-09T18:15:11.516583186Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2024-04-09T18:15:11.517539199Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=955.403µs grafana | logger=migrator t=2024-04-09T18:15:11.52309222Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2024-04-09T18:15:11.524053715Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=959.535µs grafana | logger=migrator t=2024-04-09T18:15:11.584557192Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2024-04-09T18:15:11.58646596Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.910978ms grafana | logger=migrator t=2024-04-09T18:15:11.593163129Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2024-04-09T18:15:11.595735408Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=2.56996ms grafana | logger=migrator t=2024-04-09T18:15:11.603312735Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2024-04-09T18:15:11.603341688Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=28.763µs grafana | logger=migrator t=2024-04-09T18:15:11.60866579Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2024-04-09T18:15:11.613285268Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.616807ms grafana | logger=migrator t=2024-04-09T18:15:11.619977757Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2024-04-09T18:15:11.62105708Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=1.080534ms grafana | logger=migrator t=2024-04-09T18:15:11.715771729Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2024-04-09T18:15:11.720544759Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=4.775441ms grafana | logger=migrator t=2024-04-09T18:15:11.727138329Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2024-04-09T18:15:11.727899628Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=760.099µs grafana | logger=migrator t=2024-04-09T18:15:11.791843932Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2024-04-09T18:15:11.79348942Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.645308ms grafana | logger=migrator t=2024-04-09T18:15:11.802327935Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2024-04-09T18:15:11.803239925Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=911.95µs grafana | logger=migrator t=2024-04-09T18:15:11.808165667Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" policy-db-migrator | policy-db-migrator | > upgrade 0780-toscarequirements.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0820-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:11.822591205Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=14.425148ms grafana | logger=migrator t=2024-04-09T18:15:11.828010705Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2024-04-09T18:15:11.828569028Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=555.262µs grafana | logger=migrator t=2024-04-09T18:15:11.834521669Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" grafana | logger=migrator t=2024-04-09T18:15:11.83581508Z 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.29295ms grafana | logger=migrator t=2024-04-09T18:15:11.839540988Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2024-04-09T18:15:11.840166156Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=625.478µs grafana | logger=migrator t=2024-04-09T18:15:11.844899013Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2024-04-09T18:15:11.845777401Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=878.428µs grafana | logger=migrator t=2024-04-09T18:15:11.852995771Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2024-04-09T18:15:11.853752029Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=756.499µs grafana | logger=migrator t=2024-04-09T18:15:11.859531427Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2024-04-09T18:15:11.86395478Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.423154ms grafana | logger=migrator t=2024-04-09T18:15:11.867674598Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2024-04-09T18:15:11.872041717Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.366638ms grafana | logger=migrator t=2024-04-09T18:15:11.895253555Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2024-04-09T18:15:11.896583588Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.330054ms grafana | logger=migrator t=2024-04-09T18:15:11.901693153Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2024-04-09T18:15:11.903500014Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.80675ms grafana | logger=migrator t=2024-04-09T18:15:11.908019344Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2024-04-09T18:15:11.908435856Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=417.182µs grafana | logger=migrator t=2024-04-09T18:15:11.912895051Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2024-04-09T18:15:11.916196868Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=3.300557ms grafana | logger=migrator t=2024-04-09T18:15:11.93635777Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2024-04-09T18:15:11.937623807Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.267808ms grafana | logger=migrator t=2024-04-09T18:15:11.944333028Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2024-04-09T18:15:11.9446191Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=287.252µs grafana | logger=migrator t=2024-04-09T18:15:11.95016885Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2024-04-09T18:15:11.951012315Z level=info msg="Migration successfully executed" id="Move region to single row" duration=845.426µs grafana | logger=migrator t=2024-04-09T18:15:12.050684559Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2024-04-09T18:15:12.052378556Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.699998ms grafana | logger=migrator t=2024-04-09T18:15:12.055900723Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2024-04-09T18:15:12.056754633Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=854.981µs grafana | logger=migrator t=2024-04-09T18:15:12.06140259Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-04-09T18:15:12.062286523Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=888.403µs grafana | logger=migrator t=2024-04-09T18:15:12.067636559Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-04-09T18:15:12.068995529Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.35859ms grafana | logger=migrator t=2024-04-09T18:15:12.075160281Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2024-04-09T18:15:12.076455857Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.296366ms grafana | logger=migrator t=2024-04-09T18:15:12.082429113Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2024-04-09T18:15:12.083816355Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.386082ms grafana | logger=migrator t=2024-04-09T18:15:12.08891276Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2024-04-09T18:15:12.089038521Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=127.22µs grafana | logger=migrator t=2024-04-09T18:15:12.093872164Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2024-04-09T18:15:12.095550061Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.677577ms grafana | logger=migrator t=2024-04-09T18:15:12.103205264Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2024-04-09T18:15:12.104736189Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.530275ms grafana | logger=migrator t=2024-04-09T18:15:12.110973897Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2024-04-09T18:15:12.112407334Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.433367ms grafana | logger=migrator t=2024-04-09T18:15:12.117757419Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" policy-db-migrator | policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-04-09T18:15:12.119166464Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.408574ms grafana | logger=migrator t=2024-04-09T18:15:12.124797042Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2024-04-09T18:15:12.125084275Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=287.553µs grafana | logger=migrator t=2024-04-09T18:15:12.129622705Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2024-04-09T18:15:12.129972904Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=352.268µs grafana | logger=migrator t=2024-04-09T18:15:12.134769784Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2024-04-09T18:15:12.13483553Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=66.256µs grafana | logger=migrator t=2024-04-09T18:15:12.138957585Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2024-04-09T18:15:12.140594138Z level=info msg="Migration successfully executed" id="create team table" duration=1.635194ms grafana | logger=migrator t=2024-04-09T18:15:12.144887887Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2024-04-09T18:15:12.146643951Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.756194ms grafana | logger=migrator t=2024-04-09T18:15:12.153325284Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2024-04-09T18:15:12.158633607Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=5.304552ms grafana | logger=migrator t=2024-04-09T18:15:12.163942109Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2024-04-09T18:15:12.171591762Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=7.649573ms grafana | logger=migrator t=2024-04-09T18:15:12.178365903Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2024-04-09T18:15:12.178623494Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=255.62µs grafana | logger=migrator t=2024-04-09T18:15:12.183134032Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2024-04-09T18:15:12.184918236Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.782245ms grafana | logger=migrator t=2024-04-09T18:15:12.190304015Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2024-04-09T18:15:12.191081629Z level=info msg="Migration successfully executed" id="create team member table" duration=777.094µs grafana | logger=migrator t=2024-04-09T18:15:12.196519501Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2024-04-09T18:15:12.198115151Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.597ms grafana | logger=migrator t=2024-04-09T18:15:12.235276746Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2024-04-09T18:15:12.237391978Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=2.114562ms grafana | logger=migrator t=2024-04-09T18:15:12.242583281Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2024-04-09T18:15:12.243752196Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.168585ms grafana | logger=migrator t=2024-04-09T18:15:12.248077949Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2024-04-09T18:15:12.2530058Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.923372ms grafana | logger=migrator t=2024-04-09T18:15:12.258469395Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2024-04-09T18:15:12.263060458Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.590023ms grafana | logger=migrator t=2024-04-09T18:15:12.266786352Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2024-04-09T18:15:12.271427709Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.640957ms grafana | logger=migrator t=2024-04-09T18:15:12.276792526Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2024-04-09T18:15:12.278176579Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.383543ms grafana | logger=migrator t=2024-04-09T18:15:12.283790226Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2024-04-09T18:15:12.284737483Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=947.127µs grafana | logger=migrator t=2024-04-09T18:15:12.29145247Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2024-04-09T18:15:12.293327542Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.873292ms grafana | logger=migrator t=2024-04-09T18:15:12.300210903Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2024-04-09T18:15:12.301423992Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.212648ms grafana | logger=migrator t=2024-04-09T18:15:12.308385839Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2024-04-09T18:15:12.310137911Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.752192ms grafana | logger=migrator t=2024-04-09T18:15:12.374030293Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2024-04-09T18:15:12.374971039Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=945.417µs grafana | logger=migrator t=2024-04-09T18:15:12.381518583Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2024-04-09T18:15:12.383735082Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=2.21863ms grafana | logger=migrator t=2024-04-09T18:15:12.39008044Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2024-04-09T18:15:12.391673859Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.5961ms grafana | logger=migrator t=2024-04-09T18:15:12.39634754Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2024-04-09T18:15:12.397172897Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=780.064µs grafana | logger=migrator t=2024-04-09T18:15:12.401732638Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdp.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-04-09T18:15:12.40224838Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=516.562µs grafana | logger=migrator t=2024-04-09T18:15:12.41404159Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2024-04-09T18:15:12.415601697Z level=info msg="Migration successfully executed" id="create tag table" duration=1.564768ms grafana | logger=migrator t=2024-04-09T18:15:12.421464465Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2024-04-09T18:15:12.423286913Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.824439ms grafana | logger=migrator t=2024-04-09T18:15:12.429319414Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2024-04-09T18:15:12.430458677Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.139922ms grafana | logger=migrator t=2024-04-09T18:15:12.436290501Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2024-04-09T18:15:12.438081958Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.790936ms grafana | logger=migrator t=2024-04-09T18:15:12.495577518Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2024-04-09T18:15:12.497357433Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.783126ms grafana | logger=migrator t=2024-04-09T18:15:12.504238123Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2024-04-09T18:15:12.523629992Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=19.375308ms grafana | logger=migrator t=2024-04-09T18:15:12.580820898Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2024-04-09T18:15:12.582487393Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=1.670295ms grafana | logger=migrator t=2024-04-09T18:15:12.586930716Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2024-04-09T18:15:12.588618003Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.687928ms grafana | logger=migrator t=2024-04-09T18:15:12.59533536Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2024-04-09T18:15:12.595872073Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=537.564µs grafana | logger=migrator t=2024-04-09T18:15:12.599775432Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2024-04-09T18:15:12.600879741Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=1.10371ms grafana | logger=migrator t=2024-04-09T18:15:12.60540258Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2024-04-09T18:15:12.607019721Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.617362ms grafana | logger=migrator t=2024-04-09T18:15:12.614819636Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2024-04-09T18:15:12.616078128Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.260302ms grafana | logger=migrator t=2024-04-09T18:15:12.621066564Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2024-04-09T18:15:12.621413713Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=347.448µs grafana | logger=migrator t=2024-04-09T18:15:12.627286891Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2024-04-09T18:15:12.635401251Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=8.111861ms grafana | logger=migrator t=2024-04-09T18:15:12.647561042Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2024-04-09T18:15:12.655475085Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=7.910143ms grafana | logger=migrator t=2024-04-09T18:15:12.660669669Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2024-04-09T18:15:12.666912828Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=6.239819ms grafana | logger=migrator t=2024-04-09T18:15:12.673684168Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2024-04-09T18:15:12.679771834Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=6.085695ms grafana | logger=migrator t=2024-04-09T18:15:12.6859932Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2024-04-09T18:15:12.687265044Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.277544ms grafana | logger=migrator t=2024-04-09T18:15:12.69188953Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2024-04-09T18:15:12.697616536Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.723766ms grafana | logger=migrator t=2024-04-09T18:15:12.702072589Z level=info msg="Executing migration" id="create server_lock table" grafana | logger=migrator t=2024-04-09T18:15:12.703227083Z level=info msg="Migration successfully executed" id="create server_lock table" duration=1.157034ms grafana | logger=migrator t=2024-04-09T18:15:12.708673196Z level=info msg="Executing migration" id="add index server_lock.operation_uid" grafana | logger=migrator t=2024-04-09T18:15:12.710400938Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.727201ms grafana | logger=migrator t=2024-04-09T18:15:12.715070118Z level=info msg="Executing migration" id="create user auth token table" grafana | logger=migrator t=2024-04-09T18:15:12.716505814Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.436096ms grafana | logger=migrator t=2024-04-09T18:15:12.722460369Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" grafana | logger=migrator t=2024-04-09T18:15:12.724322921Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.863852ms grafana | logger=migrator t=2024-04-09T18:15:12.731757707Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" grafana | logger=migrator t=2024-04-09T18:15:12.733026249Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.270773ms grafana | logger=migrator t=2024-04-09T18:15:12.737224522Z level=info msg="Executing migration" id="add index user_auth_token.user_id" grafana | logger=migrator t=2024-04-09T18:15:12.738975814Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.752572ms grafana | logger=migrator t=2024-04-09T18:15:12.743175496Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE jpapdpstatistics_enginestats a policy-db-migrator | JOIN pdpstatistics b policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp policy-db-migrator | SET a.id = b.id policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-sequence.sql policy-db-migrator | -------------- policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscatrigger policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaparameter policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-09T18:15:12.750070197Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=6.895091ms grafana | logger=migrator t=2024-04-09T18:15:12.756044473Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" grafana | logger=migrator t=2024-04-09T18:15:12.757410375Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.367672ms grafana | logger=migrator t=2024-04-09T18:15:12.763139031Z level=info msg="Executing migration" id="create cache_data table" grafana | logger=migrator t=2024-04-09T18:15:12.764833539Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.694627ms grafana | logger=migrator t=2024-04-09T18:15:12.768306892Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" grafana | logger=migrator t=2024-04-09T18:15:12.770018101Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.711239ms grafana | logger=migrator t=2024-04-09T18:15:12.776681714Z level=info msg="Executing migration" id="create short_url table v1" grafana | logger=migrator t=2024-04-09T18:15:12.778520093Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.84014ms grafana | logger=migrator t=2024-04-09T18:15:12.784062764Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2024-04-09T18:15:12.785830709Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.769944ms grafana | logger=migrator t=2024-04-09T18:15:12.791071605Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" grafana | logger=migrator t=2024-04-09T18:15:12.791419494Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=349.598µs grafana | logger=migrator t=2024-04-09T18:15:12.796229505Z level=info msg="Executing migration" id="delete alert_definition table" grafana | logger=migrator t=2024-04-09T18:15:12.796541511Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=312.835µs grafana | logger=migrator t=2024-04-09T18:15:12.800582129Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2024-04-09T18:15:12.801880836Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.300306ms grafana | logger=migrator t=2024-04-09T18:15:12.806641732Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-04-09T18:15:12.808131184Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.490042ms grafana | logger=migrator t=2024-04-09T18:15:12.813786555Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-04-09T18:15:12.815646756Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.860792ms grafana | logger=migrator t=2024-04-09T18:15:12.82343865Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" grafana | logger=migrator t=2024-04-09T18:15:12.823711142Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=275.033µs grafana | logger=migrator t=2024-04-09T18:15:12.827945987Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-04-09T18:15:12.829186248Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.244521ms grafana | logger=migrator t=2024-04-09T18:15:12.835083539Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-04-09T18:15:12.836992794Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.908105ms grafana | logger=migrator t=2024-04-09T18:15:12.841836788Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" grafana | logger=migrator t=2024-04-09T18:15:12.843649036Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.813528ms grafana | logger=migrator t=2024-04-09T18:15:12.849068837Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-04-09T18:15:12.850902026Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.835719ms grafana | logger=migrator t=2024-04-09T18:15:12.857267014Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2024-04-09T18:15:12.862793814Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.52381ms grafana | logger=migrator t=2024-04-09T18:15:12.868419372Z level=info msg="Executing migration" id="drop alert_definition table" grafana | logger=migrator t=2024-04-09T18:15:12.86973815Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.320388ms grafana | logger=migrator t=2024-04-09T18:15:12.876031552Z level=info msg="Executing migration" id="delete alert_definition_version table" grafana | logger=migrator t=2024-04-09T18:15:12.876388481Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=358.609µs policy-db-migrator | DROP TABLE IF EXISTS toscaproperty policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-upgrade.sql policy-db-migrator | -------------- policy-db-migrator | select 'upgrade to 1100 completed' as msg policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | msg policy-db-migrator | upgrade to 1100 completed policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-audit_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-04-09T18:15:12.880887997Z level=info msg="Executing migration" id="recreate alert_definition_version table" grafana | logger=migrator t=2024-04-09T18:15:12.882575405Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.686438ms grafana | logger=migrator t=2024-04-09T18:15:12.886191279Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" grafana | logger=migrator t=2024-04-09T18:15:12.887710082Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.520093ms grafana | logger=migrator t=2024-04-09T18:15:12.893793509Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" grafana | logger=migrator t=2024-04-09T18:15:12.895235355Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.443617ms grafana | logger=migrator t=2024-04-09T18:15:12.899502143Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-04-09T18:15:12.899616553Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=115.589µs grafana | logger=migrator t=2024-04-09T18:15:12.904553684Z level=info msg="Executing migration" id="drop alert_definition_version table" grafana | logger=migrator t=2024-04-09T18:15:12.906252662Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.699179ms grafana | logger=migrator t=2024-04-09T18:15:12.911926604Z level=info msg="Executing migration" id="create alert_instance table" grafana | logger=migrator t=2024-04-09T18:15:12.913250392Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.324387ms 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 0904241815180800u 1 2024-04-09 18:15:18 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:18 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:18 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:18 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:18 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:18 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:18 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:18 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:18 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:18 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:19 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:19 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:19 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:19 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:19 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:19 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:19 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:19 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:19 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:19 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:19 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:19 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:19 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:19 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:19 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:19 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:19 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:19 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:19 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:19 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:19 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:20 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:20 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:20 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:20 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:20 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:20 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:20 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:20 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:20 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:20 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:20 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:20 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:20 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:20 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:20 grafana | logger=migrator t=2024-04-09T18:15:12.917937774Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" grafana | logger=migrator t=2024-04-09T18:15:12.919632592Z 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.693549ms grafana | logger=migrator t=2024-04-09T18:15:12.925447565Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2024-04-09T18:15:12.926909964Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.464819ms grafana | logger=migrator t=2024-04-09T18:15:12.933537064Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2024-04-09T18:15:12.940193066Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=6.650611ms grafana | logger=migrator t=2024-04-09T18:15:12.944808802Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2024-04-09T18:15:12.945994068Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.186386ms grafana | logger=migrator t=2024-04-09T18:15:12.95007399Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-04-09T18:15:12.951510457Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.439347ms grafana | logger=migrator t=2024-04-09T18:15:12.957127554Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2024-04-09T18:15:12.983560467Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=26.429342ms grafana | logger=migrator t=2024-04-09T18:15:12.990287954Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2024-04-09T18:15:13.016575245Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=26.253478ms grafana | logger=migrator t=2024-04-09T18:15:13.024693971Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2024-04-09T18:15:13.025863726Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.169245ms grafana | logger=migrator t=2024-04-09T18:15:13.030785603Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-04-09T18:15:13.032458809Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.673826ms grafana | logger=migrator t=2024-04-09T18:15:13.040115158Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2024-04-09T18:15:13.046680038Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=6.5626ms grafana | logger=migrator t=2024-04-09T18:15:13.052612407Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" grafana | logger=migrator t=2024-04-09T18:15:13.05895202Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=6.341682ms grafana | logger=migrator t=2024-04-09T18:15:13.064139519Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2024-04-09T18:15:13.065575205Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.435646ms grafana | logger=migrator t=2024-04-09T18:15:13.06909753Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2024-04-09T18:15:13.070321119Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.223859ms grafana | logger=migrator t=2024-04-09T18:15:13.073501966Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2024-04-09T18:15:13.074369866Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=868.84µs grafana | logger=migrator t=2024-04-09T18:15:13.079630451Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2024-04-09T18:15:13.081293515Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.662704ms grafana | logger=migrator t=2024-04-09T18:15:13.085340033Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2024-04-09T18:15:13.085468013Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=130.011µs grafana | logger=migrator t=2024-04-09T18:15:13.092528493Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2024-04-09T18:15:13.099157899Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=6.627206ms grafana | logger=migrator t=2024-04-09T18:15:13.135440212Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2024-04-09T18:15:13.14420632Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=8.764308ms grafana | logger=migrator t=2024-04-09T18:15:13.148808682Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2024-04-09T18:15:13.155313848Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.502365ms grafana | logger=migrator t=2024-04-09T18:15:13.159204942Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2024-04-09T18:15:13.160359176Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.152794ms grafana | logger=migrator t=2024-04-09T18:15:13.16487837Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" grafana | logger=migrator t=2024-04-09T18:15:13.166236001Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.35806ms grafana | logger=migrator t=2024-04-09T18:15:13.16981468Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2024-04-09T18:15:13.176671813Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.852554ms grafana | logger=migrator t=2024-04-09T18:15:13.182274516Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2024-04-09T18:15:13.188902362Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.628207ms grafana | logger=migrator t=2024-04-09T18:15:13.194802209Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:20 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:20 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:20 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:20 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:20 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:20 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:20 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:21 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:21 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:21 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:21 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:21 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:21 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:21 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:21 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:21 grafana | logger=migrator t=2024-04-09T18:15:13.196081012Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.279883ms grafana | logger=migrator t=2024-04-09T18:15:13.199499609Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2024-04-09T18:15:13.209762168Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=10.258028ms grafana | logger=migrator t=2024-04-09T18:15:13.213860099Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2024-04-09T18:15:13.218400936Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=4.538886ms grafana | logger=migrator t=2024-04-09T18:15:13.224129379Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2024-04-09T18:15:13.224263389Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=133.501µs grafana | logger=migrator t=2024-04-09T18:15:13.228953219Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2024-04-09T18:15:13.23106387Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=2.110341ms grafana | logger=migrator t=2024-04-09T18:15:13.235595756Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" grafana | logger=migrator t=2024-04-09T18:15:13.237412322Z 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.817936ms grafana | logger=migrator t=2024-04-09T18:15:13.242377564Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" grafana | logger=migrator t=2024-04-09T18:15:13.243771656Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" duration=1.395382ms grafana | logger=migrator t=2024-04-09T18:15:13.249158381Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-04-09T18:15:13.249354287Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=203.076µs grafana | logger=migrator t=2024-04-09T18:15:13.276725029Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2024-04-09T18:15:13.286454726Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=9.729837ms grafana | logger=migrator t=2024-04-09T18:15:13.334645941Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2024-04-09T18:15:13.344444282Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=9.799712ms grafana | logger=migrator t=2024-04-09T18:15:13.353239504Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2024-04-09T18:15:13.361137561Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=7.894948ms grafana | logger=migrator t=2024-04-09T18:15:13.371547763Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2024-04-09T18:15:13.382260679Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=10.709936ms grafana | logger=migrator t=2024-04-09T18:15:13.393307322Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2024-04-09T18:15:13.403975504Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=10.666352ms grafana | logger=migrator t=2024-04-09T18:15:13.415395347Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2024-04-09T18:15:13.415538788Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=146.692µs grafana | logger=migrator t=2024-04-09T18:15:13.424156655Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2024-04-09T18:15:13.425286196Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.132201ms grafana | logger=migrator t=2024-04-09T18:15:13.429816742Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2024-04-09T18:15:13.435804236Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=5.982943ms grafana | logger=migrator t=2024-04-09T18:15:13.439930249Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2024-04-09T18:15:13.440049979Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=123.099µs grafana | logger=migrator t=2024-04-09T18:15:13.444275211Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2024-04-09T18:15:13.450345471Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.06589ms grafana | logger=migrator t=2024-04-09T18:15:13.45416056Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2024-04-09T18:15:13.455221905Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.062345ms grafana | logger=migrator t=2024-04-09T18:15:13.520456627Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2024-04-09T18:15:13.529779301Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=9.325214ms grafana | logger=migrator t=2024-04-09T18:15:13.534343549Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2024-04-09T18:15:13.535238481Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=893.572µs grafana | logger=migrator t=2024-04-09T18:15:13.539725284Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2024-04-09T18:15:13.540693562Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=968.018µs grafana | logger=migrator t=2024-04-09T18:15:13.545378051Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2024-04-09T18:15:13.551713803Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.338082ms grafana | logger=migrator t=2024-04-09T18:15:13.55538352Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2024-04-09T18:15:13.556163983Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=797.614µs grafana | logger=migrator t=2024-04-09T18:15:13.561683579Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:21 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:21 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:21 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:21 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:21 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:21 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:21 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:21 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:21 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:21 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:21 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:22 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:22 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:22 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:22 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:22 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:22 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:22 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:22 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:22 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:22 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:22 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:22 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:22 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:22 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:22 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:22 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:22 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:22 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:23 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:23 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:23 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:23 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0904241815180800u 1 2024-04-09 18:15:23 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 0904241815180900u 1 2024-04-09 18:15:23 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 0904241815180900u 1 2024-04-09 18:15:23 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 0904241815180900u 1 2024-04-09 18:15:23 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 0904241815180900u 1 2024-04-09 18:15:23 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 0904241815180900u 1 2024-04-09 18:15:23 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 0904241815180900u 1 2024-04-09 18:15:23 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0904241815180900u 1 2024-04-09 18:15:23 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0904241815180900u 1 2024-04-09 18:15:23 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0904241815180900u 1 2024-04-09 18:15:23 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 0904241815180900u 1 2024-04-09 18:15:23 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 0904241815180900u 1 2024-04-09 18:15:23 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 0904241815180900u 1 2024-04-09 18:15:23 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 0904241815180900u 1 2024-04-09 18:15:24 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 0904241815181000u 1 2024-04-09 18:15:24 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 0904241815181000u 1 2024-04-09 18:15:24 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 0904241815181000u 1 2024-04-09 18:15:24 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 0904241815181000u 1 2024-04-09 18:15:24 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 0904241815181000u 1 2024-04-09 18:15:24 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 0904241815181000u 1 2024-04-09 18:15:24 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 0904241815181000u 1 2024-04-09 18:15:25 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 0904241815181000u 1 2024-04-09 18:15:25 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 0904241815181000u 1 2024-04-09 18:15:25 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 0904241815181100u 1 2024-04-09 18:15:25 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 0904241815181200u 1 2024-04-09 18:15:25 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 0904241815181200u 1 2024-04-09 18:15:25 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 0904241815181200u 1 2024-04-09 18:15:25 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 0904241815181200u 1 2024-04-09 18:15:25 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 0904241815181300u 1 2024-04-09 18:15:25 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 0904241815181300u 1 2024-04-09 18:15:25 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 0904241815181300u 1 2024-04-09 18:15:25 policy-db-migrator | policyadmin: OK @ 1300 grafana | logger=migrator t=2024-04-09T18:15:13.563192601Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.506891ms grafana | logger=migrator t=2024-04-09T18:15:13.568914233Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2024-04-09T18:15:13.57035887Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.445567ms grafana | logger=migrator t=2024-04-09T18:15:13.5749359Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2024-04-09T18:15:13.576071592Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.131591ms grafana | logger=migrator t=2024-04-09T18:15:13.580165103Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2024-04-09T18:15:13.58025121Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=86.857µs grafana | logger=migrator t=2024-04-09T18:15:13.584148765Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2024-04-09T18:15:13.585422877Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.273742ms grafana | logger=migrator t=2024-04-09T18:15:13.590180752Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2024-04-09T18:15:13.591314203Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.132181ms grafana | logger=migrator t=2024-04-09T18:15:13.598035767Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-04-09T18:15:13.598546048Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-04-09T18:15:13.603436264Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2024-04-09T18:15:13.604163872Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=728.229µs grafana | logger=migrator t=2024-04-09T18:15:13.609140205Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2024-04-09T18:15:13.610583011Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.442186ms grafana | logger=migrator t=2024-04-09T18:15:13.615335185Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2024-04-09T18:15:13.622261055Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.92628ms grafana | logger=migrator t=2024-04-09T18:15:13.626191052Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2024-04-09T18:15:13.627013689Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=819.306µs grafana | logger=migrator t=2024-04-09T18:15:13.630706498Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2024-04-09T18:15:13.631918385Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.211127ms grafana | logger=migrator t=2024-04-09T18:15:13.635509495Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2024-04-09T18:15:13.636394957Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=884.992µs grafana | logger=migrator t=2024-04-09T18:15:13.641064884Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2024-04-09T18:15:13.6422451Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.180546ms grafana | logger=migrator t=2024-04-09T18:15:13.645386124Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2024-04-09T18:15:13.6464512Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.061925ms grafana | logger=migrator t=2024-04-09T18:15:13.64954704Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2024-04-09T18:15:13.649612325Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=66.236µs grafana | logger=migrator t=2024-04-09T18:15:13.654165023Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2024-04-09T18:15:13.654280193Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=116.289µs grafana | logger=migrator t=2024-04-09T18:15:13.657617112Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2024-04-09T18:15:13.658017794Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=397.632µs grafana | logger=migrator t=2024-04-09T18:15:13.661111824Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2024-04-09T18:15:13.662238036Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.125422ms grafana | logger=migrator t=2024-04-09T18:15:13.664945065Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2024-04-09T18:15:13.665826866Z level=info msg="Migration successfully executed" id="create secrets table" duration=881.431µs grafana | logger=migrator t=2024-04-09T18:15:13.685601454Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2024-04-09T18:15:13.718849191Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=33.246077ms grafana | logger=migrator t=2024-04-09T18:15:13.72662962Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2024-04-09T18:15:13.737389449Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=10.754829ms grafana | logger=migrator t=2024-04-09T18:15:13.74136591Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2024-04-09T18:15:13.74148828Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=122.51µs grafana | logger=migrator t=2024-04-09T18:15:13.745541508Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2024-04-09T18:15:13.775740368Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=30.19622ms grafana | logger=migrator t=2024-04-09T18:15:13.779120052Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2024-04-09T18:15:13.805245323Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=26.124991ms grafana | logger=migrator t=2024-04-09T18:15:13.809361185Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2024-04-09T18:15:13.810133688Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=774.233µs grafana | logger=migrator t=2024-04-09T18:15:13.81473641Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2024-04-09T18:15:13.815925556Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.188846ms grafana | logger=migrator t=2024-04-09T18:15:13.820868825Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2024-04-09T18:15:13.821193912Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=325.127µs grafana | logger=migrator t=2024-04-09T18:15:13.824483458Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2024-04-09T18:15:13.8255069Z level=info msg="Migration successfully executed" id="create permission table" duration=1.022692ms grafana | logger=migrator t=2024-04-09T18:15:13.830333231Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2024-04-09T18:15:13.832243384Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.909864ms grafana | logger=migrator t=2024-04-09T18:15:13.835632089Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2024-04-09T18:15:13.83676187Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.129681ms grafana | logger=migrator t=2024-04-09T18:15:13.840115901Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2024-04-09T18:15:13.841035306Z level=info msg="Migration successfully executed" id="create role table" duration=918.925µs grafana | logger=migrator t=2024-04-09T18:15:13.845916119Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2024-04-09T18:15:13.853394124Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.477265ms grafana | logger=migrator t=2024-04-09T18:15:13.856849963Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2024-04-09T18:15:13.864007232Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.157759ms grafana | logger=migrator t=2024-04-09T18:15:13.867489333Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2024-04-09T18:15:13.86856331Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.073897ms grafana | logger=migrator t=2024-04-09T18:15:13.871765999Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2024-04-09T18:15:13.872992178Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.225929ms grafana | logger=migrator t=2024-04-09T18:15:13.877409285Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2024-04-09T18:15:13.878623773Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.214478ms grafana | logger=migrator t=2024-04-09T18:15:13.882287919Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2024-04-09T18:15:13.883711535Z level=info msg="Migration successfully executed" id="create team role table" duration=1.424575ms grafana | logger=migrator t=2024-04-09T18:15:13.887326286Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2024-04-09T18:15:13.889191647Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.865091ms grafana | logger=migrator t=2024-04-09T18:15:13.893799839Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2024-04-09T18:15:13.895006797Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.205388ms grafana | logger=migrator t=2024-04-09T18:15:13.898533292Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2024-04-09T18:15:13.90035332Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.819767ms grafana | logger=migrator t=2024-04-09T18:15:13.905343533Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2024-04-09T18:15:13.906895548Z level=info msg="Migration successfully executed" id="create user role table" duration=1.551075ms grafana | logger=migrator t=2024-04-09T18:15:13.911782193Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2024-04-09T18:15:13.913732171Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.949848ms grafana | logger=migrator t=2024-04-09T18:15:13.917827641Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2024-04-09T18:15:13.918941341Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.11347ms grafana | logger=migrator t=2024-04-09T18:15:13.924894813Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2024-04-09T18:15:13.926851081Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.955227ms grafana | logger=migrator t=2024-04-09T18:15:13.930603054Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2024-04-09T18:15:13.932156569Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.552815ms grafana | logger=migrator t=2024-04-09T18:15:13.935977779Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2024-04-09T18:15:13.9371052Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.12736ms grafana | logger=migrator t=2024-04-09T18:15:13.940511775Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2024-04-09T18:15:13.941696021Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.183947ms grafana | logger=migrator t=2024-04-09T18:15:13.946359197Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2024-04-09T18:15:13.954162718Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.803001ms grafana | logger=migrator t=2024-04-09T18:15:13.957961525Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2024-04-09T18:15:13.959059164Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.09765ms grafana | logger=migrator t=2024-04-09T18:15:13.962647724Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2024-04-09T18:15:13.963806627Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.158553ms grafana | logger=migrator t=2024-04-09T18:15:13.968440722Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2024-04-09T18:15:13.96954204Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.101408ms grafana | logger=migrator t=2024-04-09T18:15:13.973254641Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2024-04-09T18:15:13.97435448Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.099628ms grafana | logger=migrator t=2024-04-09T18:15:13.978089022Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2024-04-09T18:15:13.97892758Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=837.977µs grafana | logger=migrator t=2024-04-09T18:15:13.984636711Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2024-04-09T18:15:13.985819276Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.180965ms grafana | logger=migrator t=2024-04-09T18:15:13.989144205Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2024-04-09T18:15:13.999936437Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=10.793583ms grafana | logger=migrator t=2024-04-09T18:15:14.002935879Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2024-04-09T18:15:14.009453038Z level=info msg="Migration successfully executed" id="permission kind migration" duration=6.517509ms grafana | logger=migrator t=2024-04-09T18:15:14.013900077Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2024-04-09T18:15:14.02171924Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=7.817053ms grafana | logger=migrator t=2024-04-09T18:15:14.025503006Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2024-04-09T18:15:14.035459012Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=9.956876ms grafana | logger=migrator t=2024-04-09T18:15:14.039004779Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2024-04-09T18:15:14.03986815Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=863.191µs grafana | logger=migrator t=2024-04-09T18:15:14.044231602Z level=info msg="Executing migration" id="add permission action scope role_id index" grafana | logger=migrator t=2024-04-09T18:15:14.045112103Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=880.341µs grafana | logger=migrator t=2024-04-09T18:15:14.04864896Z level=info msg="Executing migration" id="remove permission role_id action scope index" grafana | logger=migrator t=2024-04-09T18:15:14.05050381Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.855109ms grafana | logger=migrator t=2024-04-09T18:15:14.054625504Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2024-04-09T18:15:14.056628746Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=2.015494ms grafana | logger=migrator t=2024-04-09T18:15:14.06113324Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2024-04-09T18:15:14.062309296Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.177296ms grafana | logger=migrator t=2024-04-09T18:15:14.065537317Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2024-04-09T18:15:14.065715811Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=178.534µs grafana | logger=migrator t=2024-04-09T18:15:14.069110216Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2024-04-09T18:15:14.069278019Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=168.653µs grafana | logger=migrator t=2024-04-09T18:15:14.073898134Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2024-04-09T18:15:14.074603121Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=706.647µs grafana | logger=migrator t=2024-04-09T18:15:14.078412048Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2024-04-09T18:15:14.079452343Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.042775ms grafana | logger=migrator t=2024-04-09T18:15:14.083203907Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2024-04-09T18:15:14.08447812Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.276724ms grafana | logger=migrator t=2024-04-09T18:15:14.088176959Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2024-04-09T18:15:14.088488534Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=311.185µs grafana | logger=migrator t=2024-04-09T18:15:14.092618958Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2024-04-09T18:15:14.093179224Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=561.776µs grafana | logger=migrator t=2024-04-09T18:15:14.096033495Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2024-04-09T18:15:14.097511445Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.476649ms grafana | logger=migrator t=2024-04-09T18:15:14.101183411Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2024-04-09T18:15:14.1027697Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.586949ms grafana | logger=migrator t=2024-04-09T18:15:14.10683635Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2024-04-09T18:15:14.115325927Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.491268ms grafana | logger=migrator t=2024-04-09T18:15:14.118789717Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2024-04-09T18:15:14.118971772Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=181.835µs grafana | logger=migrator t=2024-04-09T18:15:14.122717565Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2024-04-09T18:15:14.124006269Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.287975ms grafana | logger=migrator t=2024-04-09T18:15:14.130399887Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2024-04-09T18:15:14.13180077Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.399783ms grafana | logger=migrator t=2024-04-09T18:15:14.135245239Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2024-04-09T18:15:14.137030943Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.785654ms grafana | logger=migrator t=2024-04-09T18:15:14.140957421Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2024-04-09T18:15:14.14958542Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.627268ms grafana | logger=migrator t=2024-04-09T18:15:14.155671692Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2024-04-09T18:15:14.156478777Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=806.905µs grafana | logger=migrator t=2024-04-09T18:15:14.163522768Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2024-04-09T18:15:14.165253637Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.708148ms grafana | logger=migrator t=2024-04-09T18:15:14.169302135Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2024-04-09T18:15:14.19543837Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=26.137405ms grafana | logger=migrator t=2024-04-09T18:15:14.201079927Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2024-04-09T18:15:14.20247538Z level=info msg="Migration successfully executed" id="create correlation v2" duration=1.394743ms grafana | logger=migrator t=2024-04-09T18:15:14.207532249Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2024-04-09T18:15:14.208890479Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.35713ms grafana | logger=migrator t=2024-04-09T18:15:14.213666856Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2024-04-09T18:15:14.21569805Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=2.027703ms grafana | logger=migrator t=2024-04-09T18:15:14.222205657Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2024-04-09T18:15:14.224442607Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=2.23764ms grafana | logger=migrator t=2024-04-09T18:15:14.230961026Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2024-04-09T18:15:14.231553093Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=594.888µs grafana | logger=migrator t=2024-04-09T18:15:14.235887975Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2024-04-09T18:15:14.236912057Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.023952ms grafana | logger=migrator t=2024-04-09T18:15:14.24213602Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2024-04-09T18:15:14.251301082Z level=info msg="Migration successfully executed" id="add provisioning column" duration=9.164471ms grafana | logger=migrator t=2024-04-09T18:15:14.254951227Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2024-04-09T18:15:14.256067838Z level=info msg="Migration successfully executed" id="create entity_events table" duration=1.115851ms grafana | logger=migrator t=2024-04-09T18:15:14.260942143Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2024-04-09T18:15:14.262447354Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.505502ms grafana | logger=migrator t=2024-04-09T18:15:14.267108421Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-04-09T18:15:14.267673397Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-04-09T18:15:14.271811631Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-04-09T18:15:14.272358947Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-04-09T18:15:14.276370371Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2024-04-09T18:15:14.277291085Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=920.564µs grafana | logger=migrator t=2024-04-09T18:15:14.281898668Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2024-04-09T18:15:14.283045971Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.147013ms grafana | logger=migrator t=2024-04-09T18:15:14.287126942Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-04-09T18:15:14.288254202Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.127511ms grafana | logger=migrator t=2024-04-09T18:15:14.29488452Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-04-09T18:15:14.296155252Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.271273ms grafana | logger=migrator t=2024-04-09T18:15:14.299934418Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-04-09T18:15:14.300780567Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=846.37µs grafana | logger=migrator t=2024-04-09T18:15:14.305120137Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-04-09T18:15:14.306331666Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.211709ms grafana | logger=migrator t=2024-04-09T18:15:14.311291667Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2024-04-09T18:15:14.312913058Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.620882ms grafana | logger=migrator t=2024-04-09T18:15:14.317201096Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2024-04-09T18:15:14.319416394Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=2.216079ms grafana | logger=migrator t=2024-04-09T18:15:14.324865665Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-04-09T18:15:14.326094355Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.22887ms grafana | logger=migrator t=2024-04-09T18:15:14.329709688Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-04-09T18:15:14.331843501Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=2.133592ms grafana | logger=migrator t=2024-04-09T18:15:14.336517928Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2024-04-09T18:15:14.3381405Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.623932ms grafana | logger=migrator t=2024-04-09T18:15:14.344481883Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2024-04-09T18:15:14.370273531Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=25.786048ms grafana | logger=migrator t=2024-04-09T18:15:14.373974441Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2024-04-09T18:15:14.38311596Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=9.13617ms grafana | logger=migrator t=2024-04-09T18:15:14.387355854Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2024-04-09T18:15:14.403781082Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=16.415497ms grafana | logger=migrator t=2024-04-09T18:15:14.407669348Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2024-04-09T18:15:14.40794432Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=274.062µs grafana | logger=migrator t=2024-04-09T18:15:14.41166134Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2024-04-09T18:15:14.420956403Z level=info msg="Migration successfully executed" id="add share column" duration=9.294413ms grafana | logger=migrator t=2024-04-09T18:15:14.426394104Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2024-04-09T18:15:14.426833729Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=438.726µs grafana | logger=migrator t=2024-04-09T18:15:14.43018667Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2024-04-09T18:15:14.430956792Z level=info msg="Migration successfully executed" id="create file table" duration=770.002µs grafana | logger=migrator t=2024-04-09T18:15:14.434431213Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2024-04-09T18:15:14.43525216Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=821.057µs grafana | logger=migrator t=2024-04-09T18:15:14.440099192Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2024-04-09T18:15:14.441330672Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.23178ms grafana | logger=migrator t=2024-04-09T18:15:14.444331895Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2024-04-09T18:15:14.445328705Z level=info msg="Migration successfully executed" id="create file_meta table" duration=995.44µs grafana | logger=migrator t=2024-04-09T18:15:14.448677887Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2024-04-09T18:15:14.450606153Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.927915ms grafana | logger=migrator t=2024-04-09T18:15:14.504776948Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2024-04-09T18:15:14.505015577Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=242.45µs grafana | logger=migrator t=2024-04-09T18:15:14.510047323Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2024-04-09T18:15:14.510411624Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=369.26µs grafana | logger=migrator t=2024-04-09T18:15:14.516900398Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2024-04-09T18:15:14.51779082Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=893.162µs grafana | logger=migrator t=2024-04-09T18:15:14.524071848Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2024-04-09T18:15:14.524520935Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=452.047µs grafana | logger=migrator t=2024-04-09T18:15:14.533321008Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-04-09T18:15:14.535973162Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=2.656525ms grafana | logger=migrator t=2024-04-09T18:15:14.539537641Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-04-09T18:15:14.550127948Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=10.586687ms grafana | logger=migrator t=2024-04-09T18:15:14.554141772Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-04-09T18:15:14.554458808Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=313.605µs grafana | logger=migrator t=2024-04-09T18:15:14.557885866Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-04-09T18:15:14.55930447Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.418644ms grafana | logger=migrator t=2024-04-09T18:15:14.563546384Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-04-09T18:15:14.564065906Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=520.632µs grafana | logger=migrator t=2024-04-09T18:15:14.566999063Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-04-09T18:15:14.567303238Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=303.655µs grafana | logger=migrator t=2024-04-09T18:15:14.570113775Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-04-09T18:15:14.570712144Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=598.778µs grafana | logger=migrator t=2024-04-09T18:15:14.621034716Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-04-09T18:15:14.633586363Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=12.546036ms grafana | logger=migrator t=2024-04-09T18:15:14.638203536Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-04-09T18:15:14.645444692Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=7.238366ms grafana | logger=migrator t=2024-04-09T18:15:14.650562407Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2024-04-09T18:15:14.651975481Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.415604ms grafana | logger=migrator t=2024-04-09T18:15:14.656821593Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2024-04-09T18:15:14.733249089Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=76.422155ms grafana | logger=migrator t=2024-04-09T18:15:14.737595131Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-04-09T18:15:14.738874664Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.279173ms grafana | logger=migrator t=2024-04-09T18:15:14.743319584Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2024-04-09T18:15:14.745064175Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.74454ms grafana | logger=migrator t=2024-04-09T18:15:14.748769095Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-04-09T18:15:14.773258226Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=24.486661ms grafana | logger=migrator t=2024-04-09T18:15:14.777486479Z level=info msg="Executing migration" id="add origin column to seed_assignment" grafana | logger=migrator t=2024-04-09T18:15:14.784157999Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=6.67142ms grafana | logger=migrator t=2024-04-09T18:15:14.788435475Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" grafana | logger=migrator t=2024-04-09T18:15:14.788794804Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=356.299µs grafana | logger=migrator t=2024-04-09T18:15:14.792251784Z level=info msg="Executing migration" id="prevent seeding OnCall access" grafana | logger=migrator t=2024-04-09T18:15:14.792423898Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=172.584µs grafana | logger=migrator t=2024-04-09T18:15:14.796010569Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2024-04-09T18:15:14.796360677Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=354.27µs grafana | logger=migrator t=2024-04-09T18:15:14.800043325Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2024-04-09T18:15:14.800374952Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=331.946µs grafana | logger=migrator t=2024-04-09T18:15:14.805461583Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2024-04-09T18:15:14.805980705Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=523.742µs grafana | logger=migrator t=2024-04-09T18:15:14.811280014Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-04-09T18:15:14.813092461Z level=info msg="Migration successfully executed" id="create folder table" duration=1.812167ms grafana | logger=migrator t=2024-04-09T18:15:14.816672011Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2024-04-09T18:15:14.818658102Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.98456ms grafana | logger=migrator t=2024-04-09T18:15:14.824207801Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2024-04-09T18:15:14.825418018Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.209977ms grafana | logger=migrator t=2024-04-09T18:15:14.829213465Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-04-09T18:15:14.829242068Z level=info msg="Migration successfully executed" id="Update folder title length" duration=29.623µs grafana | logger=migrator t=2024-04-09T18:15:14.832760553Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-04-09T18:15:14.834856492Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=2.095389ms grafana | logger=migrator t=2024-04-09T18:15:14.839300692Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-04-09T18:15:14.840363648Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.062726ms grafana | logger=migrator t=2024-04-09T18:15:14.8437187Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-04-09T18:15:14.844870363Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.151023ms grafana | logger=migrator t=2024-04-09T18:15:14.848515728Z level=info msg="Executing migration" id="Sync dashboard and folder table" grafana | logger=migrator t=2024-04-09T18:15:14.848964314Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=448.757µs grafana | logger=migrator t=2024-04-09T18:15:14.852970619Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" grafana | logger=migrator t=2024-04-09T18:15:14.853246001Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=275.503µs grafana | logger=migrator t=2024-04-09T18:15:14.856855033Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" grafana | logger=migrator t=2024-04-09T18:15:14.857971324Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.122541ms grafana | logger=migrator t=2024-04-09T18:15:14.86138712Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" grafana | logger=migrator t=2024-04-09T18:15:14.863653173Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=2.265463ms grafana | logger=migrator t=2024-04-09T18:15:14.868081801Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" grafana | logger=migrator t=2024-04-09T18:15:14.869122156Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.040415ms grafana | logger=migrator t=2024-04-09T18:15:14.872334026Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" grafana | logger=migrator t=2024-04-09T18:15:14.873516551Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.179865ms grafana | logger=migrator t=2024-04-09T18:15:14.876849771Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" grafana | logger=migrator t=2024-04-09T18:15:14.877911667Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.062146ms grafana | logger=migrator t=2024-04-09T18:15:14.882084795Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-04-09T18:15:14.882976227Z level=info msg="Migration successfully executed" id="create anon_device table" duration=891.023µs grafana | logger=migrator t=2024-04-09T18:15:14.886778485Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-04-09T18:15:14.888266435Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.48789ms grafana | logger=migrator t=2024-04-09T18:15:14.893327105Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-04-09T18:15:14.894462217Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.134923ms grafana | logger=migrator t=2024-04-09T18:15:14.897614722Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-04-09T18:15:14.898658196Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.043144ms grafana | logger=migrator t=2024-04-09T18:15:14.90216391Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-04-09T18:15:14.903244468Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.082338ms grafana | logger=migrator t=2024-04-09T18:15:14.907263653Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-04-09T18:15:14.908393205Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.130242ms grafana | logger=migrator t=2024-04-09T18:15:14.911578792Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-04-09T18:15:14.911883677Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=305.615µs grafana | logger=migrator t=2024-04-09T18:15:14.915192204Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-04-09T18:15:14.924676442Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=9.483567ms grafana | logger=migrator t=2024-04-09T18:15:14.929305537Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-04-09T18:15:14.929808437Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=503.801µs grafana | logger=migrator t=2024-04-09T18:15:14.932734264Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-04-09T18:15:14.933773519Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.038874ms grafana | logger=migrator t=2024-04-09T18:15:14.936963857Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-04-09T18:15:14.938794734Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.829758ms grafana | logger=migrator t=2024-04-09T18:15:14.942894507Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-04-09T18:15:14.943963993Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=1.069747ms grafana | logger=migrator t=2024-04-09T18:15:14.947282151Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" grafana | logger=migrator t=2024-04-09T18:15:14.948489609Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=1.206798ms grafana | logger=migrator t=2024-04-09T18:15:14.951565348Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-04-09T18:15:14.952671987Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.106139ms grafana | logger=migrator t=2024-04-09T18:15:14.956885369Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-04-09T18:15:14.958000139Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.11404ms grafana | logger=migrator t=2024-04-09T18:15:14.963223912Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-04-09T18:15:14.963967072Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=743.81µs grafana | logger=migrator t=2024-04-09T18:15:14.967998368Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-04-09T18:15:14.96826778Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=270.032µs grafana | logger=migrator t=2024-04-09T18:15:14.973778146Z level=info msg="Executing migration" id="alter kv_store.value to longtext" grafana | logger=migrator t=2024-04-09T18:15:14.973958191Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=103.988µs grafana | logger=migrator t=2024-04-09T18:15:14.97877084Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" grafana | logger=migrator t=2024-04-09T18:15:14.991063945Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=12.292935ms grafana | logger=migrator t=2024-04-09T18:15:14.994505123Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" grafana | logger=migrator t=2024-04-09T18:15:15.004644455Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=10.138811ms grafana | logger=migrator t=2024-04-09T18:15:15.009059563Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" grafana | logger=migrator t=2024-04-09T18:15:15.009300173Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=240.69µs grafana | logger=migrator t=2024-04-09T18:15:15.01173665Z level=info msg="migrations completed" performed=548 skipped=0 duration=5.776439481s grafana | logger=sqlstore t=2024-04-09T18:15:15.023619463Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-04-09T18:15:15.0240767Z level=info msg="Created default organization" grafana | logger=secrets t=2024-04-09T18:15:15.028556524Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2024-04-09T18:15:15.048701476Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2024-04-09T18:15:15.088037035Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-04-09T18:15:15.088066777Z level=info msg="Plugins loaded" count=55 duration=39.366021ms grafana | logger=query_data t=2024-04-09T18:15:15.090504195Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-04-09T18:15:15.101777308Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2024-04-09T18:15:15.110445951Z level=info msg=Starting grafana | logger=ngalert.migration t=2024-04-09T18:15:15.110872325Z level=info msg="Applying transition" currentType=Legacy desiredType=UnifiedAlerting cleanOnDowngrade=false cleanOnUpgrade=false grafana | logger=ngalert.migration orgID=1 t=2024-04-09T18:15:15.111222444Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-04-09T18:15:15.111760837Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration t=2024-04-09T18:15:15.113195774Z level=info msg="Completed alerting migration" grafana | logger=ngalert.state.manager t=2024-04-09T18:15:15.142920223Z level=info msg="Running in alternative execution of Error/NoData mode" grafana | logger=infra.usagestats.collector t=2024-04-09T18:15:15.14523071Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-04-09T18:15:15.148078511Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-04-09T18:15:15.163600869Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-04-09T18:15:15.163626982Z level=info msg="finished to provision alerting" grafana | logger=ngalert.state.manager t=2024-04-09T18:15:15.163932216Z level=info msg="Warming state cache for startup" grafana | logger=provisioning.dashboard t=2024-04-09T18:15:15.166062419Z level=info msg="starting to provision dashboards" grafana | logger=http.server t=2024-04-09T18:15:15.16878586Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=grafanaStorageLogger t=2024-04-09T18:15:15.170389439Z level=info msg="Storage starting" grafana | logger=ngalert.multiorg.alertmanager t=2024-04-09T18:15:15.170427042Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=ngalert.state.manager t=2024-04-09T18:15:15.218465916Z level=info msg="State cache has been initialized" states=0 duration=54.53176ms grafana | logger=ngalert.scheduler t=2024-04-09T18:15:15.218507869Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 grafana | logger=ticker t=2024-04-09T18:15:15.218552613Z level=info msg=starting first_tick=2024-04-09T18:15:20Z grafana | logger=plugins.update.checker t=2024-04-09T18:15:15.255690874Z level=info msg="Update check succeeded" duration=86.255271ms grafana | logger=grafana.update.checker t=2024-04-09T18:15:15.257576196Z level=info msg="Update check succeeded" duration=88.358602ms grafana | logger=provisioning.dashboard t=2024-04-09T18:15:15.463142979Z level=info msg="finished to provision dashboards" grafana | logger=grafana-apiserver t=2024-04-09T18:15:15.783429229Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" grafana | logger=grafana-apiserver t=2024-04-09T18:15:15.7839264Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" grafana | logger=infra.usagestats t=2024-04-09T18:15:45.180936416Z level=info msg="Usage stats are ready to report" ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping prometheus ... Stopping mariadb ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing prometheus ... Removing mariadb ... Removing grafana ... done Removing policy-api ... done Removing policy-db-migrator ... done Removing mariadb ... done Removing prometheus ... done Removing network compose_default ++ cd /w/workspace/policy-api-montreal-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.CAXfo1vu0j ]] + rsync -av /tmp/tmp.CAXfo1vu0j/ /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,346,045 bytes received 95 bytes 2,692,280.00 bytes/sec total size is 1,345,395 speedup is 1.00 + rm -rf /w/workspace/policy-api-montreal-project-csit-api/models + exit 0 $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2107 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-montreal-project-csit-api] $ /bin/bash /tmp/jenkins7625544048965943319.sh ---> sysstat.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins10286523916741693134.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/policy-api-montreal-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-montreal-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-montreal-project-csit-api ']' + mkdir -p /w/workspace/policy-api-montreal-project-csit-api/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-montreal-project-csit-api/archives/ [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins5336599306631954258.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-MX4z from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-MX4z/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins1672062018355134518.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-montreal-project-csit-api@tmp/config4013417136831957967tmp 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-montreal-project-csit-api] $ /bin/bash /tmp/jenkins16098107929019622961.sh ---> create-netrc.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins11236311709059453545.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-MX4z from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-MX4z/bin to PATH [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins14779538498841496836.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins418580521230394726.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-MX4z 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-MX4z/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [policy-api-montreal-project-csit-api] $ /bin/bash -l /tmp/jenkins4968516214698245797.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-MX4z from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-MX4z/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-montreal-project-csit-api/150 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-21878 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 833 27332 0 4000 30877 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:e3:e1:bb brd ff:ff:ff:ff:ff:ff inet 10.30.106.251/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86006sec preferred_lft 86006sec inet6 fe80::f816:3eff:fee3:e1bb/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:90:30:0c:fd 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-21878) 04/09/24 _x86_64_ (8 CPU) 18:11:28 LINUX RESTART (8 CPU) 18:12:01 tps rtps wtps bread/s bwrtn/s 18:13:01 95.77 42.80 52.97 1901.50 12236.59 18:14:01 81.65 13.80 67.85 1132.27 15524.67 18:15:01 151.30 9.43 141.87 1659.18 54404.00 18:16:01 297.38 13.41 283.97 837.96 31049.99 18:17:01 7.75 0.02 7.73 1.73 7475.69 Average: 126.77 15.89 110.88 1106.57 24139.09 18:12:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:13:01 30160584 31663276 2778636 8.44 58408 1762108 1499636 4.41 919972 1582332 107372 18:14:01 29983384 31716236 2955836 8.97 79652 1955944 1404828 4.13 865732 1784948 117084 18:15:01 28050396 31675788 4888824 14.84 114660 3743736 1429300 4.21 992628 3480300 472048 18:16:01 27060304 30730756 5878916 17.85 129020 3765032 4077048 12.00 2016088 3409608 196 18:17:01 27071812 30770024 5867408 17.81 129272 3791860 3763660 11.07 1991672 3422348 26780 Average: 28465296 31311216 4473924 13.58 102202 3003736 2434894 7.16 1357218 2735907 144696 18:12:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:13:01 lo 1.00 1.00 0.11 0.11 0.00 0.00 0.00 0.00 18:13:01 ens3 178.74 122.16 1007.82 35.63 0.00 0.00 0.00 0.00 18:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:14:01 lo 1.33 1.33 0.14 0.14 0.00 0.00 0.00 0.00 18:14:01 ens3 36.62 28.55 427.51 6.17 0.00 0.00 0.00 0.00 18:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:15:01 lo 8.60 8.60 0.80 0.80 0.00 0.00 0.00 0.00 18:15:01 br-18732b517cfd 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:15:01 ens3 317.34 197.22 9859.17 16.24 0.00 0.00 0.00 0.00 18:16:01 veth7446997 131.39 159.94 114.62 38.96 0.00 0.00 0.00 0.01 18:16:01 veth1bd97db 124.86 105.43 41.06 113.92 0.00 0.00 0.00 0.01 18:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:16:01 veth1f68f20 0.17 0.47 0.02 0.45 0.00 0.00 0.00 0.00 18:17:01 veth7446997 0.17 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:17:01 veth1bd97db 1.27 1.33 0.83 0.09 0.00 0.00 0.00 0.00 18:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:01 veth99f57b1 0.97 0.77 0.32 0.07 0.00 0.00 0.00 0.00 Average: veth7446997 26.31 32.03 22.93 7.79 0.00 0.00 0.00 0.00 Average: veth1bd97db 25.22 21.35 8.38 22.80 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: veth99f57b1 0.19 0.15 0.06 0.01 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-21878) 04/09/24 _x86_64_ (8 CPU) 18:11:28 LINUX RESTART (8 CPU) 18:12:01 CPU %user %nice %system %iowait %steal %idle 18:13:01 all 8.07 0.00 0.67 5.59 0.03 85.64 18:13:01 0 11.58 0.00 0.92 0.58 0.03 86.89 18:13:01 1 6.64 0.00 0.48 0.40 0.02 92.46 18:13:01 2 0.90 0.00 0.52 7.89 0.02 90.68 18:13:01 3 4.09 0.00 0.40 0.65 0.02 94.84 18:13:01 4 4.33 0.00 0.50 1.45 0.03 93.68 18:13:01 5 11.26 0.00 0.58 1.22 0.02 86.92 18:13:01 6 13.91 0.00 1.17 2.02 0.03 82.86 18:13:01 7 11.89 0.00 0.77 30.58 0.03 56.72 18:14:01 all 8.61 0.00 0.55 4.40 0.02 86.42 18:14:01 0 2.75 0.00 0.27 0.03 0.02 96.93 18:14:01 1 4.76 0.00 0.74 13.41 0.02 81.08 18:14:01 2 3.16 0.00 0.22 3.56 0.02 93.04 18:14:01 3 0.85 0.00 0.12 0.48 0.02 98.53 18:14:01 4 19.45 0.00 0.60 3.69 0.05 76.20 18:14:01 5 12.57 0.00 0.57 0.68 0.03 86.14 18:14:01 6 9.75 0.00 0.62 0.12 0.02 89.50 18:14:01 7 15.55 0.00 1.27 13.25 0.03 69.90 18:15:01 all 9.90 0.00 2.80 4.78 0.05 82.47 18:15:01 0 7.06 0.00 2.59 0.15 0.05 90.15 18:15:01 1 6.87 0.00 3.43 30.92 0.08 58.70 18:15:01 2 7.13 0.00 1.71 0.15 0.03 90.98 18:15:01 3 8.01 0.00 3.38 0.37 0.03 88.21 18:15:01 4 25.05 0.00 3.04 3.38 0.08 68.45 18:15:01 5 13.24 0.00 2.87 0.69 0.05 83.15 18:15:01 6 7.11 0.00 3.22 0.15 0.05 89.47 18:15:01 7 4.83 0.00 2.16 2.57 0.03 90.41 18:16:01 all 15.81 0.00 2.19 4.05 0.06 77.88 18:16:01 0 21.55 0.00 2.83 1.36 0.07 74.20 18:16:01 1 11.76 0.00 1.84 8.55 0.07 77.78 18:16:01 2 12.35 0.00 1.47 2.06 0.07 84.05 18:16:01 3 18.86 0.00 2.53 2.60 0.07 75.95 18:16:01 4 19.25 0.00 2.83 1.02 0.07 76.84 18:16:01 5 15.90 0.00 2.41 6.09 0.07 75.54 18:16:01 6 12.11 0.00 1.74 5.34 0.07 80.74 18:16:01 7 14.76 0.00 1.93 5.42 0.07 77.82 18:17:01 all 0.74 0.00 0.23 0.64 0.01 98.38 18:17:01 0 1.00 0.00 0.15 0.03 0.02 98.80 18:17:01 1 0.63 0.00 0.25 0.17 0.00 98.95 18:17:01 2 1.12 0.00 0.25 0.07 0.02 98.55 18:17:01 3 0.42 0.00 0.13 0.13 0.03 99.28 18:17:01 4 0.32 0.00 0.22 0.00 0.02 99.45 18:17:01 5 0.65 0.00 0.22 0.03 0.02 99.08 18:17:01 6 0.58 0.00 0.27 0.15 0.03 98.97 18:17:01 7 1.18 0.00 0.30 4.54 0.00 93.98 Average: all 8.62 0.00 1.28 3.89 0.04 86.17 Average: 0 8.78 0.00 1.35 0.43 0.04 89.41 Average: 1 6.13 0.00 1.34 10.64 0.04 81.85 Average: 2 4.95 0.00 0.83 2.74 0.03 91.45 Average: 3 6.43 0.00 1.31 0.85 0.03 91.38 Average: 4 13.65 0.00 1.43 1.91 0.05 82.96 Average: 5 10.72 0.00 1.33 1.74 0.04 86.18 Average: 6 8.69 0.00 1.40 1.56 0.04 88.31 Average: 7 9.64 0.00 1.28 11.27 0.03 77.77