Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-35476 (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-uI9PNAgi31iN/agent.2154 SSH_AGENT_PID=2156 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_5581545672693834560.key (/w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_5581545672693834560.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/jenkins13069215632515014166.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-1FCV 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-1FCV/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-1FCV/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.3.0 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.92 botocore==1.34.92 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.36 idna==3.7 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.6.0 kubernetes==29.0.0 lftools==0.37.10 lxml==5.2.1 MarkupSafe==2.1.5 msgpack==1.0.8 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.2.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==3.1.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.1 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.35.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.26.0 wcwidth==0.2.13 websocket-client==1.8.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.4.2 [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/jenkins13599212787268215458.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/jenkins16433540676169150142.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.P7QFa5kj49 ++ echo ROBOT_VENV=/tmp/tmp.P7QFa5kj49 +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.P7QFa5kj49 ++ source /tmp/tmp.P7QFa5kj49/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.P7QFa5kj49 +++ 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.P7QFa5kj49/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.P7QFa5kj49) ' '!=' x ']' +++ PS1='(tmp.P7QFa5kj49) ' +++ 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.7 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==5.2.1 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.2 python-dateutil==2.9.0.post0 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.P7QFa5kj49/src/onap ++ rm -rf /tmp/tmp.P7QFa5kj49/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.7 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==5.2.1 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.2 python-dateutil==2.9.0.post0 PyYAML==6.0.1 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==0.6.0.dev105 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.P7QFa5kj49/bin/activate + '[' -z /tmp/tmp.P7QFa5kj49/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.P7QFa5kj49/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.P7QFa5kj49 ++ 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.P7QFa5kj49/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.P7QFa5kj49) ' ++ '[' 'x(tmp.P7QFa5kj49) ' '!=' x ']' ++ PS1='(tmp.P7QFa5kj49) (tmp.P7QFa5kj49) ' ++ 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.5AgpytCi1l + cd /tmp/tmp.5AgpytCi1l + 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:4f6c47e39a9064028766e8c95890ed15690c30f00c4ba14e7ce6ae1ded0295b1 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... latest: Pulling from grafana/grafana Digest: sha256:7d5faae481a4c6f436c99e98af11534f7fd5e8d3e35213552dd1dd02bc393d2e Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating prometheus ... Creating mariadb ... Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done Creating prometheus ... done Creating grafana ... Creating grafana ... 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 grafana Up 10 seconds policy-api Up 12 seconds mariadb Up 14 seconds prometheus Up 11 seconds NAMES STATUS grafana Up 15 seconds policy-api Up 17 seconds mariadb Up 19 seconds prometheus Up 16 seconds NAMES STATUS grafana Up 20 seconds policy-api Up 22 seconds mariadb Up 24 seconds prometheus Up 21 seconds NAMES STATUS grafana Up 25 seconds policy-api Up 27 seconds mariadb Up 29 seconds prometheus Up 26 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:14:59 up 3 min, 0 users, load average: 2.28, 0.93, 0.36 Tasks: 180 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.3 us, 2.0 sy, 0.0 ni, 83.9 id, 3.7 wa, 0.0 hi, 0.0 si, 0.1 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 grafana Up 25 seconds policy-api Up 27 seconds mariadb Up 29 seconds prometheus Up 26 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 87846a3b5f3d grafana 0.03% 55.82MiB / 31.41GiB 0.17% 18.4kB / 3.18kB 0B / 24.8MB 14 731a6dd8fcc5 policy-api 0.14% 516.3MiB / 31.41GiB 1.61% 999kB / 710kB 0B / 0B 53 344e794072be mariadb 0.01% 100.5MiB / 31.41GiB 0.31% 986kB / 1.18MB 11MB / 61.1MB 26 41f426278d68 prometheus 0.26% 18.79MiB / 31.41GiB 0.06% 920B / 158B 225kB / 0B 12 + echo + cd /tmp/tmp.5AgpytCi1l + 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.5AgpytCi1l/output.xml Log: /tmp/tmp.5AgpytCi1l/log.html Report: /tmp/tmp.5AgpytCi1l/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-montreal-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api Up About a minute mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 18:16:10 up 4 min, 0 users, load average: 0.96, 0.85, 0.38 Tasks: 178 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.8 us, 1.6 sy, 0.0 ni, 86.6 id, 3.0 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.7G 25G 1.0M 3.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 87846a3b5f3d grafana 0.04% 59.74MiB / 31.41GiB 0.19% 19.4kB / 4.37kB 0B / 24.8MB 14 731a6dd8fcc5 policy-api 0.10% 782.7MiB / 31.41GiB 2.43% 7.01MB / 2.55MB 0B / 0B 53 344e794072be mariadb 0.02% 101.5MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 11MB / 61.4MB 18 41f426278d68 prometheus 0.00% 24.71MiB / 31.41GiB 0.08% 55kB / 6.64kB 225kB / 0B 13 + 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 grafana, policy-api, policy-db-migrator, mariadb, prometheus grafana | logger=settings t=2024-04-26T18:14:34.057129819Z level=info msg="Starting Grafana" version=10.4.2 commit=701c851be7a930e04fbc6ebb1cd4254da80edd4c branch=v10.4.x compiled=2024-04-26T18:14:34Z grafana | logger=settings t=2024-04-26T18:14:34.057358568Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-04-26T18:14:34.057365509Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-04-26T18:14:34.057369569Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-04-26T18:14:34.057372869Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-04-26T18:14:34.057376289Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-04-26T18:14:34.057380109Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-04-26T18:14:34.057384119Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-04-26T18:14:34.0573885Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-04-26T18:14:34.05739349Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-04-26T18:14:34.05739722Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-04-26T18:14:34.05740084Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-04-26T18:14:34.0574049Z level=info msg=Target target=[all] grafana | logger=settings t=2024-04-26T18:14:34.05741121Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-04-26T18:14:34.057415341Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-04-26T18:14:34.057419291Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-04-26T18:14:34.057424081Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-04-26T18:14:34.057428271Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-04-26T18:14:34.057432171Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-04-26T18:14:34.057725053Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-04-26T18:14:34.057744203Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-04-26T18:14:34.058395649Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-04-26T18:14:34.059261983Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-04-26T18:14:34.060064754Z level=info msg="Migration successfully executed" id="create migration_log table" duration=802.211µs grafana | logger=migrator t=2024-04-26T18:14:34.165327277Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-04-26T18:14:34.16592165Z level=info msg="Migration successfully executed" id="create user table" duration=593.623µs grafana | logger=migrator t=2024-04-26T18:14:34.170770329Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-04-26T18:14:34.17130139Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=531.041µs grafana | logger=migrator t=2024-04-26T18:14:34.177887737Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-04-26T18:14:34.178399497Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=511.729µs grafana | logger=migrator t=2024-04-26T18:14:34.183206054Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-04-26T18:14:34.184172052Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=966.238µs grafana | logger=migrator t=2024-04-26T18:14:34.18901787Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-04-26T18:14:34.189474838Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=456.878µs grafana | logger=migrator t=2024-04-26T18:14:34.195004374Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-04-26T18:14:34.197040943Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.033939ms grafana | logger=migrator t=2024-04-26T18:14:34.201406573Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-04-26T18:14:34.202003027Z level=info msg="Migration successfully executed" id="create user table v2" duration=596.074µs grafana | logger=migrator t=2024-04-26T18:14:34.204864708Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-04-26T18:14:34.205377858Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=512.96µs grafana | logger=migrator t=2024-04-26T18:14:34.208658346Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-04-26T18:14:34.209165626Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=507.71µs grafana | logger=migrator t=2024-04-26T18:14:34.214483103Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-04-26T18:14:34.214758244Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=274.801µs grafana | logger=migrator t=2024-04-26T18:14:34.221483336Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-04-26T18:14:34.221828559Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=346.343µs grafana | logger=migrator t=2024-04-26T18:14:34.2287786Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-04-26T18:14:34.229576681Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=797.961µs grafana | logger=migrator t=2024-04-26T18:14:34.236351376Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-04-26T18:14:34.236371116Z level=info msg="Migration successfully executed" id="Update user table charset" duration=20.081µs grafana | logger=migrator t=2024-04-26T18:14:34.241242456Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-04-26T18:14:34.242000686Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=758.38µs grafana | logger=migrator t=2024-04-26T18:14:34.246006882Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-04-26T18:14:34.246395677Z level=info msg="Migration successfully executed" id="Add missing user data" duration=388.785µs grafana | logger=migrator t=2024-04-26T18:14:34.251730715Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-04-26T18:14:34.252579678Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=848.703µs grafana | logger=migrator t=2024-04-26T18:14:34.257016761Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-04-26T18:14:34.257615374Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=597.573µs grafana | logger=migrator t=2024-04-26T18:14:34.26186975Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-04-26T18:14:34.262842488Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=970.758µs grafana | logger=migrator t=2024-04-26T18:14:34.265792953Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-04-26T18:14:34.271488965Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=5.695362ms grafana | logger=migrator t=2024-04-26T18:14:34.275955089Z level=info msg="Executing migration" id="Add uid column to user" grafana | logger=migrator t=2024-04-26T18:14:34.276822813Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=867.054µs grafana | logger=migrator t=2024-04-26T18:14:34.282773285Z level=info msg="Executing migration" id="Update uid column values for users" grafana | logger=migrator t=2024-04-26T18:14:34.282998144Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=224.269µs grafana | logger=migrator t=2024-04-26T18:14:34.288406775Z level=info msg="Executing migration" id="Add unique index user_uid" grafana | logger=migrator t=2024-04-26T18:14:34.289773368Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=1.366774ms grafana | logger=migrator t=2024-04-26T18:14:34.293321166Z 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-26T18:14:34.293902819Z level=info msg="Migration successfully executed" id="update login field with orgid to allow for multiple service accounts with same name across orgs" duration=580.813µs grafana | logger=migrator t=2024-04-26T18:14:34.298340672Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-04-26T18:14:34.299482776Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.143174ms grafana | logger=migrator t=2024-04-26T18:14:34.304330235Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-04-26T18:14:34.305262352Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=931.987µs grafana | logger=migrator t=2024-04-26T18:14:34.311334118Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-04-26T18:14:34.311958433Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=624.135µs grafana | logger=migrator t=2024-04-26T18:14:34.314760282Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-04-26T18:14:34.315406067Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=645.795µs grafana | logger=migrator t=2024-04-26T18:14:34.319986066Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-04-26T18:14:34.32062306Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=636.884µs grafana | logger=migrator t=2024-04-26T18:14:34.323781544Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-04-26T18:14:34.323885538Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=104.305µs grafana | logger=migrator t=2024-04-26T18:14:34.327511959Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-04-26T18:14:34.328148274Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=635.845µs grafana | logger=migrator t=2024-04-26T18:14:34.333239772Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-04-26T18:14:34.333827185Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=588.223µs grafana | logger=migrator t=2024-04-26T18:14:34.338086081Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-04-26T18:14:34.338637853Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=550.322µs grafana | logger=migrator t=2024-04-26T18:14:34.342006624Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-04-26T18:14:34.342583106Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=576.232µs grafana | logger=migrator t=2024-04-26T18:14:34.348131083Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-04-26T18:14:34.353038434Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=4.906871ms grafana | logger=migrator t=2024-04-26T18:14:34.357848481Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-04-26T18:14:34.359954734Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=2.109862ms grafana | logger=migrator t=2024-04-26T18:14:34.365160436Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-04-26T18:14:34.366752819Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=1.594832ms grafana | logger=migrator t=2024-04-26T18:14:34.370402321Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-04-26T18:14:34.371802335Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.399584ms grafana | logger=migrator t=2024-04-26T18:14:34.377852741Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-04-26T18:14:34.378744776Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=891.845µs grafana | logger=migrator t=2024-04-26T18:14:34.382010693Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-04-26T18:14:34.383410458Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.399075ms grafana | logger=migrator t=2024-04-26T18:14:34.387151254Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-04-26T18:14:34.387898343Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=746.569µs grafana | logger=migrator t=2024-04-26T18:14:34.393240731Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-04-26T18:14:34.393791403Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=550.951µs grafana | logger=migrator t=2024-04-26T18:14:34.396604802Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-04-26T18:14:34.397026119Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=421.527µs grafana | logger=migrator t=2024-04-26T18:14:34.400070017Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-04-26T18:14:34.401077917Z level=info msg="Migration successfully executed" id="create star table" duration=1.007659ms grafana | logger=migrator t=2024-04-26T18:14:34.406270769Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-04-26T18:14:34.40759268Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.317471ms grafana | logger=migrator t=2024-04-26T18:14:34.410775525Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-04-26T18:14:34.412040644Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.26483ms grafana | logger=migrator t=2024-04-26T18:14:34.415546931Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-04-26T18:14:34.417256607Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.709337ms grafana | logger=migrator t=2024-04-26T18:14:34.420762804Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-04-26T18:14:34.421814255Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.051131ms grafana | logger=migrator t=2024-04-26T18:14:34.428653161Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-04-26T18:14:34.429543136Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=889.965µs grafana | logger=migrator t=2024-04-26T18:14:34.434572172Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-04-26T18:14:34.435867083Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.29421ms grafana | logger=migrator t=2024-04-26T18:14:34.441222491Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-04-26T18:14:34.442522952Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.299701ms grafana | logger=migrator t=2024-04-26T18:14:34.447726895Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-04-26T18:14:34.447753486Z level=info msg="Migration successfully executed" id="Update org table charset" duration=27.011µs grafana | logger=migrator t=2024-04-26T18:14:34.453838113Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-04-26T18:14:34.453866874Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=29.391µs grafana | logger=migrator t=2024-04-26T18:14:34.464258089Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-04-26T18:14:34.464895054Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=636.285µs grafana | logger=migrator t=2024-04-26T18:14:34.475376603Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-04-26T18:14:34.476719435Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.345042ms grafana | logger=migrator t=2024-04-26T18:14:34.485881002Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-04-26T18:14:34.487837158Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.954946ms grafana | logger=migrator t=2024-04-26T18:14:34.49738262Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-04-26T18:14:34.498262025Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=878.805µs grafana | logger=migrator t=2024-04-26T18:14:34.506656922Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-04-26T18:14:34.507853879Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.196256ms grafana | logger=migrator t=2024-04-26T18:14:34.517536766Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-04-26T18:14:34.518600838Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.063141ms grafana | logger=migrator t=2024-04-26T18:14:34.528840397Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-04-26T18:14:34.530685279Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.843971ms grafana | logger=migrator t=2024-04-26T18:14:34.539352206Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-04-26T18:14:34.545509706Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=6.15693ms grafana | logger=migrator t=2024-04-26T18:14:34.554552609Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-04-26T18:14:34.556047607Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=1.493818ms grafana | logger=migrator t=2024-04-26T18:14:34.565745735Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-04-26T18:14:34.567275245Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.52732ms grafana | logger=migrator t=2024-04-26T18:14:34.572178186Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-04-26T18:14:34.573795769Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.617223ms grafana | logger=migrator t=2024-04-26T18:14:34.582813311Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-04-26T18:14:34.583278219Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=462.979µs grafana | logger=migrator t=2024-04-26T18:14:34.592139314Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-04-26T18:14:34.593413754Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.27426ms grafana | logger=migrator t=2024-04-26T18:14:34.601553831Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-04-26T18:14:34.601620654Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=70.783µs grafana | logger=migrator t=2024-04-26T18:14:34.608596796Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-04-26T18:14:34.612157374Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=3.560119ms grafana | logger=migrator t=2024-04-26T18:14:34.619292843Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" mariadb | 2024-04-26 18:14:29+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-04-26 18:14:29+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-04-26 18:14:29+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-04-26 18:14:30+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-04-26 18:14:30 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-26 18:14:30 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-04-26 18:14:30 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-26 18:14:31+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-04-26 18:14:31+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-04-26 18:14:31+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-04-26 18:14:31 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 96 ... mariadb | 2024-04-26 18:14:31 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-04-26 18:14:31 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-04-26 18:14:31 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-04-26 18:14:31 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-04-26 18:14:31 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-26 18:14:31 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-04-26 18:14:31 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-04-26 18:14:31 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-04-26 18:14:31 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-04-26 18:14:31 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-04-26 18:14:31 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-04-26 18:14:31 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-04-26 18:14:31 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-04-26 18:14:31 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-04-26 18:14:31 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-04-26 18:14:31 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-04-26 18:14:31 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-04-26 18:14:31 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-26 18:14:32+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-04-26 18:14:34+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-04-26 18:14:34+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2024-04-26 18:14:34+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2024-04-26 18:14:34+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2024-04-26 18:14:35+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-04-26 18:14:35 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-04-26 18:14:35 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-04-26 18:14:35 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-04-26 18:14:35 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-04-26 18:14:35 0 [Note] InnoDB: Buffer pool(s) dump completed at 240426 18:14:35 mariadb | 2024-04-26 18:14:35 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-04-26 18:14:35 0 [Note] InnoDB: Shutdown completed; log sequence number 347186; transaction id 298 mariadb | 2024-04-26 18:14:35 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-04-26 18:14:35+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-04-26 18:14:35+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-04-26 18:14:35 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-04-26 18:14:35 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-04-26 18:14:35 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-04-26 18:14:35 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-04-26 18:14:35 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-04-26 18:14:35 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-26 18:14:35 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-04-26 18:14:35 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-04-26 18:14:35 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-04-26 18:14:35 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-04-26 18:14:35 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-04-26 18:14:35 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-04-26 18:14:35 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-04-26 18:14:35 0 [Note] InnoDB: log sequence number 347186; transaction id 299 mariadb | 2024-04-26 18:14:35 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-04-26 18:14:35 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-04-26 18:14:35 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-04-26 18:14:35 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-04-26 18:14:35 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-04-26 18:14:35 0 [Note] Server socket created on IP: '::'. mariadb | 2024-04-26 18:14:35 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-26 18:14:35 0 [Note] InnoDB: Buffer pool(s) load completed at 240426 18:14:35 mariadb | 2024-04-26 18:14:36 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) mariadb | 2024-04-26 18:14:36 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) grafana | logger=migrator t=2024-04-26T18:14:34.621738878Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.445546ms grafana | logger=migrator t=2024-04-26T18:14:34.659300212Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-04-26T18:14:34.664281756Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=4.975714ms grafana | logger=migrator t=2024-04-26T18:14:34.67336985Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-04-26T18:14:34.674685262Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.314782ms grafana | logger=migrator t=2024-04-26T18:14:34.680707096Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-04-26T18:14:34.683854179Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=3.150163ms grafana | logger=migrator t=2024-04-26T18:14:34.691180975Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2024-04-26T18:14:34.692043958Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=862.733µs grafana | logger=migrator t=2024-04-26T18:14:34.695122898Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-04-26T18:14:34.695904469Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=781.361µs grafana | logger=migrator t=2024-04-26T18:14:34.69926208Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-04-26T18:14:34.699288981Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=27.511µs grafana | logger=migrator t=2024-04-26T18:14:34.706578385Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-04-26T18:14:34.706621697Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=44.522µs grafana | logger=migrator t=2024-04-26T18:14:34.712825608Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-04-26T18:14:34.71645968Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.632322ms grafana | logger=migrator t=2024-04-26T18:14:34.725571805Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-04-26T18:14:34.727462799Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.890664ms grafana | logger=migrator t=2024-04-26T18:14:34.737623185Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-04-26T18:14:34.739633213Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.009528ms grafana | logger=migrator t=2024-04-26T18:14:34.744070216Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-04-26T18:14:34.747684637Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=3.613931ms grafana | logger=migrator t=2024-04-26T18:14:34.752957963Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-04-26T18:14:34.753237534Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=279.451µs grafana | logger=migrator t=2024-04-26T18:14:34.757432977Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-04-26T18:14:34.758391475Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=959.747µs grafana | logger=migrator t=2024-04-26T18:14:34.76622699Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-04-26T18:14:34.767405496Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.177106ms grafana | logger=migrator t=2024-04-26T18:14:34.778322612Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-04-26T18:14:34.778367243Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=47.512µs grafana | logger=migrator t=2024-04-26T18:14:34.785559234Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-04-26T18:14:34.786381346Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=821.902µs grafana | logger=migrator t=2024-04-26T18:14:34.793307476Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-04-26T18:14:34.794611576Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.306151ms grafana | logger=migrator t=2024-04-26T18:14:34.799635562Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-04-26T18:14:34.807313232Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=7.679219ms grafana | logger=migrator t=2024-04-26T18:14:34.812424261Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-04-26T18:14:34.813192721Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=768.8µs grafana | logger=migrator t=2024-04-26T18:14:34.819199595Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-04-26T18:14:34.820076259Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=877.224µs grafana | logger=migrator t=2024-04-26T18:14:34.826059982Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-04-26T18:14:34.827362203Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.302631ms grafana | logger=migrator t=2024-04-26T18:14:34.832966962Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-04-26T18:14:34.833533064Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=566.122µs grafana | logger=migrator t=2024-04-26T18:14:34.838585761Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-04-26T18:14:34.839579639Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=993.859µs grafana | logger=migrator t=2024-04-26T18:14:34.846467538Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-04-26T18:14:34.850064288Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.59916ms grafana | logger=migrator t=2024-04-26T18:14:34.8537173Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-04-26T18:14:34.854660947Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=944.947µs grafana | logger=migrator t=2024-04-26T18:14:34.861456202Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-04-26T18:14:34.861626919Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=172.407µs grafana | logger=migrator t=2024-04-26T18:14:34.864784122Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-04-26T18:14:34.865072463Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=288.431µs grafana | logger=migrator t=2024-04-26T18:14:34.87216608Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-04-26T18:14:34.873479111Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.312562ms grafana | logger=migrator t=2024-04-26T18:14:34.879926032Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-04-26T18:14:34.883386487Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.459215ms grafana | logger=migrator t=2024-04-26T18:14:34.888226556Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2024-04-26T18:14:34.889539227Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.312152ms grafana | logger=migrator t=2024-04-26T18:14:34.896060731Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-04-26T18:14:34.897795979Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.734677ms grafana | logger=migrator t=2024-04-26T18:14:34.905235899Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-04-26T18:14:34.906089242Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=852.823µs grafana | logger=migrator t=2024-04-26T18:14:34.913175038Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-04-26T18:14:34.913878215Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=702.857µs grafana | logger=migrator t=2024-04-26T18:14:34.917957664Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-04-26T18:14:34.918682443Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=724.399µs grafana | logger=migrator t=2024-04-26T18:14:34.928540817Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-04-26T18:14:34.934659766Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=6.118578ms grafana | logger=migrator t=2024-04-26T18:14:34.942031913Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-04-26T18:14:34.94299109Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=958.757µs grafana | logger=migrator t=2024-04-26T18:14:34.947680633Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-04-26T18:14:34.948915111Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.233538ms grafana | logger=migrator t=2024-04-26T18:14:34.957142942Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-04-26T18:14:34.958568217Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.424225ms grafana | logger=migrator t=2024-04-26T18:14:34.965428255Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-04-26T18:14:34.966231996Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=803.271µs grafana | logger=migrator t=2024-04-26T18:14:34.972954448Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-04-26T18:14:34.976732105Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.780017ms grafana | logger=migrator t=2024-04-26T18:14:34.983276861Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-04-26T18:14:34.98556593Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.288489ms grafana | logger=migrator t=2024-04-26T18:14:34.990502142Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-04-26T18:14:34.990545434Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=44.462µs grafana | logger=migrator t=2024-04-26T18:14:34.995411694Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-04-26T18:14:34.995701795Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=290.252µs grafana | logger=migrator t=2024-04-26T18:14:35.002618352Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-04-26T18:14:35.006999638Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=4.380176ms grafana | logger=migrator t=2024-04-26T18:14:35.014617058Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-04-26T18:14:35.014842967Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=225.789µs grafana | logger=migrator t=2024-04-26T18:14:35.027262973Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-04-26T18:14:35.027590015Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=325.772µs grafana | logger=migrator t=2024-04-26T18:14:35.032677242Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-04-26T18:14:35.03672018Z level=info msg="Migration successfully executed" id="Add uid column" duration=4.041858ms grafana | logger=migrator t=2024-04-26T18:14:35.041898541Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-04-26T18:14:35.042488712Z level=info msg="Migration successfully executed" id="Update uid value" duration=589.412µs grafana | logger=migrator t=2024-04-26T18:14:35.047437094Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-04-26T18:14:35.048751402Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.313518ms grafana | logger=migrator t=2024-04-26T18:14:35.057031216Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-04-26T18:14:35.058290032Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.258306ms grafana | logger=migrator t=2024-04-26T18:14:35.067053444Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-04-26T18:14:35.068434195Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.37241ms grafana | logger=migrator t=2024-04-26T18:14:35.074107243Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-04-26T18:14:35.074911953Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=804.37µs policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.3:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.4:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v3.1.4) policy-api | policy-api | [2024-04-26T18:14:44.911+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-26T18:14:44.913+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-04-26T18:14:46.526+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-04-26T18:14:46.611+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 76 ms. Found 6 JPA repository interfaces. policy-api | [2024-04-26T18:14:46.997+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler policy-api | [2024-04-26T18:14:46.998+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler policy-api | [2024-04-26T18:14:47.654+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-04-26T18:14:47.663+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-04-26T18:14:47.664+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-04-26T18:14:47.664+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] policy-api | [2024-04-26T18:14:47.751+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-04-26T18:14:47.751+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2774 ms policy-api | [2024-04-26T18:14:48.138+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-04-26T18:14:48.211+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-api | [2024-04-26T18:14:48.214+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-api | [2024-04-26T18:14:48.256+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-api | [2024-04-26T18:14:48.596+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-api | [2024-04-26T18:14:48.615+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-04-26T18:14:48.712+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@2620e717 policy-api | [2024-04-26T18:14:48.714+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-04-26T18:14:48.737+00:00|WARN|deprecation|main] HHH90000025: MariaDB103Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) policy-api | [2024-04-26T18:14:48.738+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead policy-api | [2024-04-26T18:14:50.448+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-api | [2024-04-26T18:14:50.452+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-04-26T18:14:51.737+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-04-26T18:14:52.469+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-04-26T18:14:53.489+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2024-04-26T18:14:53.678+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@2f84848e, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@607c7f58, org.springframework.security.web.context.SecurityContextHolderFilter@7b3d759f, org.springframework.security.web.header.HeaderWriterFilter@15200332, org.springframework.security.web.authentication.logout.LogoutFilter@25e7e6d, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@4c66b3d9, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@62c4ad40, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@9bc10bd, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@4bbb00a4, org.springframework.security.web.access.ExceptionTranslationFilter@4529b266, org.springframework.security.web.access.intercept.AuthorizationFilter@3413effc] policy-api | [2024-04-26T18:14:54.512+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-04-26T18:14:54.566+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-04-26T18:14:54.598+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-04-26T18:14:54.617+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.401 seconds (process running for 10.983) policy-api | [2024-04-26T18:15:02.342+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-04-26T18:15:02.343+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2024-04-26T18:15:02.344+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-api | [2024-04-26T18:15:05.133+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2024-04-26T18:15:05.243+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes policy-api | [2024-04-26T18:15:05.510+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2024-04-26T18:15:06.736+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policies policy-api | [2024-04-26T18:15:08.753+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-04-26T18:15:09.040+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-04-26T18:15:09.260+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2024-04-26T18:15:09.482+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-04-26T18:15:09.699+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2024-04-26T18:15:09.914+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 prometheus | ts=2024-04-26T18:14:32.854Z 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-26T18:14:32.854Z caller=main.go:617 level=info msg="Starting Prometheus Server" mode=server version="(version=2.51.2, branch=HEAD, revision=b4c0ab52c3e9b940ab803581ddae9b3d9a452337)" prometheus | ts=2024-04-26T18:14:32.854Z caller=main.go:622 level=info build_context="(go=go1.22.2, platform=linux/amd64, user=root@b63f02a423d9, date=20240410-14:05:54, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2024-04-26T18:14:32.854Z 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-26T18:14:32.854Z caller=main.go:624 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2024-04-26T18:14:32.854Z caller=main.go:625 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2024-04-26T18:14:32.856Z caller=web.go:568 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-04-26T18:14:32.857Z caller=main.go:1129 level=info msg="Starting TSDB ..." prometheus | ts=2024-04-26T18:14:32.860Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-04-26T18:14:32.860Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2024-04-26T18:14:32.863Z caller=head.go:616 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-04-26T18:14:32.863Z caller=head.go:698 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.31µs prometheus | ts=2024-04-26T18:14:32.863Z caller=head.go:706 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-04-26T18:14:32.864Z caller=head.go:778 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2024-04-26T18:14:32.864Z caller=head.go:815 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=28.951µs wal_replay_duration=418.327µs wbl_replay_duration=400ns total_replay_duration=475.959µs prometheus | ts=2024-04-26T18:14:32.867Z caller=main.go:1150 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2024-04-26T18:14:32.867Z caller=main.go:1153 level=info msg="TSDB started" prometheus | ts=2024-04-26T18:14:32.867Z caller=main.go:1335 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2024-04-26T18:14:32.868Z caller=main.go:1372 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=998.299µs db_storage=1.36µs remote_storage=2.84µs web_handler=410ns query_engine=1.1µs scrape=310.192µs scrape_sd=116.365µs notify=30.461µs notify_sd=10.28µs rules=3.101µs tracing=5.34µs prometheus | ts=2024-04-26T18:14:32.868Z caller=main.go:1114 level=info msg="Server is ready to receive web requests." prometheus | ts=2024-04-26T18:14:32.868Z caller=manager.go:163 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2024-04-26T18:14:35.07784049Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-04-26T18:14:35.078592238Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=751.248µs grafana | logger=migrator t=2024-04-26T18:14:35.087613299Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-04-26T18:14:35.088843274Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.227805ms grafana | logger=migrator t=2024-04-26T18:14:35.095308551Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-04-26T18:14:35.096066829Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=758.498µs grafana | logger=migrator t=2024-04-26T18:14:35.101282821Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-04-26T18:14:35.102029758Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=754.988µs grafana | logger=migrator t=2024-04-26T18:14:35.106922688Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-04-26T18:14:35.107631534Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=708.806µs grafana | logger=migrator t=2024-04-26T18:14:35.113171067Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-04-26T18:14:35.119976637Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=6.80501ms grafana | logger=migrator t=2024-04-26T18:14:35.127575746Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-04-26T18:14:35.128569503Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=992.277µs grafana | logger=migrator t=2024-04-26T18:14:35.135827339Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-04-26T18:14:35.136747653Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=921.024µs grafana | logger=migrator t=2024-04-26T18:14:35.142232414Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-04-26T18:14:35.143073155Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=840.071µs grafana | logger=migrator t=2024-04-26T18:14:35.147775588Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-04-26T18:14:35.149089206Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.312758ms grafana | logger=migrator t=2024-04-26T18:14:35.157155172Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-04-26T18:14:35.157938021Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=789.099µs grafana | logger=migrator t=2024-04-26T18:14:35.164202161Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-04-26T18:14:35.164798703Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=596.042µs grafana | logger=migrator t=2024-04-26T18:14:35.172474645Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-04-26T18:14:35.172512576Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=39.441µs grafana | logger=migrator t=2024-04-26T18:14:35.177926175Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-04-26T18:14:35.182179951Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.251516ms grafana | logger=migrator t=2024-04-26T18:14:35.191240874Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-04-26T18:14:35.193914872Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.673388ms grafana | logger=migrator t=2024-04-26T18:14:35.197308036Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-04-26T18:14:35.197466872Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=154.476µs grafana | logger=migrator t=2024-04-26T18:14:35.202437035Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-04-26T18:14:35.204853053Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.413238ms grafana | logger=migrator t=2024-04-26T18:14:35.207953967Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-04-26T18:14:35.211246798Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=3.292181ms grafana | logger=migrator t=2024-04-26T18:14:35.214379833Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-04-26T18:14:35.215223044Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=837.901µs grafana | logger=migrator t=2024-04-26T18:14:35.219502931Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-04-26T18:14:35.220081393Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=578.071µs grafana | logger=migrator t=2024-04-26T18:14:35.223856821Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-04-26T18:14:35.224709492Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=852.371µs grafana | logger=migrator t=2024-04-26T18:14:35.229969036Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-04-26T18:14:35.231265783Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.296598ms grafana | logger=migrator t=2024-04-26T18:14:35.235353723Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-04-26T18:14:35.237040975Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.686012ms grafana | logger=migrator t=2024-04-26T18:14:35.240967279Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-04-26T18:14:35.24262189Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.653881ms grafana | logger=migrator t=2024-04-26T18:14:35.247377235Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-04-26T18:14:35.247444197Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=66.752µs grafana | logger=migrator t=2024-04-26T18:14:35.25078833Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-04-26T18:14:35.250812831Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=25.301µs policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb (172.17.0.3) 3306 port [tcp/mysql] succeeded! policy-db-migrator | 321 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Preparing upgrade release version: 1300 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 policy-db-migrator | upgrade: 0 -> 1300 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.254430554Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.259096235Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.673222ms policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql grafana | logger=migrator t=2024-04-26T18:14:35.316318396Z level=info msg="Executing migration" id="Add encrypted dashboard json column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.320753089Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=4.433313ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) grafana | logger=migrator t=2024-04-26T18:14:35.325623438Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.32568832Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=65.193µs policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.329587833Z level=info msg="Executing migration" id="create quota table v1" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.330417224Z level=info msg="Migration successfully executed" id="create quota table v1" duration=828.22µs policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql grafana | logger=migrator t=2024-04-26T18:14:35.334470022Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.335720908Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.250476ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) grafana | logger=migrator t=2024-04-26T18:14:35.340425311Z level=info msg="Executing migration" id="Update quota table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.340451942Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=27.281µs policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.344006432Z level=info msg="Executing migration" id="create plugin_setting table" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.34476413Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=755.968µs policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql grafana | logger=migrator t=2024-04-26T18:14:35.348876771Z 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-26T18:14:35.350533052Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.655111ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-26T18:14:35.356782672Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.359668657Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.885876ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.364070489Z level=info msg="Executing migration" id="Update plugin_setting table charset" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.36409471Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=25.001µs policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql grafana | logger=migrator t=2024-04-26T18:14:35.367524546Z level=info msg="Executing migration" id="create session table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.368369637Z level=info msg="Migration successfully executed" id="create session table" duration=844.621µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) grafana | logger=migrator t=2024-04-26T18:14:35.372200808Z level=info msg="Executing migration" id="Drop old table playlist table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.37227417Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=73.722µs policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.376790376Z level=info msg="Executing migration" id="Drop old table playlist_item table" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.376984133Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=179.587µs policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql grafana | logger=migrator t=2024-04-26T18:14:35.380940228Z level=info msg="Executing migration" id="create playlist table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.382390222Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.494235ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-26T18:14:35.386267534Z level=info msg="Executing migration" id="create playlist item table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.387599663Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.325659ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.395566185Z level=info msg="Executing migration" id="Update playlist table charset" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.395590666Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=25.421µs policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql grafana | logger=migrator t=2024-04-26T18:14:35.411587674Z level=info msg="Executing migration" id="Update playlist_item table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.411675507Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=92.594µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-26T18:14:35.422222514Z level=info msg="Executing migration" id="Add playlist column created_at" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.426856454Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.63465ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.438502162Z level=info msg="Executing migration" id="Add playlist column updated_at" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.443825037Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=5.323305ms policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql grafana | logger=migrator t=2024-04-26T18:14:35.450058186Z level=info msg="Executing migration" id="drop preferences table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.450179151Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=120.805µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-26T18:14:35.460702867Z level=info msg="Executing migration" id="drop preferences table v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.460843262Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=141.025µs policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.470020769Z level=info msg="Executing migration" id="create preferences table v3" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.471268715Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.247676ms policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql grafana | logger=migrator t=2024-04-26T18:14:35.485165645Z level=info msg="Executing migration" id="Update preferences table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.485237628Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=72.283µs 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-26T18:14:35.530764689Z level=info msg="Executing migration" id="Add column team_id in preferences" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.534022839Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.25678ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.538442331Z level=info msg="Executing migration" id="Update team_id column values in preferences" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.538632528Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=188.387µs policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql grafana | logger=migrator t=2024-04-26T18:14:35.542817712Z level=info msg="Executing migration" id="Add column week_start in preferences" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.547914879Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=5.095427ms 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-26T18:14:35.553621458Z level=info msg="Executing migration" id="Add column preferences.json_data" policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.556836547Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.212448ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.561362393Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql grafana | logger=migrator t=2024-04-26T18:14:35.561451666Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=89.113µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.564704885Z level=info msg="Executing migration" id="Add preferences index org_id" 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-26T18:14:35.565864278Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.159363ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.571883379Z level=info msg="Executing migration" id="Add preferences index user_id" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.573387554Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.504785ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.577683782Z level=info msg="Executing migration" id="create alert table v1" policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-04-26T18:14:35.57899257Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.307578ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.58280848Z level=info msg="Executing migration" id="add index alert org_id & id " 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-26T18:14:35.583813927Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.005467ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.588408046Z level=info msg="Executing migration" id="add index alert state" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.589279188Z level=info msg="Migration successfully executed" id="add index alert state" duration=870.812µs policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.593289765Z level=info msg="Executing migration" id="add index alert dashboard_id" policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql grafana | logger=migrator t=2024-04-26T18:14:35.594189408Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=902.663µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.597658425Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-26T18:14:35.598401623Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=742.758µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.602759373Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.604008498Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.247325ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.607722015Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql grafana | logger=migrator t=2024-04-26T18:14:35.609096965Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.37459ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.613812068Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-26T18:14:35.623561246Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=9.746648ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.628781518Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.629595298Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=813.29µs policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.683714045Z 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" policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql grafana | logger=migrator t=2024-04-26T18:14:35.685257312Z 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.544226ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.689232147Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-26T18:14:35.689671534Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=447.046µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.694404047Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.695002899Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=586.982µs policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.698728796Z level=info msg="Executing migration" id="create alert_notification table v1" policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql grafana | logger=migrator t=2024-04-26T18:14:35.699845837Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.114461ms grafana | logger=migrator t=2024-04-26T18:14:35.704877292Z level=info msg="Executing migration" id="Add column is_default" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.710905343Z level=info msg="Migration successfully executed" id="Add column is_default" duration=6.032611ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-26T18:14:35.718675468Z level=info msg="Executing migration" id="Add column frequency" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.724872546Z level=info msg="Migration successfully executed" id="Add column frequency" duration=6.198988ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.728974477Z level=info msg="Executing migration" id="Add column send_reminder" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.731656115Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=2.683679ms policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql grafana | logger=migrator t=2024-04-26T18:14:35.73724795Z level=info msg="Executing migration" id="Add column disable_resolve_message" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.740962397Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.714077ms 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-26T18:14:35.749642765Z level=info msg="Executing migration" id="add index alert_notification org_id & name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.750531008Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=886.843µs policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.755452149Z level=info msg="Executing migration" id="Update alert table charset" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.7554917Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=40.871µs policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-04-26T18:14:35.761722159Z level=info msg="Executing migration" id="Update alert_notification table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.761770001Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=49.052µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-04-26T18:14:35.767820083Z level=info msg="Executing migration" id="create notification_journal table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.768962435Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.142342ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.776664908Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.778153232Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.488345ms policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-26T18:14:35.787793156Z level=info msg="Executing migration" id="drop alert_notification_journal" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.788920648Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.126581ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.795395435Z level=info msg="Executing migration" id="create alert_notification_state table v1" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.796647881Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.252536ms policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql grafana | logger=migrator t=2024-04-26T18:14:35.800670339Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.802144113Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.473374ms 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-26T18:14:35.806802214Z level=info msg="Executing migration" id="Add for to alert table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.811456185Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=4.650991ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.818176372Z level=info msg="Executing migration" id="Add column uid in alert_notification" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.822550112Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=4.37352ms policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-04-26T18:14:35.830793065Z level=info msg="Executing migration" id="Update uid column values in alert_notification" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.831075115Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=283.63µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-04-26T18:14:35.838389074Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.840179049Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.788495ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.846512142Z level=info msg="Executing migration" id="Remove unique index org_id_name" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.847943735Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.430992ms policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-04-26T18:14:35.85625568Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.860471425Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=4.214494ms 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-26T18:14:35.865550951Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.865678976Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=127.835µs policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.870363908Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.8717933Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.429152ms policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql grafana | logger=migrator t=2024-04-26T18:14:35.875228216Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.876176561Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=947.725µs 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-26T18:14:35.879719631Z level=info msg="Executing migration" id="Drop old annotation table v4" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.879807904Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=87.703µs policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.88431509Z level=info msg="Executing migration" id="create annotation table v5" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.885884628Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.570937ms policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql grafana | logger=migrator t=2024-04-26T18:14:35.889822572Z level=info msg="Executing migration" id="add index annotation 0 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.891147731Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.322749ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-26T18:14:35.897753163Z level=info msg="Executing migration" id="add index annotation 1 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.899232838Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.483165ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.903709332Z level=info msg="Executing migration" id="add index annotation 2 v3" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.904559153Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=849.311µs policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql grafana | logger=migrator t=2024-04-26T18:14:35.907961788Z level=info msg="Executing migration" id="add index annotation 3 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.908966695Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.004447ms 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-26T18:14:35.912495475Z level=info msg="Executing migration" id="add index annotation 4 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.913556514Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.060598ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.917899713Z level=info msg="Executing migration" id="Update annotation table charset" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.917926364Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=27.341µs policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql grafana | logger=migrator t=2024-04-26T18:14:35.92161812Z level=info msg="Executing migration" id="Add column region_id to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.92570876Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.089711ms 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-26T18:14:35.929050852Z level=info msg="Executing migration" id="Drop category_id index" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.929917884Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=869.522µs policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.96984289Z level=info msg="Executing migration" id="Add column tags to annotation table" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.976169512Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=6.331642ms policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql grafana | logger=migrator t=2024-04-26T18:14:35.980048765Z level=info msg="Executing migration" id="Create annotation_tag table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.980786552Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=737.337µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-26T18:14:35.984598282Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:35.985573928Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=974.986µs policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.990135725Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:35.991454384Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.317958ms policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql grafana | logger=migrator t=2024-04-26T18:14:35.995216342Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.006673159Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=11.453257ms 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-26T18:14:36.010209416Z level=info msg="Executing migration" id="Create annotation_tag table v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.010946634Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=737.389µs policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.015556443Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.016605314Z 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.048861ms policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql grafana | logger=migrator t=2024-04-26T18:14:36.020473674Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.020809257Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=335.103µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-26T18:14:36.024975048Z level=info msg="Executing migration" id="drop table annotation_tag_v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.025912674Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=936.596µs policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.030633717Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.030978141Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=344.093µs policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql grafana | logger=migrator t=2024-04-26T18:14:36.034599391Z level=info msg="Executing migration" id="Add created time to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.041092432Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.491281ms 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-26T18:14:36.044959042Z level=info msg="Executing migration" id="Add updated time to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.049061381Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.101399ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.054387337Z level=info msg="Executing migration" id="Add index for created in annotation table" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.055344255Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=956.297µs policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql grafana | logger=migrator t=2024-04-26T18:14:36.05934606Z level=info msg="Executing migration" id="Add index for updated in annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.060855718Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.509559ms 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-26T18:14:36.064950607Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.065356832Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=406.235µs policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.069801565Z level=info msg="Executing migration" id="Add epoch_end column" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.0738206Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.018345ms policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2024-04-26T18:14:36.077348107Z level=info msg="Executing migration" id="Add index for epoch_end" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.078250592Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=899.015µs 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-26T18:14:36.081959226Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.082155793Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=196.617µs policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.085786274Z level=info msg="Executing migration" id="Move region to single row" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.086432329Z level=info msg="Migration successfully executed" id="Move region to single row" duration=645.805µs policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2024-04-26T18:14:36.091297577Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.09264714Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.346112ms 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-26T18:14:36.096426116Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.097799949Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.373003ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.102661078Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.103556032Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=894.484µs policy-db-migrator | > upgrade 0460-pdppolicystatus.sql grafana | logger=migrator t=2024-04-26T18:14:36.107316968Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.108209673Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=892.295µs 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-26T18:14:36.111636025Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.112454987Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=817.152µs policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.11691382Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.117774043Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=859.863µs policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2024-04-26T18:14:36.121404494Z level=info msg="Executing migration" id="Increase tags column to length 4096" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.121479857Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=75.543µs 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-26T18:14:36.125031874Z level=info msg="Executing migration" id="create test_data table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.125858696Z level=info msg="Migration successfully executed" id="create test_data table" duration=826.562µs policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.132633099Z level=info msg="Executing migration" id="create dashboard_version table v1" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.133932999Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.29934ms policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2024-04-26T18:14:36.137658614Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.13911815Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.459717ms policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.142942468Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.144416365Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.473217ms policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2024-04-26T18:14:36.149125658Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.149314755Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=189.177µs grafana | logger=migrator t=2024-04-26T18:14:36.152600902Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2024-04-26T18:14:36.152951966Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=349.424µ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-26T18:14:36.156259484Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.156365788Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=103.104µs policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.161099032Z level=info msg="Executing migration" id="create team table" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.162393292Z level=info msg="Migration successfully executed" id="create team table" duration=1.29256ms policy-db-migrator | > upgrade 0500-pdpsubgroup.sql grafana | logger=migrator t=2024-04-26T18:14:36.166973929Z level=info msg="Executing migration" id="add index team.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.167949267Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=976.658µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-04-26T18:14:36.172457372Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.173827435Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.367653ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.17758434Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.183665176Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=6.080456ms policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql grafana | logger=migrator t=2024-04-26T18:14:36.187778755Z level=info msg="Executing migration" id="Update uid column values in team" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.187979323Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=200.208µs 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-26T18:14:36.190405877Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.191399836Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=993.158µs policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.194626011Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.195441502Z level=info msg="Migration successfully executed" id="create team member table" duration=814.912µs policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql grafana | logger=migrator t=2024-04-26T18:14:36.199877064Z level=info msg="Executing migration" id="add index team_member.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.200792109Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=914.665µ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-26T18:14:36.204112328Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.205114057Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.001059ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.208063841Z level=info msg="Executing migration" id="add index team_member.team_id" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.209037539Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=972.428µs policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql grafana | logger=migrator t=2024-04-26T18:14:36.212277364Z level=info msg="Executing migration" id="Add column email to team table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.216842301Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.564677ms 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-26T18:14:36.221091426Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.225627382Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.534175ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.228763653Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.23331831Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.554116ms policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql grafana | logger=migrator t=2024-04-26T18:14:36.236585386Z level=info msg="Executing migration" id="create dashboard acl table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.237567084Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=981.138µs 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-26T18:14:36.242453353Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.243934941Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.481218ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.247678886Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.249372282Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.692455ms policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql grafana | logger=migrator t=2024-04-26T18:14:36.255982078Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.256956815Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=974.087µs 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-26T18:14:36.260389808Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.261939588Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.54983ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.265724345Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.267228973Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.503118ms policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql grafana | logger=migrator t=2024-04-26T18:14:36.272081881Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.273061629Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=978.918µs 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-26T18:14:36.276387168Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.277427558Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.04009ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.280934124Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.281751196Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=818.092µs policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) grafana | logger=migrator t=2024-04-26T18:14:36.286722809Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.286975148Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=252.01µs policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.290446203Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.291163511Z level=info msg="Migration successfully executed" id="create tag table" duration=716.477µs policy-db-migrator | > upgrade 0580-toscadatatypes.sql grafana | logger=migrator t=2024-04-26T18:14:36.296509228Z level=info msg="Executing migration" id="add index tag.key_value" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.298135991Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.626343ms 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-26T18:14:36.301835464Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.302993159Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.156795ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.30663401Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.307568196Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=933.786µs policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql grafana | logger=migrator t=2024-04-26T18:14:36.312204336Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.313824458Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.619572ms 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-26T18:14:36.31772289Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.333851364Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=16.127685ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.33708853Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.337677033Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=588.522µs policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=migrator t=2024-04-26T18:14:36.341879375Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.343386124Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.506349ms 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-26T18:14:36.347295805Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.347814305Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=518.1µs policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.351051291Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.351680405Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=629.124µs policy-db-migrator | > upgrade 0610-toscanodetemplates.sql grafana | logger=migrator t=2024-04-26T18:14:36.355851127Z level=info msg="Executing migration" id="create user auth table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.356594895Z level=info msg="Migration successfully executed" id="create user auth table" duration=743.668µs 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-26T18:14:36.359960296Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.361466284Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.505318ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.365152907Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.365289602Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=137.085µs policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql grafana | logger=migrator t=2024-04-26T18:14:36.369767136Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.374745929Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=4.978343ms 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-26T18:14:36.378344638Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.38329553Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=4.952012ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.38664982Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.391601282Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=4.950872ms policy-db-migrator | > upgrade 0630-toscanodetype.sql grafana | logger=migrator t=2024-04-26T18:14:36.396439339Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.401458064Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.016984ms 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-26T18:14:36.405899916Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.406924705Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.024549ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.411144289Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.419308645Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=8.163826ms policy-db-migrator | > upgrade 0640-toscanodetypes.sql grafana | logger=migrator t=2024-04-26T18:14:36.422893404Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.423503478Z level=info msg="Migration successfully executed" id="create server_lock table" duration=609.764µs 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-26T18:14:36.427749852Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.428450699Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=700.587µs policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.431994897Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.433511575Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.516079ms policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2024-04-26T18:14:36.440037488Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.441678892Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.642914ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-04-26T18:14:36.445612134Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.447136743Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.523889ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.451110527Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.452180689Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.069492ms policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.456629421Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2024-04-26T18:14:36.465505845Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=8.874404ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-04-26T18:14:36.469452568Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.470171396Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=717.057µs policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.473446572Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.474977132Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.52994ms policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2024-04-26T18:14:36.479735186Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.481414071Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.678095ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) grafana | logger=migrator t=2024-04-26T18:14:36.485528941Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.486437756Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=906.285µs policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.489829407Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.490872428Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.042391ms policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2024-04-26T18:14:36.495125462Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.495205495Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=80.223µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-04-26T18:14:36.498538695Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.498646249Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=107.854µs policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.502082722Z level=info msg="Executing migration" id="recreate alert_definition table" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.503475776Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.394294ms policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2024-04-26T18:14:36.506915539Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.508435908Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.519799ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) grafana | logger=migrator t=2024-04-26T18:14:36.512641821Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.51363953Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=997.009µs policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.517070463Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.517134335Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=64.343µs policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2024-04-26T18:14:36.520570328Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.522122698Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.55199ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) grafana | logger=migrator t=2024-04-26T18:14:36.526498908Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.527391072Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=892.064µs policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.530645978Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.531627347Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=980.608µs policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2024-04-26T18:14:36.535006547Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.536071679Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.063122ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) grafana | logger=migrator t=2024-04-26T18:14:36.54048605Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.54616529Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.67865ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.549314002Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.550282309Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=967.677µs policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2024-04-26T18:14:36.554348107Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.554457641Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=109.094µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-04-26T18:14:36.558029419Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.55907312Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.042701ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.562268854Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.564059053Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.78695ms policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2024-04-26T18:14:36.568473484Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.570323056Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.848821ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-04-26T18:14:36.5737935Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.573883904Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=90.763µs policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.61174425Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.613338892Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.595532ms policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2024-04-26T18:14:36.618935109Z level=info msg="Executing migration" id="create alert_instance table" 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 | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.620088714Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.153585ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.624022626Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.625113368Z 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.090472ms policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2024-04-26T18:14:36.630936384Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.632011356Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.074581ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) grafana | logger=migrator t=2024-04-26T18:14:36.636142576Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.6463183Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=10.175145ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.649888378Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.650628207Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=739.809µs policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2024-04-26T18:14:36.654998366Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.656014745Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.015629ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-04-26T18:14:36.659565483Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.684082163Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=24.51644ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.687576358Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.711141121Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=23.564283ms policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2024-04-26T18:14:36.715720519Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.716479978Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=760.28µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) grafana | logger=migrator t=2024-04-26T18:14:36.719710033Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.720771314Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.059621ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.726551378Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.733287199Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=6.736161ms policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2024-04-26T18:14:36.737630217Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.743278666Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=5.645359ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) grafana | logger=migrator t=2024-04-26T18:14:36.746771662Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.747874794Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.102333ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.751423362Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.752515254Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.089692ms policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2024-04-26T18:14:36.757282569Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.758378941Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.093532ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-04-26T18:14:36.762296913Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.763468918Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.170155ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.767078048Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.767169192Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=91.254µs policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2024-04-26T18:14:36.771549091Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.782533527Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=10.983836ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) grafana | logger=migrator t=2024-04-26T18:14:36.788436006Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.79421684Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=5.796434ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.798197524Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.804180406Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.982772ms policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2024-04-26T18:14:36.808855287Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.809846634Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=991.047µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-04-26T18:14:36.814103959Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.81515689Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.051981ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.818558772Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.824565554Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.006322ms grafana | logger=migrator t=2024-04-26T18:14:36.829211194Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2024-04-26T18:14:36.835227497Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.015973ms 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 | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.83890539Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.83992793Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.022079ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.846457893Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-04-26T18:14:36.852797628Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=6.338956ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.857192628Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2024-04-26T18:14:36.863262324Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=6.069075ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.87092342Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.871051705Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=130.225µs policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.878120209Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-04-26T18:14:36.879868597Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.747898ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.884567759Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-04-26T18:14:36.885681142Z 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.113023ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.889150626Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.891085911Z 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.933825ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.895064156Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-04-26T18:14:36.895228422Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=162.597µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.899498087Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-04-26T18:14:36.905703208Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.204741ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.909217654Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.915249568Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.031354ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.918699661Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-04-26T18:14:36.924809178Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.108437ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.928145747Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2024-04-26T18:14:36.934289035Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.142598ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.939486367Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.945554332Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.067395ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.948803248Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-04-26T18:14:36.948892441Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=88.014µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.953381975Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2024-04-26T18:14:36.954160165Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=778.08µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.958639639Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.968606045Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=9.964647ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.972410072Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-04-26T18:14:36.972481295Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=71.283µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.975799343Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2024-04-26T18:14:36.984397737Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=8.593943ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:36.98912467Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.989851578Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=725.398µs policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:36.993735658Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-04-26T18:14:37.00307159Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=9.327261ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:37.006536434Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2024-04-26T18:14:37.007370116Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=833.342µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:37.011518737Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:37.012600059Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.080852ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:37.015692119Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-04-26T18:14:37.02242992Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.737431ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:37.025677736Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2024-04-26T18:14:37.026258368Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=579.672µs policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:37.03224788Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:37.032980659Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=737.419µs policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-04-26T18:14:37.036239245Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:37.037101608Z level=info msg="Migration successfully executed" id="create alert_image table" duration=862.203µs policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2024-04-26T18:14:37.040522511Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:37.041630314Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.107353ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:37.04617048Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:37.046236352Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=65.962µs policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-04-26T18:14:37.049680996Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:37.050673744Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=993.598µs policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2024-04-26T18:14:37.054275184Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:37.055154748Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=879.334µs policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:37.058678774Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:37.059149132Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2024-04-26T18:14:37.063140067Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:37.063591415Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=451.228µs policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2024-04-26T18:14:37.067908552Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:37.068948092Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.03881ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:37.072300132Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:37.079124366Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.823594ms policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-04-26T18:14:37.084183862Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:37.085274355Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.090253ms policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2024-04-26T18:14:37.090162264Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:37.091238216Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.075742ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:37.094473551Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:37.095276972Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=803.011µs policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-04-26T18:14:37.099332319Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:37.1003788Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.044331ms policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-04-26T18:14:37.103969629Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:37.105123124Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.150454ms grafana | logger=migrator t=2024-04-26T18:14:37.108566727Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:37.108591758Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=25.741µs policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:37.113313431Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-04-26T18:14:37.113408135Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=92.943µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:37.120297051Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-04-26T18:14:37.120610004Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=313.493µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:37.125365498Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:37.126356666Z level=info msg="Migration successfully executed" id="create data_keys table" duration=991.068µs policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:37.130629112Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-04-26T18:14:37.131488445Z level=info msg="Migration successfully executed" id="create secrets table" duration=859.293µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:37.135661447Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-04-26T18:14:37.16568026Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=30.017863ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:37.169282269Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:37.174383447Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.101198ms policy-db-migrator | grafana | logger=migrator t=2024-04-26T18:14:37.178478165Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-04-26T18:14:37.178640202Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=161.867µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:37.182645937Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-04-26T18:14:37.215373735Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=32.726948ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-26T18:14:37.276379208Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdp.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE jpapdpstatistics_enginestats a policy-db-migrator | JOIN pdpstatistics b policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp policy-db-migrator | SET a.id = b.id policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql policy-db-migrator | -------------- 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 | -------------- 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 | -------------- grafana | logger=migrator t=2024-04-26T18:14:37.311831362Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=35.452714ms grafana | logger=migrator t=2024-04-26T18:14:37.317069315Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2024-04-26T18:14:37.31773258Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=663.265µs grafana | logger=migrator t=2024-04-26T18:14:37.321978865Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2024-04-26T18:14:37.323639149Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.659414ms grafana | logger=migrator t=2024-04-26T18:14:37.329276228Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2024-04-26T18:14:37.32958622Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=310.122µs grafana | logger=migrator t=2024-04-26T18:14:37.33320305Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2024-04-26T18:14:37.334631105Z level=info msg="Migration successfully executed" id="create permission table" duration=1.428005ms grafana | logger=migrator t=2024-04-26T18:14:37.339510834Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2024-04-26T18:14:37.340489242Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=977.788µs grafana | logger=migrator t=2024-04-26T18:14:37.34715679Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2024-04-26T18:14:37.348998632Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.840802ms grafana | logger=migrator t=2024-04-26T18:14:37.353268237Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2024-04-26T18:14:37.354807067Z level=info msg="Migration successfully executed" id="create role table" duration=1.54ms grafana | logger=migrator t=2024-04-26T18:14:37.358547592Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2024-04-26T18:14:37.36624388Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.693908ms grafana | logger=migrator t=2024-04-26T18:14:37.371336047Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2024-04-26T18:14:37.378857738Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.521341ms grafana | logger=migrator t=2024-04-26T18:14:37.383702236Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2024-04-26T18:14:37.384672574Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=968.358µs grafana | logger=migrator t=2024-04-26T18:14:37.389531982Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2024-04-26T18:14:37.390594943Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.063041ms grafana | logger=migrator t=2024-04-26T18:14:37.395047916Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2024-04-26T18:14:37.396121287Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.068301ms grafana | logger=migrator t=2024-04-26T18:14:37.399723917Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2024-04-26T18:14:37.400770307Z level=info msg="Migration successfully executed" id="create team role table" duration=1.045ms grafana | logger=migrator t=2024-04-26T18:14:37.405914677Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2024-04-26T18:14:37.407692376Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.777368ms grafana | logger=migrator t=2024-04-26T18:14:37.412308564Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2024-04-26T18:14:37.413451529Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.143005ms grafana | logger=migrator t=2024-04-26T18:14:37.419107318Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2024-04-26T18:14:37.420830045Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.721706ms grafana | logger=migrator t=2024-04-26T18:14:37.425471584Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2024-04-26T18:14:37.426617499Z level=info msg="Migration successfully executed" id="create user role table" duration=1.146765ms grafana | logger=migrator t=2024-04-26T18:14:37.430242879Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2024-04-26T18:14:37.431240168Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=996.989µs grafana | logger=migrator t=2024-04-26T18:14:37.43491669Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2024-04-26T18:14:37.43593951Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.02225ms grafana | logger=migrator t=2024-04-26T18:14:37.441402712Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2024-04-26T18:14:37.442477073Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.074872ms grafana | logger=migrator t=2024-04-26T18:14:37.446864323Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2024-04-26T18:14:37.447715226Z level=info msg="Migration successfully executed" id="create builtin role table" duration=852.203µs grafana | logger=migrator t=2024-04-26T18:14:37.450889939Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2024-04-26T18:14:37.452287543Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.396104ms grafana | logger=migrator t=2024-04-26T18:14:37.460661718Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2024-04-26T18:14:37.462413236Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.751137ms policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-upgrade.sql policy-db-migrator | -------------- policy-db-migrator | select 'upgrade to 1100 completed' as msg policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | msg policy-db-migrator | upgrade to 1100 completed policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-audit_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- 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 grafana | logger=migrator t=2024-04-26T18:14:37.469781821Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2024-04-26T18:14:37.480507157Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=10.728475ms grafana | logger=migrator t=2024-04-26T18:14:37.483756292Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2024-04-26T18:14:37.484847845Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.091673ms grafana | logger=migrator t=2024-04-26T18:14:37.488152783Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2024-04-26T18:14:37.489215214Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.061031ms grafana | logger=migrator t=2024-04-26T18:14:37.493786671Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" 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 2604241814370800u 1 2024-04-26 18:14:37 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:37 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 grafana | logger=migrator t=2024-04-26T18:14:37.495340791Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.55404ms grafana | logger=migrator t=2024-04-26T18:14:37.501369925Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2024-04-26T18:14:37.502996818Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.628593ms grafana | logger=migrator t=2024-04-26T18:14:37.512904432Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2024-04-26T18:14:37.515123198Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=2.218406ms grafana | logger=migrator t=2024-04-26T18:14:37.521173442Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2024-04-26T18:14:37.522345707Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.171425ms grafana | logger=migrator t=2024-04-26T18:14:37.524946848Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2024-04-26T18:14:37.53351556Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=8.568362ms grafana | logger=migrator t=2024-04-26T18:14:37.537010936Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2024-04-26T18:14:37.545417211Z level=info msg="Migration successfully executed" id="permission kind migration" duration=8.403945ms grafana | logger=migrator t=2024-04-26T18:14:37.5492619Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2024-04-26T18:14:37.557605073Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=8.342233ms grafana | logger=migrator t=2024-04-26T18:14:37.561176532Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2024-04-26T18:14:37.566675255Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=5.498283ms grafana | logger=migrator t=2024-04-26T18:14:37.572843714Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2024-04-26T18:14:37.57429182Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.447856ms grafana | logger=migrator t=2024-04-26T18:14:37.580081034Z level=info msg="Executing migration" id="add permission action scope role_id index" grafana | logger=migrator t=2024-04-26T18:14:37.581886544Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=1.805ms grafana | logger=migrator t=2024-04-26T18:14:37.585620239Z level=info msg="Executing migration" id="remove permission role_id action scope index" grafana | logger=migrator t=2024-04-26T18:14:37.586669469Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.04917ms grafana | logger=migrator t=2024-04-26T18:14:37.590258268Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2024-04-26T18:14:37.591117532Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=858.624µs grafana | logger=migrator t=2024-04-26T18:14:37.597054702Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2024-04-26T18:14:37.598107823Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.05074ms grafana | logger=migrator t=2024-04-26T18:14:37.602157789Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2024-04-26T18:14:37.602226762Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=69.453µs grafana | logger=migrator t=2024-04-26T18:14:37.605803231Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2024-04-26T18:14:37.605849352Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=47.171µs grafana | logger=migrator t=2024-04-26T18:14:37.61119345Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2024-04-26T18:14:37.612027362Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=834.503µs grafana | logger=migrator t=2024-04-26T18:14:37.617370779Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2024-04-26T18:14:37.618241053Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=871.023µs grafana | logger=migrator t=2024-04-26T18:14:37.622939185Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2024-04-26T18:14:37.623569909Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=628.935µs grafana | logger=migrator t=2024-04-26T18:14:37.626797304Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2024-04-26T18:14:37.626999252Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=203.048µs grafana | logger=migrator t=2024-04-26T18:14:37.631223126Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2024-04-26T18:14:37.631882151Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=657.306µs grafana | logger=migrator t=2024-04-26T18:14:37.635552203Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2024-04-26T18:14:37.636792921Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.240588ms grafana | logger=migrator t=2024-04-26T18:14:37.655988065Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2024-04-26T18:14:37.657312956Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.327201ms grafana | logger=migrator t=2024-04-26T18:14:37.663316799Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2024-04-26T18:14:37.669698616Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=6.383887ms grafana | logger=migrator t=2024-04-26T18:14:37.673190761Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2024-04-26T18:14:37.673258914Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=68.963µs grafana | logger=migrator t=2024-04-26T18:14:37.675920497Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2024-04-26T18:14:37.676994049Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.072392ms grafana | logger=migrator t=2024-04-26T18:14:37.681989042Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2024-04-26T18:14:37.682746112Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=774.83µs grafana | logger=migrator t=2024-04-26T18:14:37.688083488Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:38 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:39 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 grafana | logger=migrator t=2024-04-26T18:14:37.689801405Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.717587ms grafana | logger=migrator t=2024-04-26T18:14:37.698210481Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2024-04-26T18:14:37.704054537Z level=info msg="Migration successfully executed" id="add correlation config column" duration=5.843706ms grafana | logger=migrator t=2024-04-26T18:14:37.709210017Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2024-04-26T18:14:37.71084453Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.634923ms grafana | logger=migrator t=2024-04-26T18:14:37.715062594Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2024-04-26T18:14:37.716653585Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.590472ms grafana | logger=migrator t=2024-04-26T18:14:37.720100639Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2024-04-26T18:14:37.745455311Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=25.356532ms grafana | logger=migrator t=2024-04-26T18:14:37.750636282Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2024-04-26T18:14:37.751458544Z level=info msg="Migration successfully executed" id="create correlation v2" duration=821.692µs grafana | logger=migrator t=2024-04-26T18:14:37.754837565Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2024-04-26T18:14:37.756498759Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.661005ms grafana | logger=migrator t=2024-04-26T18:14:37.760198042Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2024-04-26T18:14:37.762055614Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.857332ms grafana | logger=migrator t=2024-04-26T18:14:37.767177193Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2024-04-26T18:14:37.768274635Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.097383ms grafana | logger=migrator t=2024-04-26T18:14:37.77150446Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2024-04-26T18:14:37.771771651Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=267.24µs grafana | logger=migrator t=2024-04-26T18:14:37.774238736Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2024-04-26T18:14:37.775384121Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.145694ms grafana | logger=migrator t=2024-04-26T18:14:37.77950747Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2024-04-26T18:14:37.78878017Z level=info msg="Migration successfully executed" id="add provisioning column" duration=9.272799ms grafana | logger=migrator t=2024-04-26T18:14:37.791827768Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2024-04-26T18:14:37.792459432Z level=info msg="Migration successfully executed" id="create entity_events table" duration=630.954µs grafana | logger=migrator t=2024-04-26T18:14:37.795350554Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2024-04-26T18:14:37.796076162Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=725.018µs grafana | logger=migrator t=2024-04-26T18:14:37.799924451Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-04-26T18:14:37.80065858Z 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-26T18:14:37.804192497Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-04-26T18:14:37.804947956Z 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-26T18:14:37.808243984Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2024-04-26T18:14:37.809056165Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=811.792µs grafana | logger=migrator t=2024-04-26T18:14:37.811812152Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2024-04-26T18:14:37.812849782Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.03723ms grafana | logger=migrator t=2024-04-26T18:14:37.81590634Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-04-26T18:14:37.817065345Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.156855ms grafana | logger=migrator t=2024-04-26T18:14:37.8226167Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-04-26T18:14:37.823966323Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.349113ms grafana | logger=migrator t=2024-04-26T18:14:37.830852979Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-04-26T18:14:37.8318927Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.041031ms grafana | logger=migrator t=2024-04-26T18:14:37.834967069Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-04-26T18:14:37.836611863Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.644683ms grafana | logger=migrator t=2024-04-26T18:14:37.840102388Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2024-04-26T18:14:37.841338736Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.237318ms grafana | logger=migrator t=2024-04-26T18:14:37.844758018Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2024-04-26T18:14:37.845884212Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.126804ms grafana | logger=migrator t=2024-04-26T18:14:37.848785884Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-04-26T18:14:37.84997609Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.189626ms grafana | logger=migrator t=2024-04-26T18:14:37.8535774Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-04-26T18:14:37.854836879Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.259199ms policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:40 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:41 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:41 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:41 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:41 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2604241814370800u 1 2024-04-26 18:14:41 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2604241814370900u 1 2024-04-26 18:14:41 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2604241814370900u 1 2024-04-26 18:14:41 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2604241814370900u 1 2024-04-26 18:14:41 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2604241814370900u 1 2024-04-26 18:14:41 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2604241814370900u 1 2024-04-26 18:14:41 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2604241814370900u 1 2024-04-26 18:14:41 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2604241814370900u 1 2024-04-26 18:14:41 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2604241814370900u 1 2024-04-26 18:14:41 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2604241814370900u 1 2024-04-26 18:14:41 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2604241814370900u 1 2024-04-26 18:14:41 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2604241814370900u 1 2024-04-26 18:14:41 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2604241814370900u 1 2024-04-26 18:14:41 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2604241814370900u 1 2024-04-26 18:14:41 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2604241814371000u 1 2024-04-26 18:14:41 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2604241814371000u 1 2024-04-26 18:14:41 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2604241814371000u 1 2024-04-26 18:14:41 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2604241814371000u 1 2024-04-26 18:14:42 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2604241814371000u 1 2024-04-26 18:14:42 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2604241814371000u 1 2024-04-26 18:14:42 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2604241814371000u 1 2024-04-26 18:14:42 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2604241814371000u 1 2024-04-26 18:14:42 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2604241814371000u 1 2024-04-26 18:14:42 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2604241814371100u 1 2024-04-26 18:14:42 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2604241814371200u 1 2024-04-26 18:14:42 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2604241814371200u 1 2024-04-26 18:14:42 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2604241814371200u 1 2024-04-26 18:14:42 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2604241814371200u 1 2024-04-26 18:14:42 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 2604241814371300u 1 2024-04-26 18:14:42 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 2604241814371300u 1 2024-04-26 18:14:42 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 2604241814371300u 1 2024-04-26 18:14:42 policy-db-migrator | policyadmin: OK @ 1300 grafana | logger=migrator t=2024-04-26T18:14:37.857821394Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2024-04-26T18:14:37.859060732Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.238828ms grafana | logger=migrator t=2024-04-26T18:14:37.864149329Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2024-04-26T18:14:37.887479593Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=23.329954ms grafana | logger=migrator t=2024-04-26T18:14:37.919772994Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2024-04-26T18:14:37.930618995Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=10.84573ms grafana | logger=migrator t=2024-04-26T18:14:37.934226844Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2024-04-26T18:14:37.944626927Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=10.398793ms grafana | logger=migrator t=2024-04-26T18:14:37.94804493Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2024-04-26T18:14:37.948272628Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=242.629µs grafana | logger=migrator t=2024-04-26T18:14:37.952821775Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2024-04-26T18:14:37.961072494Z level=info msg="Migration successfully executed" id="add share column" duration=8.250029ms grafana | logger=migrator t=2024-04-26T18:14:37.965494186Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2024-04-26T18:14:37.965643211Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=149.945µs grafana | logger=migrator t=2024-04-26T18:14:37.969130207Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2024-04-26T18:14:37.969810213Z level=info msg="Migration successfully executed" id="create file table" duration=679.677µs grafana | logger=migrator t=2024-04-26T18:14:37.974197393Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2024-04-26T18:14:37.976224611Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=2.024948ms grafana | logger=migrator t=2024-04-26T18:14:37.97954789Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2024-04-26T18:14:37.980684894Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.137854ms grafana | logger=migrator t=2024-04-26T18:14:37.983891778Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2024-04-26T18:14:37.98470969Z level=info msg="Migration successfully executed" id="create file_meta table" duration=815.052µs grafana | logger=migrator t=2024-04-26T18:14:37.987934895Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2024-04-26T18:14:37.989111581Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.175976ms grafana | logger=migrator t=2024-04-26T18:14:37.995113583Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2024-04-26T18:14:37.995203557Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=90.174µs grafana | logger=migrator t=2024-04-26T18:14:37.999599127Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2024-04-26T18:14:37.999741112Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=142.045µs grafana | logger=migrator t=2024-04-26T18:14:38.003208787Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2024-04-26T18:14:38.004145693Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=936.186µs grafana | logger=migrator t=2024-04-26T18:14:38.007551305Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2024-04-26T18:14:38.00794687Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=395.245µs grafana | logger=migrator t=2024-04-26T18:14:38.011506448Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-04-26T18:14:38.013380881Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.874953ms grafana | logger=migrator t=2024-04-26T18:14:38.016351826Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-04-26T18:14:38.025386626Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=9.03415ms grafana | logger=migrator t=2024-04-26T18:14:38.031614597Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-04-26T18:14:38.031797054Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=182.547µs grafana | logger=migrator t=2024-04-26T18:14:38.036829489Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-04-26T18:14:38.038163501Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.333142ms grafana | logger=migrator t=2024-04-26T18:14:38.041531011Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-04-26T18:14:38.042220278Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=690.277µs grafana | logger=migrator t=2024-04-26T18:14:38.048279003Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-04-26T18:14:38.048664478Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=387.805µs grafana | logger=migrator t=2024-04-26T18:14:38.054804446Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-04-26T18:14:38.055712211Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=907.215µs grafana | logger=migrator t=2024-04-26T18:14:38.059104572Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-04-26T18:14:38.068134382Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=9.02999ms grafana | logger=migrator t=2024-04-26T18:14:38.07606863Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-04-26T18:14:38.085089839Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=9.02002ms grafana | logger=migrator t=2024-04-26T18:14:38.089852724Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2024-04-26T18:14:38.091136893Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.28428ms grafana | logger=migrator t=2024-04-26T18:14:38.095252533Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2024-04-26T18:14:38.172546297Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=77.292984ms grafana | logger=migrator t=2024-04-26T18:14:38.175617556Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-04-26T18:14:38.176462199Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=845.113µs grafana | logger=migrator t=2024-04-26T18:14:38.181077348Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2024-04-26T18:14:38.182706341Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.627013ms grafana | logger=migrator t=2024-04-26T18:14:38.186270799Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-04-26T18:14:38.215044084Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=28.773724ms grafana | logger=migrator t=2024-04-26T18:14:38.218154734Z level=info msg="Executing migration" id="add origin column to seed_assignment" grafana | logger=migrator t=2024-04-26T18:14:38.226033959Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=7.877345ms grafana | logger=migrator t=2024-04-26T18:14:38.230613687Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" grafana | logger=migrator t=2024-04-26T18:14:38.231041793Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=428.226µs grafana | logger=migrator t=2024-04-26T18:14:38.234497247Z level=info msg="Executing migration" id="prevent seeding OnCall access" grafana | logger=migrator t=2024-04-26T18:14:38.234781358Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=283.911µs grafana | logger=migrator t=2024-04-26T18:14:38.238103687Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2024-04-26T18:14:38.238365287Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=261.46µs grafana | logger=migrator t=2024-04-26T18:14:38.241123864Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2024-04-26T18:14:38.241393444Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=266.54µs grafana | logger=migrator t=2024-04-26T18:14:38.248304972Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2024-04-26T18:14:38.248599504Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=294.542µs grafana | logger=migrator t=2024-04-26T18:14:38.251884701Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-04-26T18:14:38.2534078Z level=info msg="Migration successfully executed" id="create folder table" duration=1.522429ms grafana | logger=migrator t=2024-04-26T18:14:38.256584453Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2024-04-26T18:14:38.257910474Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.325691ms grafana | logger=migrator t=2024-04-26T18:14:38.261114848Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2024-04-26T18:14:38.262372257Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.256719ms grafana | logger=migrator t=2024-04-26T18:14:38.266226246Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-04-26T18:14:38.266255528Z level=info msg="Migration successfully executed" id="Update folder title length" duration=29.052µs grafana | logger=migrator t=2024-04-26T18:14:38.270333506Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-04-26T18:14:38.271587554Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.254439ms grafana | logger=migrator t=2024-04-26T18:14:38.274965455Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-04-26T18:14:38.276677621Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.712416ms grafana | logger=migrator t=2024-04-26T18:14:38.283301988Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-04-26T18:14:38.284527626Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.236227ms grafana | logger=migrator t=2024-04-26T18:14:38.288930736Z level=info msg="Executing migration" id="Sync dashboard and folder table" grafana | logger=migrator t=2024-04-26T18:14:38.289409275Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=476.148µs grafana | logger=migrator t=2024-04-26T18:14:38.292678391Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" grafana | logger=migrator t=2024-04-26T18:14:38.293139259Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=460.978µs grafana | logger=migrator t=2024-04-26T18:14:38.296669046Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" grafana | logger=migrator t=2024-04-26T18:14:38.298643062Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.974106ms grafana | logger=migrator t=2024-04-26T18:14:38.303058833Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" grafana | logger=migrator t=2024-04-26T18:14:38.304434657Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=1.374834ms grafana | logger=migrator t=2024-04-26T18:14:38.307665792Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" grafana | logger=migrator t=2024-04-26T18:14:38.309124348Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.458376ms grafana | logger=migrator t=2024-04-26T18:14:38.312412196Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" grafana | logger=migrator t=2024-04-26T18:14:38.313882103Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.468897ms grafana | logger=migrator t=2024-04-26T18:14:38.318424679Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" grafana | logger=migrator t=2024-04-26T18:14:38.319503231Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.078701ms grafana | logger=migrator t=2024-04-26T18:14:38.323426363Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-04-26T18:14:38.324542786Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.119004ms grafana | logger=migrator t=2024-04-26T18:14:38.327665187Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-04-26T18:14:38.328884554Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.217977ms grafana | logger=migrator t=2024-04-26T18:14:38.332008795Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-04-26T18:14:38.333251763Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.243068ms grafana | logger=migrator t=2024-04-26T18:14:38.336485428Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-04-26T18:14:38.337493187Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.007319ms grafana | logger=migrator t=2024-04-26T18:14:38.340747964Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-04-26T18:14:38.341975781Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.226947ms grafana | logger=migrator t=2024-04-26T18:14:38.345390803Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-04-26T18:14:38.346572019Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.181586ms grafana | logger=migrator t=2024-04-26T18:14:38.349731592Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-04-26T18:14:38.350068695Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=337.813µs grafana | logger=migrator t=2024-04-26T18:14:38.354268817Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-04-26T18:14:38.363952913Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=9.683085ms grafana | logger=migrator t=2024-04-26T18:14:38.367051233Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-04-26T18:14:38.367804102Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=753.609µs grafana | logger=migrator t=2024-04-26T18:14:38.370770967Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-04-26T18:14:38.371922231Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.150454ms grafana | logger=migrator t=2024-04-26T18:14:38.374883916Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-04-26T18:14:38.3760262Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.141794ms grafana | logger=migrator t=2024-04-26T18:14:38.379596559Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-04-26T18:14:38.380725922Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=1.129293ms grafana | logger=migrator t=2024-04-26T18:14:38.383954367Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" grafana | logger=migrator t=2024-04-26T18:14:38.385552239Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=1.596502ms grafana | logger=migrator t=2024-04-26T18:14:38.388816166Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-04-26T18:14:38.390300113Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.483337ms grafana | logger=migrator t=2024-04-26T18:14:38.393401793Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-04-26T18:14:38.394737635Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.336272ms grafana | logger=migrator t=2024-04-26T18:14:38.401352331Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-04-26T18:14:38.401954165Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=601.964µs grafana | logger=migrator t=2024-04-26T18:14:38.40646818Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-04-26T18:14:38.407011871Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=545.431µs grafana | logger=migrator t=2024-04-26T18:14:38.410563418Z level=info msg="Executing migration" id="alter kv_store.value to longtext" grafana | logger=migrator t=2024-04-26T18:14:38.410720674Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=157.176µs grafana | logger=migrator t=2024-04-26T18:14:38.414044043Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" grafana | logger=migrator t=2024-04-26T18:14:38.422866605Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=8.823042ms grafana | logger=migrator t=2024-04-26T18:14:38.426462944Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" grafana | logger=migrator t=2024-04-26T18:14:38.432927275Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=6.463471ms grafana | logger=migrator t=2024-04-26T18:14:38.4369333Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" grafana | logger=migrator t=2024-04-26T18:14:38.437282503Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=348.813µs grafana | logger=migrator t=2024-04-26T18:14:38.442028847Z level=info msg="migrations completed" performed=548 skipped=0 duration=4.382791896s grafana | logger=sqlstore t=2024-04-26T18:14:38.454873645Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-04-26T18:14:38.455109684Z level=info msg="Created default organization" grafana | logger=secrets t=2024-04-26T18:14:38.458732564Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2024-04-26T18:14:38.479413006Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2024-04-26T18:14:38.529022868Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-04-26T18:14:38.52908972Z level=info msg="Plugins loaded" count=55 duration=49.676974ms grafana | logger=query_data t=2024-04-26T18:14:38.532317155Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-04-26T18:14:38.535863723Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2024-04-26T18:14:38.567061381Z level=info msg=Starting grafana | logger=ngalert.migration t=2024-04-26T18:14:38.567871213Z level=info msg="Applying transition" currentType=Legacy desiredType=UnifiedAlerting cleanOnDowngrade=false cleanOnUpgrade=false grafana | logger=ngalert.migration orgID=1 t=2024-04-26T18:14:38.568752097Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-04-26T18:14:38.570031076Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration t=2024-04-26T18:14:38.573298063Z level=info msg="Completed alerting migration" grafana | logger=ngalert.state.manager t=2024-04-26T18:14:38.603766743Z level=info msg="Running in alternative execution of Error/NoData mode" grafana | logger=infra.usagestats.collector t=2024-04-26T18:14:38.605971229Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-04-26T18:14:38.60833081Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-04-26T18:14:38.623678345Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-04-26T18:14:38.623774828Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2024-04-26T18:14:38.624211195Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2024-04-26T18:14:38.626530345Z level=info msg="Warming state cache for startup" grafana | logger=http.server t=2024-04-26T18:14:38.628821994Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=ngalert.multiorg.alertmanager t=2024-04-26T18:14:38.629408667Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=ngalert.state.manager t=2024-04-26T18:14:38.660631936Z level=info msg="State cache has been initialized" states=0 duration=34.098061ms grafana | logger=ngalert.scheduler t=2024-04-26T18:14:38.660825054Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 grafana | logger=ticker t=2024-04-26T18:14:38.661080404Z level=info msg=starting first_tick=2024-04-26T18:14:40Z grafana | logger=provisioning.dashboard t=2024-04-26T18:14:38.714142149Z level=info msg="starting to provision dashboards" grafana | logger=plugins.update.checker t=2024-04-26T18:14:38.727945884Z level=info msg="Update check succeeded" duration=100.860857ms grafana | logger=grafana.update.checker t=2024-04-26T18:14:38.732934567Z level=info msg="Update check succeeded" duration=108.755393ms grafana | logger=sqlstore.transactions t=2024-04-26T18:14:38.735034469Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2024-04-26T18:14:38.737485424Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2024-04-26T18:14:38.745882969Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=grafana-apiserver t=2024-04-26T18:14:38.955923556Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" grafana | logger=grafana-apiserver t=2024-04-26T18:14:38.956363433Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" grafana | logger=provisioning.dashboard t=2024-04-26T18:14:39.036867652Z level=info msg="finished to provision dashboards" ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping grafana ... Stopping policy-api ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing grafana ... Removing policy-api ... Removing policy-db-migrator ... Removing mariadb ... Removing prometheus ... Removing policy-api ... done Removing policy-db-migrator ... done Removing grafana ... 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.5AgpytCi1l ]] + rsync -av /tmp/tmp.5AgpytCi1l/ /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,345,199 bytes received 95 bytes 2,690,588.00 bytes/sec total size is 1,344,551 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 2156 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/jenkins17064058623678080198.sh ---> sysstat.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins12664988394224451503.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/jenkins18407346144450204315.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-1FCV from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-1FCV/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins10133786447711305851.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-montreal-project-csit-api@tmp/config14111415261931728251tmp 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/jenkins5617512647550899020.sh ---> create-netrc.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins10773487578011179833.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-1FCV from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-1FCV/bin to PATH [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins1941445957669181744.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins1804421617098912367.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-1FCV 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-1FCV/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/jenkins12086304602275099564.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-1FCV from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-1FCV/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-montreal-project-csit-api/167 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-35476 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2800.000 BogoMIPS: 5600.00 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 834 27328 0 4004 30876 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:6f:c7:9b brd ff:ff:ff:ff:ff:ff inet 10.30.107.221/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86052sec preferred_lft 86052sec inet6 fe80::f816:3eff:fe6f:c79b/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:f8:57:57:92 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-35476) 04/26/24 _x86_64_ (8 CPU) 18:11:25 LINUX RESTART (8 CPU) 18:12:01 tps rtps wtps bread/s bwrtn/s 18:13:01 110.36 42.89 67.47 1925.55 19022.03 18:14:01 127.28 23.40 103.88 2828.20 24403.27 18:15:01 387.00 12.71 374.29 828.06 77020.16 18:16:01 11.70 0.07 11.63 3.07 12463.99 18:17:01 61.57 2.00 59.57 118.78 16380.47 Average: 139.58 16.21 123.37 1140.73 29857.98 18:12:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:13:01 30169912 31731512 2769308 8.41 67932 1805892 1392120 4.10 842160 1641820 136272 18:14:01 29479856 31680828 3459364 10.50 94980 2392500 1556268 4.58 982328 2136176 373780 18:15:01 27298116 30970656 5641104 17.13 129020 3766888 3993236 11.75 1776660 3412940 292 18:16:01 26997880 30671672 5941340 18.04 129132 3767696 4169912 12.27 2076804 3412096 104 18:17:01 28003840 31636728 4935380 14.98 130932 3735116 1485704 4.37 1148688 3363164 2476 Average: 28389921 31338279 4549299 13.81 110399 3093618 2519448 7.41 1365328 2793239 102585 18:12:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:13:01 ens3 248.21 163.22 1177.12 42.54 0.00 0.00 0.00 0.00 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.47 1.47 0.17 0.17 0.00 0.00 0.00 0.00 18:14:01 ens3 128.71 92.13 2823.37 12.28 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 br-1eb4f3c34813 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:14:01 lo 5.60 5.60 0.54 0.54 0.00 0.00 0.00 0.00 18:15:01 ens3 224.73 136.76 7379.23 10.48 0.00 0.00 0.00 0.00 18:15:01 vethe6613af 0.45 0.65 0.05 0.30 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 br-1eb4f3c34813 0.67 0.73 0.06 0.31 0.00 0.00 0.00 0.00 18:16:01 ens3 9.60 5.95 6.38 2.19 0.00 0.00 0.00 0.00 18:16:01 vethe6613af 0.15 0.18 0.01 0.01 0.00 0.00 0.00 0.00 18:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:16:01 br-1eb4f3c34813 3.00 3.45 6.11 2.21 0.00 0.00 0.00 0.00 18:17:01 ens3 71.59 54.44 78.89 26.26 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 lo 33.91 33.91 10.66 10.66 0.00 0.00 0.00 0.00 Average: ens3 136.57 90.50 2293.00 18.75 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: lo 6.01 6.01 2.07 2.07 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-35476) 04/26/24 _x86_64_ (8 CPU) 18:11:25 LINUX RESTART (8 CPU) 18:12:01 CPU %user %nice %system %iowait %steal %idle 18:13:01 all 10.53 0.00 0.87 2.62 0.04 85.95 18:13:01 0 25.90 0.00 1.72 0.38 0.03 71.96 18:13:01 1 5.47 0.00 0.38 0.70 0.02 93.43 18:13:01 2 9.04 0.00 0.58 0.65 0.05 89.67 18:13:01 3 7.25 0.00 0.80 0.52 0.02 91.42 18:13:01 4 1.60 0.00 0.58 0.47 0.02 97.33 18:13:01 5 1.30 0.00 0.70 15.28 0.05 82.66 18:13:01 6 1.25 0.00 0.47 0.43 0.00 97.85 18:13:01 7 32.55 0.00 1.70 2.57 0.07 63.12 18:14:01 all 10.06 0.00 1.04 2.43 0.04 86.42 18:14:01 0 18.80 0.00 1.38 1.20 0.05 78.57 18:14:01 1 27.70 0.00 1.62 1.81 0.05 68.82 18:14:01 2 11.06 0.00 1.41 3.50 0.05 83.99 18:14:01 3 2.15 0.00 0.65 0.02 0.10 97.08 18:14:01 4 6.80 0.00 0.84 1.80 0.02 90.55 18:14:01 5 2.71 0.00 0.85 10.39 0.03 86.01 18:14:01 6 2.24 0.00 0.58 0.57 0.03 96.58 18:14:01 7 9.07 0.00 0.97 0.20 0.05 89.72 18:15:01 all 15.24 0.00 3.68 4.70 0.08 76.30 18:15:01 0 11.81 0.00 4.13 20.15 0.10 63.81 18:15:01 1 22.66 0.00 4.43 0.69 0.08 72.13 18:15:01 2 11.55 0.00 2.68 2.29 0.10 83.39 18:15:01 3 13.57 0.00 3.56 4.32 0.07 78.48 18:15:01 4 13.96 0.00 3.54 1.38 0.08 81.04 18:15:01 5 12.22 0.00 2.62 4.31 0.10 80.75 18:15:01 6 17.69 0.00 3.82 1.27 0.07 77.15 18:15:01 7 18.45 0.00 4.69 3.16 0.08 73.61 18:16:01 all 4.49 0.00 0.37 0.72 0.03 94.39 18:16:01 0 2.47 0.00 0.15 0.00 0.00 97.38 18:16:01 1 5.18 0.00 0.17 0.00 0.00 94.65 18:16:01 2 5.82 0.00 0.50 0.00 0.10 93.57 18:16:01 3 5.34 0.00 0.45 0.02 0.02 94.18 18:16:01 4 5.45 0.00 0.64 0.34 0.03 93.54 18:16:01 5 1.62 0.00 0.12 5.42 0.02 92.83 18:16:01 6 5.39 0.00 0.38 0.00 0.02 94.21 18:16:01 7 4.64 0.00 0.52 0.00 0.03 94.81 18:17:01 all 6.77 0.00 0.61 1.31 0.03 91.28 18:17:01 0 0.78 0.00 0.40 0.78 0.02 98.02 18:17:01 1 21.49 0.00 0.70 0.65 0.03 77.12 18:17:01 2 17.69 0.00 0.87 0.48 0.05 80.91 18:17:01 3 5.55 0.00 0.63 0.17 0.02 93.63 18:17:01 4 1.17 0.00 0.60 1.66 0.02 96.55 18:17:01 5 1.85 0.00 0.52 5.60 0.03 92.00 18:17:01 6 3.82 0.00 0.58 0.40 0.05 95.14 18:17:01 7 1.79 0.00 0.58 0.75 0.03 96.85 Average: all 9.41 0.00 1.31 2.35 0.05 86.88 Average: 0 11.95 0.00 1.55 4.47 0.04 81.99 Average: 1 16.48 0.00 1.46 0.77 0.04 81.26 Average: 2 11.03 0.00 1.20 1.38 0.07 86.31 Average: 3 6.76 0.00 1.21 1.00 0.04 90.99 Average: 4 5.78 0.00 1.24 1.13 0.03 91.82 Average: 5 3.93 0.00 0.96 8.20 0.05 86.86 Average: 6 6.07 0.00 1.17 0.53 0.03 92.20 Average: 7 13.26 0.00 1.69 1.33 0.05 83.66