Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-15135 (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-8km4kgsJ0iVC/agent.2103 SSH_AGENT_PID=2105 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_7550849251475638592.key (/w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_7550849251475638592.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/jenkins18289020065057688750.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-QFOh 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-QFOh/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-QFOh/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.120 botocore==1.34.120 bs4==0.0.2 cachetools==5.3.3 certifi==2024.6.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.7.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.3 email_validator==2.1.1 filelock==3.14.0 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.4 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.22.0 jsonschema-specifications==2023.12.1 keystoneauth1==5.6.0 kubernetes==30.1.0 lftools==0.37.10 lxml==5.2.2 MarkupSafe==2.1.5 msgpack==1.0.8 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.3.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.9.1 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==6.0.0 oslo.serialization==5.4.0 oslo.utils==7.1.0 packaging==24.0 pbr==6.0.0 platformdirs==4.2.2 prettytable==3.10.0 pyasn1==0.6.0 pyasn1_modules==0.4.0 pycparser==2.22 pygerrit2==2.0.15 PyGithub==2.3.0 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.5.0 python-novaclient==18.6.0 python-openstackclient==6.6.0 python-swiftclient==4.6.0 PyYAML==6.0.1 referencing==0.35.1 requests==2.32.3 requests-oauthlib==2.0.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.18.1 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.5 tqdm==4.66.4 typing_extensions==4.12.1 tzdata==2024.1 urllib3==1.26.18 virtualenv==20.26.2 wcwidth==0.2.13 websocket-client==1.8.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.4.3 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-montreal-project-csit-api] $ /bin/sh /tmp/jenkins3219640465346735475.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/jenkins4107931800721359645.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.mnfR9qnlQh ++ echo ROBOT_VENV=/tmp/tmp.mnfR9qnlQh +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.mnfR9qnlQh ++ source /tmp/tmp.mnfR9qnlQh/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.mnfR9qnlQh +++ 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.mnfR9qnlQh/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.mnfR9qnlQh) ' '!=' x ']' +++ PS1='(tmp.mnfR9qnlQh) ' +++ 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.6.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.2 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.1 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.15.0 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.mnfR9qnlQh/src/onap ++ rm -rf /tmp/tmp.mnfR9qnlQh/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.6.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.2 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.1 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.15.0 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.mnfR9qnlQh/bin/activate + '[' -z /tmp/tmp.mnfR9qnlQh/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.mnfR9qnlQh/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.mnfR9qnlQh ++ 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.mnfR9qnlQh/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.mnfR9qnlQh) ' ++ '[' 'x(tmp.mnfR9qnlQh) ' '!=' x ']' ++ PS1='(tmp.mnfR9qnlQh) (tmp.mnfR9qnlQh) ' ++ 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.ThAIyswIfD + cd /tmp/tmp.ThAIyswIfD + 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:5c435642ca4d8427ca26f4901c11114023004709037880cd7860d5b7176aa731 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:0dc5a246ab16bb2c38a349fb588174e832b4c6c2db0981d0c3e6cd774ba66a54 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating mariadb ... Creating prometheus ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-montreal-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 10 seconds policy-db-migrator Up 11 seconds grafana Up 13 seconds prometheus Up 14 seconds mariadb Up 11 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds prometheus Up 19 seconds mariadb Up 17 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds prometheus Up 24 seconds mariadb Up 22 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds prometheus Up 29 seconds mariadb Up 27 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 18:15:24 up 4 min, 0 users, load average: 2.15, 1.15, 0.50 Tasks: 178 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.6 us, 1.9 sy, 0.0 ni, 83.3 id, 5.2 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.5G 25G 1.0M 4.0G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds prometheus Up 29 seconds mariadb Up 27 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 81812a70e9f9 policy-api 0.60% 538.1MiB / 31.41GiB 1.67% 998kB / 710kB 0B / 0B 55 91e155186f3f grafana 0.07% 60.25MiB / 31.41GiB 0.19% 24.1kB / 4.25kB 0B / 25MB 18 4f1b3be616be prometheus 0.00% 18.59MiB / 31.41GiB 0.06% 1.38kB / 0B 168kB / 0B 13 5621c9bca058 mariadb 0.02% 100.5MiB / 31.41GiB 0.31% 986kB / 1.18MB 10.9MB / 67.7MB 27 + echo + cd /tmp/tmp.ThAIyswIfD + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' api-slas.robot' + 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.ThAIyswIfD/output.xml Log: /tmp/tmp.ThAIyswIfD/log.html Report: /tmp/tmp.ThAIyswIfD/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 policy-api Up About a minute grafana Up About a minute prometheus Up About a minute mariadb Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 18:16:35 up 5 min, 0 users, load average: 0.88, 0.98, 0.49 Tasks: 176 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.3 us, 1.5 sy, 0.0 ni, 86.0 id, 4.1 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.7G 25G 1.0M 4.0G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute prometheus Up About a minute mariadb Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 81812a70e9f9 policy-api 0.20% 743.3MiB / 31.41GiB 2.31% 7MB / 2.55MB 0B / 0B 55 91e155186f3f grafana 0.06% 65.1MiB / 31.41GiB 0.20% 25.4kB / 5.84kB 0B / 25MB 18 4f1b3be616be prometheus 0.25% 24.75MiB / 31.41GiB 0.08% 55.5kB / 6.54kB 168kB / 0B 13 5621c9bca058 mariadb 0.03% 101.5MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 10.9MB / 68.1MB 18 + echo + source_safely /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose ++ cd /w/workspace/policy-api-montreal-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-api, policy-db-migrator, grafana, prometheus, mariadb grafana | logger=settings t=2024-06-06T18:14:55.958443331Z level=info msg="Starting Grafana" version=11.0.0 commit=83b9528bce85cf9371320f6d6e450916156da3f6 branch=v11.0.x compiled=2024-06-06T18:14:55Z grafana | logger=settings t=2024-06-06T18:14:55.959837336Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-06-06T18:14:55.959862776Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-06-06T18:14:55.959872076Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-06-06T18:14:55.959887596Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-06-06T18:14:55.959900546Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-06-06T18:14:55.959908196Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-06-06T18:14:55.959916366Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-06-06T18:14:55.959924366Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-06-06T18:14:55.959938136Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-06-06T18:14:55.959945477Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-06-06T18:14:55.959959937Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-06-06T18:14:55.959972317Z level=info msg=Target target=[all] grafana | logger=settings t=2024-06-06T18:14:55.959988447Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-06-06T18:14:55.960003448Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-06-06T18:14:55.960012758Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-06-06T18:14:55.960020238Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-06-06T18:14:55.960056179Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-06-06T18:14:55.960068979Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-06-06T18:14:55.961494603Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-06-06T18:14:55.961594064Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-06-06T18:14:55.964896298Z level=info msg="Locking database" grafana | logger=migrator t=2024-06-06T18:14:55.964920658Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-06-06T18:14:55.965685596Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-06-06T18:14:55.967177952Z level=info msg="Migration successfully executed" id="create migration_log table" duration=1.492655ms grafana | logger=migrator t=2024-06-06T18:14:55.972412924Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-06-06T18:14:55.973168313Z level=info msg="Migration successfully executed" id="create user table" duration=750.419µs grafana | logger=migrator t=2024-06-06T18:14:55.978202505Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-06-06T18:14:55.978906141Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=703.667µs grafana | logger=migrator t=2024-06-06T18:14:55.985061784Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-06-06T18:14:55.986290327Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.228383ms grafana | logger=migrator t=2024-06-06T18:14:55.991130327Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-06-06T18:14:55.991834604Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=701.507µs grafana | logger=migrator t=2024-06-06T18:14:55.995848965Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-06-06T18:14:55.996494772Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=645.767µs grafana | logger=migrator t=2024-06-06T18:14:56.00123908Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-06-06T18:14:56.005012138Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=3.772898ms grafana | logger=migrator t=2024-06-06T18:14:56.009207269Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-06-06T18:14:56.010038836Z level=info msg="Migration successfully executed" id="create user table v2" duration=831.257µs grafana | logger=migrator t=2024-06-06T18:14:56.014248758Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-06-06T18:14:56.014955905Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=707.317µs grafana | logger=migrator t=2024-06-06T18:14:56.019696601Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-06-06T18:14:56.020859882Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.162871ms grafana | logger=migrator t=2024-06-06T18:14:56.025913632Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-06-06T18:14:56.026682669Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=769.177µs grafana | logger=migrator t=2024-06-06T18:14:56.030476607Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-06-06T18:14:56.030967811Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=493.604µs grafana | logger=migrator t=2024-06-06T18:14:56.034374945Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-06-06T18:14:56.035456885Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.08166ms grafana | logger=migrator t=2024-06-06T18:14:56.03996646Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-06-06T18:14:56.04000393Z level=info msg="Migration successfully executed" id="Update user table charset" duration=39.16µs grafana | logger=migrator t=2024-06-06T18:14:56.043952488Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-06-06T18:14:56.045754056Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.801288ms grafana | logger=migrator t=2024-06-06T18:14:56.049443551Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-06-06T18:14:56.049800706Z level=info msg="Migration successfully executed" id="Add missing user data" duration=357.925µs grafana | logger=migrator t=2024-06-06T18:14:56.053499141Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-06-06T18:14:56.054595882Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.096491ms grafana | logger=migrator t=2024-06-06T18:14:56.058854294Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-06-06T18:14:56.059556841Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=705.367µs grafana | logger=migrator t=2024-06-06T18:14:56.063049395Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-06-06T18:14:56.064163966Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.114171ms grafana | logger=migrator t=2024-06-06T18:14:56.06771838Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-06-06T18:14:56.075669478Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=7.953748ms grafana | logger=migrator t=2024-06-06T18:14:56.080303783Z level=info msg="Executing migration" id="Add uid column to user" grafana | logger=migrator t=2024-06-06T18:14:56.081390674Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=1.087191ms grafana | logger=migrator t=2024-06-06T18:14:56.084776118Z level=info msg="Executing migration" id="Update uid column values for users" grafana | logger=migrator t=2024-06-06T18:14:56.084987959Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=211.631µs grafana | logger=migrator t=2024-06-06T18:14:56.088788326Z level=info msg="Executing migration" id="Add unique index user_uid" grafana | logger=migrator t=2024-06-06T18:14:56.089511753Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=723.087µs grafana | logger=migrator t=2024-06-06T18:14:56.094164619Z 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-06-06T18:14:56.094623554Z level=info msg="Migration successfully executed" id="update login field with orgid to allow for multiple service accounts with same name across orgs" duration=458.825µs grafana | logger=migrator t=2024-06-06T18:14:56.100002216Z level=info msg="Executing migration" id="update login and email fields to lowercase" grafana | logger=migrator t=2024-06-06T18:14:56.100793654Z level=info msg="Migration successfully executed" id="update login and email fields to lowercase" duration=802.509µs grafana | logger=migrator t=2024-06-06T18:14:56.105668882Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-06-06T18:14:56.107180307Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.510965ms grafana | logger=migrator t=2024-06-06T18:14:56.11165277Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-06-06T18:14:56.112474158Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=822.977µs grafana | logger=migrator t=2024-06-06T18:14:56.117454677Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-06-06T18:14:56.118219065Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=764.098µs grafana | logger=migrator t=2024-06-06T18:14:56.122128992Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-06-06T18:14:56.122844659Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=715.487µs grafana | logger=migrator t=2024-06-06T18:14:56.126874299Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-06-06T18:14:56.127627796Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=752.497µs grafana | logger=migrator t=2024-06-06T18:14:56.132522924Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-06-06T18:14:56.132571545Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=49.211µs grafana | logger=migrator t=2024-06-06T18:14:56.136175829Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-06-06T18:14:56.13726002Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.084081ms grafana | logger=migrator t=2024-06-06T18:14:56.140801025Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-06-06T18:14:56.141465761Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=664.516µs grafana | logger=migrator t=2024-06-06T18:14:56.145160768Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-06-06T18:14:56.145851344Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=689.736µs grafana | logger=migrator t=2024-06-06T18:14:56.150796913Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-06-06T18:14:56.151848193Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.05131ms grafana | logger=migrator t=2024-06-06T18:14:56.155984843Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-06-06T18:14:56.160951572Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=4.966589ms grafana | logger=migrator t=2024-06-06T18:14:56.179385392Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-06-06T18:14:56.180733415Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=1.347533ms grafana | logger=migrator t=2024-06-06T18:14:56.186753543Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-06-06T18:14:56.187937205Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=1.177172ms grafana | logger=migrator t=2024-06-06T18:14:56.192115136Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-06-06T18:14:56.193281458Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.166082ms grafana | logger=migrator t=2024-06-06T18:14:56.197259447Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-06-06T18:14:56.198448178Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.187881ms grafana | logger=migrator t=2024-06-06T18:14:56.203446647Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-06-06T18:14:56.204178844Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=731.407µs grafana | logger=migrator t=2024-06-06T18:14:56.208706148Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-06-06T18:14:56.209400976Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=696.168µs grafana | logger=migrator t=2024-06-06T18:14:56.213265873Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-06-06T18:14:56.214122571Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=856.268µs grafana | logger=migrator t=2024-06-06T18:14:56.219780817Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-06-06T18:14:56.22019792Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=421.273µs grafana | logger=migrator t=2024-06-06T18:14:56.224650755Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-06-06T18:14:56.225339131Z level=info msg="Migration successfully executed" id="create star table" duration=687.696µs grafana | logger=migrator t=2024-06-06T18:14:56.229161109Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-06-06T18:14:56.230431641Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.268952ms grafana | logger=migrator t=2024-06-06T18:14:56.235010236Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-06-06T18:14:56.236253158Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.242932ms grafana | logger=migrator t=2024-06-06T18:14:56.241465579Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-06-06T18:14:56.242310257Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=844.338µs grafana | logger=migrator t=2024-06-06T18:14:56.246647929Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-06-06T18:14:56.2477947Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.145571ms grafana | logger=migrator t=2024-06-06T18:14:56.252272664Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-06-06T18:14:56.253481876Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.207992ms grafana | logger=migrator t=2024-06-06T18:14:56.257574566Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-06-06T18:14:56.258446965Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=871.849µs grafana | logger=migrator t=2024-06-06T18:14:56.263310312Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-06-06T18:14:56.264545544Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.235032ms grafana | logger=migrator t=2024-06-06T18:14:56.268968997Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-06-06T18:14:56.269019958Z level=info msg="Migration successfully executed" id="Update org table charset" duration=51.321µs grafana | logger=migrator t=2024-06-06T18:14:56.27339536Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-06-06T18:14:56.273429091Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=35.561µs grafana | logger=migrator t=2024-06-06T18:14:56.277255168Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-06-06T18:14:56.27748285Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=227.012µs grafana | logger=migrator t=2024-06-06T18:14:56.282379109Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-06-06T18:14:56.283570861Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.191152ms grafana | logger=migrator t=2024-06-06T18:14:56.287766782Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-06-06T18:14:56.289148925Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.365913ms grafana | logger=migrator t=2024-06-06T18:14:56.293444957Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-06-06T18:14:56.294367605Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=921.608µs grafana | logger=migrator t=2024-06-06T18:14:56.298313944Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-06-06T18:14:56.299205093Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=889.339µs grafana | logger=migrator t=2024-06-06T18:14:56.304276182Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-06-06T18:14:56.305578585Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.301733ms grafana | logger=migrator t=2024-06-06T18:14:56.309956888Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-06-06T18:14:56.310738056Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=781.768µs grafana | logger=migrator t=2024-06-06T18:14:56.314466023Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-06-06T18:14:56.319631422Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=5.16519ms grafana | logger=migrator t=2024-06-06T18:14:56.324016395Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-06-06T18:14:56.324778633Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=762.088µs grafana | logger=migrator t=2024-06-06T18:14:56.328292008Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-06-06T18:14:56.329056425Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=763.907µs grafana | logger=migrator t=2024-06-06T18:14:56.332384017Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-06-06T18:14:56.333168815Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=786.698µs grafana | logger=migrator t=2024-06-06T18:14:56.337603518Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-06-06T18:14:56.338214205Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=609.607µs grafana | logger=migrator t=2024-06-06T18:14:56.342143082Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-06-06T18:14:56.343509056Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.367074ms grafana | logger=migrator t=2024-06-06T18:14:56.348717237Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-06-06T18:14:56.348807838Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=90.171µs mariadb | 2024-06-06 18:14:57+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-06-06 18:14:57+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-06-06 18:14:57+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-06-06 18:14:57+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-06-06 18:14:57 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-06-06 18:14:57 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-06-06 18:14:57 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: grafana | logger=migrator t=2024-06-06T18:14:56.352603865Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-06-06T18:14:56.356032978Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=3.417933ms grafana | logger=migrator t=2024-06-06T18:14:56.360522203Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-06-06T18:14:56.363499882Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.974789ms grafana | logger=migrator t=2024-06-06T18:14:56.368346539Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-06-06T18:14:56.370307468Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.960139ms grafana | logger=migrator t=2024-06-06T18:14:56.381014342Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-06-06T18:14:56.382443826Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.428284ms grafana | logger=migrator t=2024-06-06T18:14:56.386733698Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-06-06T18:14:56.390003411Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=3.267903ms grafana | logger=migrator t=2024-06-06T18:14:56.39512756Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2024-06-06T18:14:56.395992169Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=863.299µs grafana | logger=migrator t=2024-06-06T18:14:56.401502193Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-06-06T18:14:56.403080418Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.577985ms grafana | logger=migrator t=2024-06-06T18:14:56.407408941Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-06-06T18:14:56.407453281Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=45.34µs grafana | logger=migrator t=2024-06-06T18:14:56.411673012Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-06-06T18:14:56.411699002Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=25.58µs grafana | logger=migrator t=2024-06-06T18:14:56.416266727Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-06-06T18:14:56.419145855Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.877308ms grafana | logger=migrator t=2024-06-06T18:14:56.423162464Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-06-06T18:14:56.425646649Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.485135ms grafana | logger=migrator t=2024-06-06T18:14:56.428944171Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-06-06T18:14:56.4309085Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.960809ms grafana | logger=migrator t=2024-06-06T18:14:56.435419664Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-06-06T18:14:56.437416143Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.992999ms grafana | logger=migrator t=2024-06-06T18:14:56.441601054Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-06-06T18:14:56.441815397Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=213.933µs grafana | logger=migrator t=2024-06-06T18:14:56.445359811Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-06-06T18:14:56.446125869Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=766.138µs grafana | logger=migrator t=2024-06-06T18:14:56.449494602Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-06-06T18:14:56.450221469Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=723.977µs grafana | logger=migrator t=2024-06-06T18:14:56.455536541Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-06-06T18:14:56.455561461Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=25.72µs grafana | logger=migrator t=2024-06-06T18:14:56.460320308Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-06-06T18:14:56.46158619Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.267842ms grafana | logger=migrator t=2024-06-06T18:14:56.465831122Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-06-06T18:14:56.466943753Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.111921ms grafana | logger=migrator t=2024-06-06T18:14:56.472040372Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-06-06T18:14:56.477435805Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=5.394463ms grafana | logger=migrator t=2024-06-06T18:14:56.480901289Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-06-06T18:14:56.481601846Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=699.647µs grafana | logger=migrator t=2024-06-06T18:14:56.485424663Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-06-06T18:14:56.48621017Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=786.537µs grafana | logger=migrator t=2024-06-06T18:14:56.49125168Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-06-06T18:14:56.492064749Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=811.658µs grafana | logger=migrator t=2024-06-06T18:14:56.49631587Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-06-06T18:14:56.496717304Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=400.544µs grafana | logger=migrator t=2024-06-06T18:14:56.500784044Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-06-06T18:14:56.501322438Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=538.324µs grafana | logger=migrator t=2024-06-06T18:14:56.506167266Z level=info msg="Executing migration" id="Add check_sum column" mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2024-06-06 18:14:59+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-06-06 18:14:59+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-06-06 18:14:59+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-06-06 18:14:59 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 95 ... mariadb | 2024-06-06 18:14:59 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-06-06 18:14:59 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-06-06 18:14:59 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-06-06 18:14:59 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-06-06 18:14:59 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-06-06 18:14:59 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-06-06 18:14:59 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-06-06 18:14:59 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-06-06 18:14:59 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-06-06 18:14:59 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-06-06 18:14:59 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-06-06 18:14:59 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-06-06 18:14:59 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-06-06 18:14:59 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-06-06 18:14:59 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-06-06 18:14:59 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-06-06 18:14:59 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-06-06 18:14:59 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-06-06 18:15:00+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-06-06 18:15:01+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-06-06 18:15:01+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2024-06-06 18:15:01+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2024-06-06 18:15:01+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-06-06 18:15:02+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-06-06 18:15:02 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-06-06 18:15:02 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-06-06 18:15:02 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-06-06 18:15:02 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-06-06 18:15:02 0 [Note] InnoDB: Buffer pool(s) dump completed at 240606 18:15:02 mariadb | 2024-06-06 18:15:03 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-06-06 18:15:03 0 [Note] InnoDB: Shutdown completed; log sequence number 323633; transaction id 298 mariadb | 2024-06-06 18:15:03 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-06-06 18:15:03+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-06-06 18:15:03+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-06-06 18:15:03 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-06-06 18:15:03 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-06-06 18:15:03 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-06-06 18:15:03 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-06-06 18:15:03 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-06-06 18:15:03 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-06-06 18:15:03 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-06-06 18:15:03 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-06-06 18:15:03 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-06-06 18:15:03 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-06-06 18:15:03 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-06-06 18:15:03 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-06-06 18:15:03 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-06-06 18:15:03 0 [Note] InnoDB: log sequence number 323633; transaction id 299 mariadb | 2024-06-06 18:15:03 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-06-06 18:15:03 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-06-06 18:15:03 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-06-06 18:15:03 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-06-06 18:15:03 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-06-06 18:15:03 0 [Note] Server socket created on IP: '::'. mariadb | 2024-06-06 18:15:03 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mariadb | 2024-06-06 18:15:03 0 [Note] InnoDB: Buffer pool(s) load completed at 240606 18:15:03 mariadb | 2024-06-06 18:15:03 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) mariadb | 2024-06-06 18:15:03 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) grafana | logger=migrator t=2024-06-06T18:14:56.509444708Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.277632ms grafana | logger=migrator t=2024-06-06T18:14:56.513540678Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-06-06T18:14:56.514368626Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=826.998µs grafana | logger=migrator t=2024-06-06T18:14:56.518022212Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-06-06T18:14:56.518220793Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=198.561µs grafana | logger=migrator t=2024-06-06T18:14:56.523057551Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-06-06T18:14:56.523363044Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=306.443µs grafana | logger=migrator t=2024-06-06T18:14:56.527052731Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-06-06T18:14:56.528273082Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.222223ms grafana | logger=migrator t=2024-06-06T18:14:56.532040799Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-06-06T18:14:56.535897727Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.855798ms grafana | logger=migrator t=2024-06-06T18:14:56.541131798Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2024-06-06T18:14:56.541996686Z level=info msg="Migration successfully executed" id="create data_source table" duration=864.338µs grafana | logger=migrator t=2024-06-06T18:14:56.547008355Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-06-06T18:14:56.548264418Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.255193ms grafana | logger=migrator t=2024-06-06T18:14:56.55261549Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-06-06T18:14:56.553872902Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.256252ms grafana | logger=migrator t=2024-06-06T18:14:56.558640649Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-06-06T18:14:56.559371516Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=731.047µs grafana | logger=migrator t=2024-06-06T18:14:56.564435225Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-06-06T18:14:56.565601487Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.162962ms grafana | logger=migrator t=2024-06-06T18:14:56.570462635Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-06-06T18:14:56.580005687Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=9.541872ms grafana | logger=migrator t=2024-06-06T18:14:56.584661313Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-06-06T18:14:56.585306369Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=644.296µs grafana | logger=migrator t=2024-06-06T18:14:56.588816454Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-06-06T18:14:56.589374059Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=556.675µs grafana | logger=migrator t=2024-06-06T18:14:56.593938073Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-06-06T18:14:56.595193616Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.255063ms grafana | logger=migrator t=2024-06-06T18:14:56.599873922Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-06-06T18:14:56.600374167Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=500.375µs grafana | logger=migrator t=2024-06-06T18:14:56.604420046Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-06-06T18:14:56.606710418Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.289512ms grafana | logger=migrator t=2024-06-06T18:14:56.610706947Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-06-06T18:14:56.612910579Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.202922ms grafana | logger=migrator t=2024-06-06T18:14:56.617618285Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-06-06T18:14:56.617647925Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=30.13µs grafana | logger=migrator t=2024-06-06T18:14:56.620767516Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-06-06T18:14:56.620996429Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=225.313µs grafana | logger=migrator t=2024-06-06T18:14:56.62423866Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-06-06T18:14:56.62832389Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=4.08062ms grafana | logger=migrator t=2024-06-06T18:14:56.631639872Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-06-06T18:14:56.631951235Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=313.623µs grafana | logger=migrator t=2024-06-06T18:14:56.637222647Z level=info msg="Executing migration" id="Update json_data with nulls" policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb (172.17.0.2) 3306 port [tcp/mysql] succeeded! policy-db-migrator | 321 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Preparing upgrade release version: 1300 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 policy-db-migrator | upgrade: 0 -> 1300 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:56.637411298Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=189.261µs grafana | logger=migrator t=2024-06-06T18:14:56.641360947Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-06-06T18:14:56.644399197Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.03894ms grafana | logger=migrator t=2024-06-06T18:14:56.648071353Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-06-06T18:14:56.648350405Z level=info msg="Migration successfully executed" id="Update uid value" duration=279.492µs grafana | logger=migrator t=2024-06-06T18:14:56.653377085Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-06-06T18:14:56.655088521Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.734016ms grafana | logger=migrator t=2024-06-06T18:14:56.659405764Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-06-06T18:14:56.660346633Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=941.629µs grafana | logger=migrator t=2024-06-06T18:14:56.663972898Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-06-06T18:14:56.664791926Z level=info msg="Migration successfully executed" id="create api_key table" duration=818.848µs grafana | logger=migrator t=2024-06-06T18:14:56.669070388Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-06-06T18:14:56.669907407Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=836.739µs grafana | logger=migrator t=2024-06-06T18:14:56.67436557Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-06-06T18:14:56.675173397Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=808.417µs grafana | logger=migrator t=2024-06-06T18:14:56.679118536Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-06-06T18:14:56.680699472Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.580495ms grafana | logger=migrator t=2024-06-06T18:14:56.6856204Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-06-06T18:14:56.686511348Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=888.838µs grafana | logger=migrator t=2024-06-06T18:14:56.691319126Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-06-06T18:14:56.692442147Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.123431ms grafana | logger=migrator t=2024-06-06T18:14:56.69687947Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-06-06T18:14:56.697605757Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=726.447µs grafana | logger=migrator t=2024-06-06T18:14:56.702167402Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-06-06T18:14:56.708912447Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=6.744345ms grafana | logger=migrator t=2024-06-06T18:14:56.712842136Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-06-06T18:14:56.713589424Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=747.807µs grafana | logger=migrator t=2024-06-06T18:14:56.718554461Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-06-06T18:14:56.719280319Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=725.518µs grafana | logger=migrator t=2024-06-06T18:14:56.723038645Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-06-06T18:14:56.724211867Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.173142ms grafana | logger=migrator t=2024-06-06T18:14:56.7378669Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-06-06T18:14:56.738990992Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.123292ms grafana | logger=migrator t=2024-06-06T18:14:56.768623801Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-06-06T18:14:56.769298558Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=675.017µs grafana | logger=migrator t=2024-06-06T18:14:56.772807472Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-06-06T18:14:56.773703401Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=895.939µs grafana | logger=migrator t=2024-06-06T18:14:56.777415707Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-06-06T18:14:56.777440697Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=25.85µs grafana | logger=migrator t=2024-06-06T18:14:56.784028992Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-06-06T18:14:56.787728398Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=3.697566ms grafana | logger=migrator t=2024-06-06T18:14:56.791343443Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-06-06T18:14:56.794881818Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=3.538315ms grafana | logger=migrator t=2024-06-06T18:14:56.79824154Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-06-06T18:14:56.798448012Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=205.962µs grafana | logger=migrator t=2024-06-06T18:14:56.803728044Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-06-06T18:14:56.80630777Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.579525ms grafana | logger=migrator t=2024-06-06T18:14:56.810857234Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-06-06T18:14:56.813349968Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.492204ms grafana | logger=migrator t=2024-06-06T18:14:56.816960914Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-06-06T18:14:56.817692321Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=730.997µs grafana | logger=migrator t=2024-06-06T18:14:56.823130284Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-06-06T18:14:56.82379263Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=660.046µs grafana | logger=migrator t=2024-06-06T18:14:56.828459096Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-06-06T18:14:56.829289154Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=831.238µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:56.833421474Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:56.834280793Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=859.019µs policy-api | Waiting for mariadb port 3306... policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql grafana | logger=migrator t=2024-06-06T18:14:56.840752127Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" policy-api | mariadb (172.17.0.2:3306) open policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:56.841602074Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=849.967µs policy-api | Waiting for policy-db-migrator port 6824... prometheus | ts=2024-06-06T18:14:55.032Z caller=main.go:573 level=info msg="No time or size retention was set so using the default time retention" duration=15d policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) grafana | logger=migrator t=2024-06-06T18:14:56.845369041Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" policy-api | policy-db-migrator (172.17.0.5:6824) open prometheus | ts=2024-06-06T18:14:55.032Z caller=main.go:617 level=info msg="Starting Prometheus Server" mode=server version="(version=2.52.0, branch=HEAD, revision=879d80922a227c37df502e7315fad8ceb10a986d)" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:56.846496233Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.125602ms policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml prometheus | ts=2024-06-06T18:14:55.032Z caller=main.go:622 level=info build_context="(go=go1.22.3, platform=linux/amd64, user=root@1b4f4c206e41, date=20240508-21:56:43, tags=netgo,builtinassets,stringlabels)" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:56.849988146Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" policy-api | prometheus | ts=2024-06-06T18:14:55.032Z caller=main.go:623 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" policy-db-migrator | policy-api | . ____ _ __ _ _ grafana | logger=migrator t=2024-06-06T18:14:56.850166838Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=175.252µs prometheus | ts=2024-06-06T18:14:55.032Z caller=main.go:624 level=info fd_limits="(soft=1048576, hard=1048576)" policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ grafana | logger=migrator t=2024-06-06T18:14:56.853897745Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" prometheus | ts=2024-06-06T18:14:55.032Z caller=main.go:625 level=info vm_limits="(soft=unlimited, hard=unlimited)" policy-db-migrator | -------------- policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ grafana | logger=migrator t=2024-06-06T18:14:56.853948385Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=52.01µs prometheus | ts=2024-06-06T18:14:55.035Z caller=web.go:568 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) grafana | logger=migrator t=2024-06-06T18:14:56.860192546Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" prometheus | ts=2024-06-06T18:14:55.036Z caller=main.go:1129 level=info msg="Starting TSDB ..." policy-db-migrator | -------------- policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / grafana | logger=migrator t=2024-06-06T18:14:56.86367665Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=3.482354ms prometheus | ts=2024-06-06T18:14:55.039Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 policy-db-migrator | policy-api | =========|_|==============|___/=/_/_/_/ grafana | logger=migrator t=2024-06-06T18:14:56.867291286Z level=info msg="Executing migration" id="Add encrypted dashboard json column" prometheus | ts=2024-06-06T18:14:55.039Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 policy-db-migrator | policy-api | :: Spring Boot :: (v3.1.4) grafana | logger=migrator t=2024-06-06T18:14:56.869942251Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.649125ms prometheus | ts=2024-06-06T18:14:55.043Z caller=head.go:616 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-api | grafana | logger=migrator t=2024-06-06T18:14:56.873109753Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" prometheus | ts=2024-06-06T18:14:55.043Z caller=head.go:703 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.45µs policy-db-migrator | -------------- policy-api | [2024-06-06T18:15:13.309+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 22 (/app/api.jar started by policy in /opt/app/policy/api/bin) grafana | logger=migrator t=2024-06-06T18:14:56.873173153Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=63.62µs prometheus | ts=2024-06-06T18:14:55.043Z caller=head.go:711 level=info component=tsdb msg="Replaying WAL, this may take a while" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-api | [2024-06-06T18:15:13.310+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" grafana | logger=migrator t=2024-06-06T18:14:56.878367543Z level=info msg="Executing migration" id="create quota table v1" prometheus | ts=2024-06-06T18:14:55.043Z caller=head.go:783 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 policy-db-migrator | -------------- policy-api | [2024-06-06T18:15:15.082+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. grafana | logger=migrator t=2024-06-06T18:14:56.879654026Z level=info msg="Migration successfully executed" id="create quota table v1" duration=1.285363ms prometheus | ts=2024-06-06T18:14:55.043Z caller=head.go:820 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=35.07µs wal_replay_duration=435.894µs wbl_replay_duration=320ns chunk_snapshot_load_duration=0s mmap_chunk_replay_duration=2.45µs total_replay_duration=504.295µs policy-db-migrator | policy-api | [2024-06-06T18:15:15.177+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 84 ms. Found 6 JPA repository interfaces. grafana | logger=migrator t=2024-06-06T18:14:56.882905728Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" prometheus | ts=2024-06-06T18:14:55.046Z caller=main.go:1150 level=info fs_type=EXT4_SUPER_MAGIC policy-db-migrator | policy-api | [2024-06-06T18:15:15.594+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler grafana | logger=migrator t=2024-06-06T18:14:56.884164701Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.258013ms prometheus | ts=2024-06-06T18:14:55.046Z caller=main.go:1153 level=info msg="TSDB started" policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-api | [2024-06-06T18:15:15.595+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler grafana | logger=migrator t=2024-06-06T18:14:56.887300421Z level=info msg="Executing migration" id="Update quota table charset" prometheus | ts=2024-06-06T18:14:55.046Z caller=main.go:1335 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml policy-db-migrator | -------------- policy-api | [2024-06-06T18:15:16.251+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) grafana | logger=migrator t=2024-06-06T18:14:56.887325892Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=26.081µs prometheus | ts=2024-06-06T18:14:55.049Z caller=main.go:1372 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=2.220083ms db_storage=1.94µs remote_storage=919.368µs web_handler=4.681µs query_engine=2.18µs scrape=460.465µs scrape_sd=160.072µs notify=40.48µs notify_sd=14.61µs rules=2.55µs tracing=5.89µ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) policy-api | [2024-06-06T18:15:16.260+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] grafana | logger=migrator t=2024-06-06T18:14:56.89029198Z level=info msg="Executing migration" id="create plugin_setting table" prometheus | ts=2024-06-06T18:14:55.049Z caller=main.go:1114 level=info msg="Server is ready to receive web requests." policy-db-migrator | -------------- policy-api | [2024-06-06T18:15:16.262+00:00|INFO|StandardService|main] Starting service [Tomcat] grafana | logger=migrator t=2024-06-06T18:14:56.891081169Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=789.588µs prometheus | ts=2024-06-06T18:14:55.049Z caller=manager.go:163 level=info component="rule manager" msg="Starting rule manager..." policy-db-migrator | policy-api | [2024-06-06T18:15:16.262+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] grafana | logger=migrator t=2024-06-06T18:14:56.897494141Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" policy-db-migrator | policy-api | [2024-06-06T18:15:16.351+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext grafana | logger=migrator t=2024-06-06T18:14:56.898339119Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=842.678µs policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-api | [2024-06-06T18:15:16.352+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2976 ms grafana | logger=migrator t=2024-06-06T18:14:56.902597761Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" policy-db-migrator | -------------- policy-api | [2024-06-06T18:15:16.807+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] grafana | logger=migrator t=2024-06-06T18:14:56.90560716Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=3.008689ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-api | [2024-06-06T18:15:16.876+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 grafana | logger=migrator t=2024-06-06T18:14:56.908982593Z level=info msg="Executing migration" id="Update plugin_setting table charset" policy-db-migrator | -------------- policy-api | [2024-06-06T18:15:16.880+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer grafana | logger=migrator t=2024-06-06T18:14:56.909012943Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=30.83µs policy-db-migrator | policy-api | [2024-06-06T18:15:16.920+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled grafana | logger=migrator t=2024-06-06T18:14:56.914520927Z level=info msg="Executing migration" id="create session table" policy-db-migrator | policy-api | [2024-06-06T18:15:17.275+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer grafana | logger=migrator t=2024-06-06T18:14:56.915428016Z level=info msg="Migration successfully executed" id="create session table" duration=906.369µs policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-api | [2024-06-06T18:15:17.293+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... grafana | logger=migrator t=2024-06-06T18:14:56.918672028Z level=info msg="Executing migration" id="Drop old table playlist table" policy-api | [2024-06-06T18:15:17.382+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@2620e717 grafana | logger=migrator t=2024-06-06T18:14:56.918754968Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=83.521µs policy-db-migrator | -------------- policy-api | [2024-06-06T18:15:17.383+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. grafana | logger=migrator t=2024-06-06T18:14:56.922316564Z level=info msg="Executing migration" id="Drop old table playlist_item table" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-api | [2024-06-06T18:15:17.409+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) grafana | logger=migrator t=2024-06-06T18:14:56.922396944Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=80.26µs policy-db-migrator | -------------- policy-api | [2024-06-06T18:15:17.410+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead grafana | logger=migrator t=2024-06-06T18:14:56.927667886Z level=info msg="Executing migration" id="create playlist table v2" policy-db-migrator | policy-api | [2024-06-06T18:15:19.173+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) grafana | logger=migrator t=2024-06-06T18:14:56.928695655Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.027639ms policy-api | [2024-06-06T18:15:19.177+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' grafana | logger=migrator t=2024-06-06T18:14:56.933321161Z level=info msg="Executing migration" id="create playlist item table v2" policy-db-migrator | policy-api | [2024-06-06T18:15:20.474+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml grafana | logger=migrator t=2024-06-06T18:14:56.934598114Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.281393ms policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-api | [2024-06-06T18:15:21.197+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] grafana | logger=migrator t=2024-06-06T18:14:56.93835282Z level=info msg="Executing migration" id="Update playlist table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:56.93840136Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=50.16µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-api | [2024-06-06T18:15:22.271+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning grafana | logger=migrator t=2024-06-06T18:14:56.942300939Z level=info msg="Executing migration" id="Update playlist_item table charset" policy-db-migrator | -------------- policy-api | [2024-06-06T18:15:22.451+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@680f7a5e, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@3005133e, org.springframework.security.web.context.SecurityContextHolderFilter@56bc8c45, org.springframework.security.web.header.HeaderWriterFilter@234a08ea, org.springframework.security.web.authentication.logout.LogoutFilter@7f5179be, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@607c7f58, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@2f29400e, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@547a79cd, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@19a7e618, org.springframework.security.web.access.ExceptionTranslationFilter@2e26841f, org.springframework.security.web.access.intercept.AuthorizationFilter@6149184e] grafana | logger=migrator t=2024-06-06T18:14:56.942327389Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=27.2µs policy-db-migrator | policy-api | [2024-06-06T18:15:23.408+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' grafana | logger=migrator t=2024-06-06T18:14:56.947645121Z level=info msg="Executing migration" id="Add playlist column created_at" policy-db-migrator | policy-api | [2024-06-06T18:15:23.468+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] grafana | logger=migrator t=2024-06-06T18:14:56.953106464Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=5.461273ms policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-api | [2024-06-06T18:15:23.485+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' grafana | logger=migrator t=2024-06-06T18:14:56.957239495Z level=info msg="Executing migration" id="Add playlist column updated_at" policy-db-migrator | -------------- policy-api | [2024-06-06T18:15:23.506+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.975 seconds (process running for 11.579) grafana | logger=migrator t=2024-06-06T18:14:56.960305965Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.06538ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-api | [2024-06-06T18:15:27.470+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' grafana | logger=migrator t=2024-06-06T18:14:56.96492397Z level=info msg="Executing migration" id="drop preferences table v2" policy-db-migrator | -------------- policy-api | [2024-06-06T18:15:27.470+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' grafana | logger=migrator t=2024-06-06T18:14:56.965072001Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=149.391µs policy-db-migrator | policy-api | [2024-06-06T18:15:27.472+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 2 ms grafana | logger=migrator t=2024-06-06T18:14:56.968825898Z level=info msg="Executing migration" id="drop preferences table v3" policy-db-migrator | policy-api | [2024-06-06T18:15:30.076+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: grafana | logger=migrator t=2024-06-06T18:14:56.968976959Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=144.961µs policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-api | [] grafana | logger=migrator t=2024-06-06T18:14:56.972425734Z level=info msg="Executing migration" id="create preferences table v3" policy-db-migrator | -------------- policy-api | [2024-06-06T18:15:30.221+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes grafana | logger=migrator t=2024-06-06T18:14:56.973286411Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=861.898µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-api | [2024-06-06T18:15:30.481+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes grafana | logger=migrator t=2024-06-06T18:14:56.977743505Z level=info msg="Executing migration" id="Update preferences table charset" policy-db-migrator | -------------- policy-api | [2024-06-06T18:15:31.579+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policies grafana | logger=migrator t=2024-06-06T18:14:56.977769665Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=26.71µs policy-db-migrator | policy-api | [2024-06-06T18:15:33.473+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 grafana | logger=migrator t=2024-06-06T18:14:56.981197529Z level=info msg="Executing migration" id="Add column team_id in preferences" policy-db-migrator | policy-api | [2024-06-06T18:15:33.784+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 grafana | logger=migrator t=2024-06-06T18:14:56.98442198Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.224231ms policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-api | [2024-06-06T18:15:34.000+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 grafana | logger=migrator t=2024-06-06T18:14:56.98752599Z level=info msg="Executing migration" id="Update team_id column values in preferences" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:56.987687202Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=160.982µs policy-api | [2024-06-06T18:15:34.244+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-06-06T18:15:34.469+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2024-06-06T18:15:34.703+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 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-06-06T18:14:56.990235767Z level=info msg="Executing migration" id="Add column week_start in preferences" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:56.993683021Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.447044ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:56.998495938Z level=info msg="Executing migration" id="Add column preferences.json_data" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.001510617Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.015609ms policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql grafana | logger=migrator t=2024-06-06T18:14:57.00442398Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.004488821Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=66.681µs 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-06-06T18:14:57.006677246Z level=info msg="Executing migration" id="Add preferences index org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.007488875Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=811.579µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.012977345Z level=info msg="Executing migration" id="Add preferences index user_id" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.013956355Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=978.25µs policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql grafana | logger=migrator t=2024-06-06T18:14:57.017256231Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2024-06-06T18:14:57.018554625Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.299284ms grafana | logger=migrator t=2024-06-06T18:14:57.021880271Z level=info msg="Executing migration" id="add index alert org_id & id " policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.022907713Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.027032ms 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-06-06T18:14:57.028432213Z level=info msg="Executing migration" id="add index alert state" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.029350592Z level=info msg="Migration successfully executed" id="add index alert state" duration=918.669µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.03278357Z level=info msg="Executing migration" id="add index alert dashboard_id" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.033668849Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=885.389µs policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql grafana | logger=migrator t=2024-06-06T18:14:57.038683433Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.0393522Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=668.467µs 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-06-06T18:14:57.042382534Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.043248113Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=864.469µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.046481237Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.047411188Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=929.981µs policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-06-06T18:14:57.055348584Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.068681448Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=13.331654ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-06-06T18:14:57.072351969Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.073056696Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=705.707µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.077543545Z 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 | grafana | logger=migrator t=2024-06-06T18:14:57.078403894Z 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=859.829µs policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql grafana | logger=migrator t=2024-06-06T18:14:57.082414718Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.082734201Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=316.463µs 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-06-06T18:14:57.086619553Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.087694535Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=1.074632ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.094867683Z level=info msg="Executing migration" id="create alert_notification table v1" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.095549411Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=695.818µs policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql grafana | logger=migrator t=2024-06-06T18:14:57.098888466Z level=info msg="Executing migration" id="Add column is_default" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.101502085Z level=info msg="Migration successfully executed" id="Add column is_default" duration=2.612979ms 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-06-06T18:14:57.104998142Z level=info msg="Executing migration" id="Add column frequency" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.108515141Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.515979ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.113598046Z level=info msg="Executing migration" id="Add column send_reminder" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.121573452Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=7.978157ms policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-06-06T18:14:57.131374489Z level=info msg="Executing migration" id="Add column disable_resolve_message" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.138016651Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=6.642252ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-06-06T18:14:57.141614399Z level=info msg="Executing migration" id="add index alert_notification org_id & name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.142424629Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=811.4µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.146664045Z level=info msg="Executing migration" id="Update alert table charset" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.146733285Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=70.87µs policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-06-06T18:14:57.150988541Z level=info msg="Executing migration" id="Update alert_notification table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.151015312Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=27.751µs 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-06-06T18:14:57.15446589Z level=info msg="Executing migration" id="create notification_journal table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.156041587Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.572757ms policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.161291793Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql grafana | logger=migrator t=2024-06-06T18:14:57.169121118Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=7.828605ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.174316865Z level=info msg="Executing migration" id="drop alert_notification_journal" 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-06-06T18:14:57.175175243Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=860.248µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.179983346Z level=info msg="Executing migration" id="create alert_notification_state table v1" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.180587642Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=604.866µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.185103941Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql grafana | logger=migrator t=2024-06-06T18:14:57.186251894Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.149563ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.190426269Z level=info msg="Executing migration" id="Add for to alert table" 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-06-06T18:14:57.196664177Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=6.235968ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.203855965Z level=info msg="Executing migration" id="Add column uid in alert_notification" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.208637877Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=4.782971ms policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql grafana | logger=migrator t=2024-06-06T18:14:57.215208458Z level=info msg="Executing migration" id="Update uid column values in alert_notification" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.215614942Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=412.674µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-06-06T18:14:57.221877141Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.222977383Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.092342ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.229080139Z level=info msg="Executing migration" id="Remove unique index org_id_name" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.229908157Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=828.288µs policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql grafana | logger=migrator t=2024-06-06T18:14:57.233133853Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.236903413Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.76956ms 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-06-06T18:14:57.242950439Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.24301985Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=69.621µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.245984742Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.246972273Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=982.131µs policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql grafana | logger=migrator t=2024-06-06T18:14:57.250178827Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.251634013Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.454926ms 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-06-06T18:14:57.258483618Z level=info msg="Executing migration" id="Drop old annotation table v4" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.258592179Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=109.251µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.261848264Z level=info msg="Executing migration" id="create annotation table v5" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.262731524Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=884.85µs policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql grafana | logger=migrator t=2024-06-06T18:14:57.267399194Z level=info msg="Executing migration" id="add index annotation 0 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.268299884Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=900.9µs 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-06-06T18:14:57.271229876Z level=info msg="Executing migration" id="add index annotation 1 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.272408179Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.176503ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.278459714Z level=info msg="Executing migration" id="add index annotation 2 v3" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.27991666Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.457426ms policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql grafana | logger=migrator t=2024-06-06T18:14:57.283341177Z level=info msg="Executing migration" id="add index annotation 3 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.284330128Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=988.08µ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-06-06T18:14:57.290444454Z level=info msg="Executing migration" id="add index annotation 4 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.292140713Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.695789ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.296073955Z level=info msg="Executing migration" id="Update annotation table charset" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.296108376Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=36.021µs policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql grafana | logger=migrator t=2024-06-06T18:14:57.30115077Z level=info msg="Executing migration" id="Add column region_id to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.307989384Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=6.840434ms 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-06-06T18:14:57.313659496Z level=info msg="Executing migration" id="Drop category_id index" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.314609446Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=950.06µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.317533408Z level=info msg="Executing migration" id="Add column tags to annotation table" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.323747796Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=6.213528ms policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql grafana | logger=migrator t=2024-06-06T18:14:57.327473826Z level=info msg="Executing migration" id="Create annotation_tag table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.327998202Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=522.506µs 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-06-06T18:14:57.334751914Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.336304761Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.552947ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.341528238Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.342538669Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.011841ms policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2024-06-06T18:14:57.345745024Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.357530962Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=11.785238ms 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-06-06T18:14:57.367582711Z level=info msg="Executing migration" id="Create annotation_tag table v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.368553112Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=975.231µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.372059319Z 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-06-06T18:14:57.37299375Z 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=934.201µs policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2024-06-06T18:14:57.379178387Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.379588201Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=413.054µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) grafana | logger=migrator t=2024-06-06T18:14:57.385117231Z level=info msg="Executing migration" id="drop table annotation_tag_v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.386001361Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=884.2µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.392568522Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.392846685Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=296.803µs policy-db-migrator | > upgrade 0460-pdppolicystatus.sql grafana | logger=migrator t=2024-06-06T18:14:57.399835521Z level=info msg="Executing migration" id="Add created time to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.404171548Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.335827ms 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-06-06T18:14:57.409671458Z level=info msg="Executing migration" id="Add updated time to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.413993234Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.322046ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.420446645Z level=info msg="Executing migration" id="Add index for created in annotation table" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.421617327Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.173132ms policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2024-06-06T18:14:57.437202787Z level=info msg="Executing migration" id="Add index for updated in annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.438950365Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.741969ms 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-06-06T18:14:57.445069861Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.445377774Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=308.183µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.45132914Z level=info msg="Executing migration" id="Add epoch_end column" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.458273635Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=6.930495ms policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2024-06-06T18:14:57.464159949Z level=info msg="Executing migration" id="Add index for epoch_end" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.465306861Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.160453ms policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) grafana | logger=migrator t=2024-06-06T18:14:57.470592268Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.471077474Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=485.756µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.477849857Z level=info msg="Executing migration" id="Move region to single row" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.478328152Z level=info msg="Migration successfully executed" id="Move region to single row" duration=477.835µs policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2024-06-06T18:14:57.481603007Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.482534868Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=931.731µs grafana | logger=migrator t=2024-06-06T18:14:57.489348662Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" 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-06-06T18:14:57.490276141Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=922.349µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.49568187Z 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-06-06T18:14:57.497178386Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.499256ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.503715847Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" policy-db-migrator | > upgrade 0500-pdpsubgroup.sql grafana | logger=migrator t=2024-06-06T18:14:57.505014612Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.298075ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.509136276Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" 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-06-06T18:14:57.510165758Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.028502ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.514761147Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.515717218Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=955.171µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.519316997Z level=info msg="Executing migration" id="Increase tags column to length 4096" policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql grafana | logger=migrator t=2024-06-06T18:14:57.519435778Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=120.341µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.524498683Z level=info msg="Executing migration" id="create test_data table" 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-06-06T18:14:57.525987169Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.485816ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.530854601Z level=info msg="Executing migration" id="create dashboard_version table v1" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.531534629Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=680.328µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.536881648Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql grafana | logger=migrator t=2024-06-06T18:14:57.537646385Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=765.747µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.542101383Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" 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-06-06T18:14:57.543684411Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.581858ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.554247805Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.554439867Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=192.422µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.561057559Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql grafana | logger=migrator t=2024-06-06T18:14:57.561673636Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=616.207µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.565214965Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" 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-06-06T18:14:57.565279865Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=65.11µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.569500361Z level=info msg="Executing migration" id="create team table" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.57029012Z level=info msg="Migration successfully executed" id="create team table" duration=789.289µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.576660639Z level=info msg="Executing migration" id="add index team.org_id" policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql grafana | logger=migrator t=2024-06-06T18:14:57.57854008Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.87903ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.584110909Z level=info msg="Executing migration" id="add unique index team_org_id_name" 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-06-06T18:14:57.58597642Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.862621ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.592921925Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.597934509Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=5.012494ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.602844023Z level=info msg="Executing migration" id="Update uid column values in team" policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql grafana | logger=migrator t=2024-06-06T18:14:57.603036535Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=191.732µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.608292582Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" 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-06-06T18:14:57.609691877Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.397625ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.61458096Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.615860954Z level=info msg="Migration successfully executed" id="create team member table" duration=1.278284ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.622296064Z level=info msg="Executing migration" id="add index team_member.org_id" policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql grafana | logger=migrator t=2024-06-06T18:14:57.623453237Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.156363ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.627158756Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" 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-06-06T18:14:57.628143847Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=984.341µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.63584299Z level=info msg="Executing migration" id="add index team_member.team_id" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.636795441Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=951.331µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.641674434Z level=info msg="Executing migration" id="Add column email to team table" policy-db-migrator | > upgrade 0570-toscadatatype.sql grafana | logger=migrator t=2024-06-06T18:14:57.649488239Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=7.813994ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.65241099Z level=info msg="Executing migration" id="Add column external to team_member table" 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-06-06T18:14:57.657477595Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=5.065505ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.662888984Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.668161842Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=5.271688ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.67453603Z level=info msg="Executing migration" id="create dashboard acl table" policy-db-migrator | > upgrade 0580-toscadatatypes.sql grafana | logger=migrator t=2024-06-06T18:14:57.675476341Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=936.081µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.682100312Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" 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-06-06T18:14:57.683531897Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.429845ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.69017734Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.691219911Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.054141ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.697622531Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql grafana | logger=migrator t=2024-06-06T18:14:57.69939083Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.767999ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.705795769Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" 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-06-06T18:14:57.70678074Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=984.141µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.709979564Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.710959995Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=979.591µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.716217013Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=migrator t=2024-06-06T18:14:57.717192944Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=975.511µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.724012597Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.725759306Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.747079ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.730879081Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | > upgrade 0610-toscanodetemplates.sql grafana | logger=migrator t=2024-06-06T18:14:57.731707501Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=826.98µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.737970098Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" 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-06-06T18:14:57.738399043Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=433.185µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.747437471Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.748587074Z level=info msg="Migration successfully executed" id="create tag table" duration=1.150173ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.755065634Z level=info msg="Executing migration" id="add index tag.key_value" policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql grafana | logger=migrator t=2024-06-06T18:14:57.757084066Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=2.024352ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.763313893Z level=info msg="Executing migration" id="create login attempt table" 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-06-06T18:14:57.764159112Z level=info msg="Migration successfully executed" id="create login attempt table" duration=845.319µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.767190415Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.768737142Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.546847ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.778790012Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" policy-db-migrator | > upgrade 0630-toscanodetype.sql grafana | logger=migrator t=2024-06-06T18:14:57.780253178Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.463196ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.787499406Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" 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-06-06T18:14:57.804625991Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=17.127065ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.810290003Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.811029091Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=739.128µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.818984317Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | > upgrade 0640-toscanodetypes.sql grafana | logger=migrator t=2024-06-06T18:14:57.820750636Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.766209ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.829717044Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" 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-06-06T18:14:57.830729115Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=1.008251ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.838491769Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.839116076Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=624.367µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.846404055Z level=info msg="Executing migration" id="create user auth table" policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2024-06-06T18:14:57.847539657Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.135802ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.852804694Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" 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-06-06T18:14:57.854224899Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.419465ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.860357406Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.860467687Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=117.791µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.865442231Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" policy-db-migrator | > upgrade 0660-toscaparameter.sql grafana | logger=migrator t=2024-06-06T18:14:57.872580449Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=7.138668ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.876256278Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2024-06-06T18:14:57.881161802Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=4.905034ms grafana | logger=migrator t=2024-06-06T18:14:57.885725881Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2024-06-06T18:14:57.890819137Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.089866ms grafana | logger=migrator t=2024-06-06T18:14:57.896405457Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2024-06-06T18:14:57.90129245Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=4.886693ms grafana | logger=migrator t=2024-06-06T18:14:57.905547016Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" 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-06-06T18:14:57.906476797Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=929.43µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.911022426Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.922736742Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=11.713716ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.954400456Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2024-06-06T18:14:57.95571397Z level=info msg="Migration successfully executed" id="create server_lock table" duration=1.318444ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.962634936Z level=info msg="Executing migration" id="add index server_lock.operation_uid" 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-06-06T18:14:57.964397664Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.763078ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.97138559Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.97225432Z level=info msg="Migration successfully executed" id="create user auth token table" duration=870.24µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.978461117Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2024-06-06T18:14:57.979525539Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.064282ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:57.982906085Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.984055818Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.148013ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:57.994874715Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2024-06-06T18:14:57.996849786Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.972111ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.003041624Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" 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-06-06T18:14:58.009065556Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=6.023893ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.03933131Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.041383881Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=2.051241ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.050395065Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2024-06-06T18:14:58.051383594Z level=info msg="Migration successfully executed" id="create cache_data table" duration=985.959µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.059363847Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" 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-06-06T18:14:58.061132735Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.769168ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.066614622Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.067603553Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=988.221µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.077580286Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2024-06-06T18:14:58.079455435Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.878359ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.08954273Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" 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-06-06T18:14:58.089702042Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=160.622µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.096117458Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.09631531Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=212.252µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.102156031Z level=info msg="Executing migration" id="recreate alert_definition table" policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2024-06-06T18:14:58.103652407Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.496846ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.111851711Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" 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-06-06T18:14:58.113453999Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.601818ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.121230069Z 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-06-06T18:14:58.12324714Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=2.014511ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.133225534Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2024-06-06T18:14:58.133406055Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=181.351µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.141282276Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" 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-06-06T18:14:58.142431968Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.146762ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.148202988Z 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-06-06T18:14:58.14933809Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.134902ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.155564625Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2024-06-06T18:14:58.156622125Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.05504ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.161100973Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) grafana | logger=migrator t=2024-06-06T18:14:58.162256244Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.154691ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.16863384Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.177703984Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=9.076414ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.185468895Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2024-06-06T18:14:58.186388585Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=920.12µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.19077201Z level=info msg="Executing migration" id="delete alert_definition_version table" 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-06-06T18:14:58.190880011Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=113.851µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.196012935Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.198117216Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=2.109871ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.20521928Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2024-06-06T18:14:58.206310191Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.089881ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.211145921Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" 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-06-06T18:14:58.212356174Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.209493ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.218493118Z 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-06-06T18:14:58.218636319Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=143.411µs policy-db-migrator | policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2024-06-06T18:14:58.225962255Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.227183048Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.226533ms 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-06-06T18:14:58.234659045Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.235783757Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.124192ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.240928721Z 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-06-06T18:14:58.242255204Z 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.325724ms policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2024-06-06T18:14:58.251766462Z 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-06-06T18:14:58.253324528Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.556956ms 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-06-06T18:14:58.25921578Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.268581337Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=9.357866ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.273059424Z 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-06-06T18:14:58.274128514Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.0684ms policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2024-06-06T18:14:58.278711672Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.279682662Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=970.34µs 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-06-06T18:14:58.284350901Z 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-06-06T18:14:58.311359481Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=27.00774ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.316069239Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.340736245Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=24.666016ms policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2024-06-06T18:14:58.348490715Z 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-06-06T18:14:58.349524916Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.032981ms 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-06-06T18:14:58.356380697Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.358004834Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.621697ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.362945046Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.36923376Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=6.287744ms policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2024-06-06T18:14:58.377112062Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.385387198Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=8.272916ms 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-06-06T18:14:58.390101227Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.390796035Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=691.948µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.3971288Z 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-06-06T18:14:58.398804637Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.676587ms grafana | logger=migrator t=2024-06-06T18:14:58.406702259Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2024-06-06T18:14:58.40773918Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.036581ms policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2024-06-06T18:14:58.413931454Z 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-06-06T18:14:58.415398409Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.466725ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-06-06T18:14:58.424815547Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.424882268Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=67.311µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.428489556Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.436459648Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=7.970892ms policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-06-06T18:14:58.439426028Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.445399421Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=5.972723ms policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2024-06-06T18:14:58.452042539Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.457997231Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.954082ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.463908843Z 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-06-06T18:14:58.464817612Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=908.458µs policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-06-06T18:14:58.470658013Z 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-06-06T18:14:58.471611282Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=952.789µs policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-06-06T18:14:58.479351443Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.488874832Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=9.523399ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.495371348Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-06-06T18:14:58.501306141Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=5.934193ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.527561392Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-06-06T18:14:58.529540613Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.978341ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.536288523Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.542916611Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=6.627298ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.55044479Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-06-06T18:14:58.556771705Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=6.326865ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.562515745Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.562589675Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=74.1µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.566093092Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.567269765Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.174663ms policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-06-06T18:14:58.576416609Z 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 | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.578264349Z 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.84705ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2024-06-06T18:14:58.585030798Z 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-06-06T18:14:58.586525444Z 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.491535ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.59193061Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.592050831Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=119.331µs policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-06-06T18:14:58.600574599Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.607325949Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.75143ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2024-06-06T18:14:58.611915988Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.619107582Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=7.190654ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.624040593Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.631525061Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=7.483868ms policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-06-06T18:14:58.640632595Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.649301755Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=8.67528ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2024-06-06T18:14:58.655914744Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.665244101Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=9.326777ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.669884178Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.669938109Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=53.231µs policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-06-06T18:14:58.67583758Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.677136483Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.298263ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2024-06-06T18:14:58.689165199Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.699533806Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=10.364367ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.704313976Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.704362796Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=49.43µs policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-06-06T18:14:58.710783602Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.720587944Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=9.804962ms policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2024-06-06T18:14:58.727206803Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.728608937Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.400254ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.733167094Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.744990698Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=11.824144ms policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-06-06T18:14:58.749900458Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.750698827Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=798.379µs policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2024-06-06T18:14:58.759048543Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.760964693Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.918ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.766125507Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.777477144Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=11.352767ms policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2024-06-06T18:14:58.782878861Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.783749889Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=871.189µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.789367377Z 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-06-06T18:14:58.791161266Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.793069ms policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-06-06T18:14:58.799467863Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.800747215Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.277582ms policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2024-06-06T18:14:58.8079207Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.809301565Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.378855ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.81372482Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2024-06-06T18:14:58.813901352Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=175.952µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.819290528Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-06-06T18:14:58.820988685Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.697647ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.82528443Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" 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-06-06T18:14:58.827025348Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.740838ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.830655326Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.831287572Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.836693778Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-06-06T18:14:58.837633288Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=939.14µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.841595799Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" 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-06-06T18:14:58.842756961Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.160902ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.846186447Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.852841836Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.654569ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.858411034Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-06-06T18:14:58.859501264Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.08973ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.863806319Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" 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-06-06T18:14:58.865005792Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.193742ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.868828941Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.869847582Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.016821ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.875793744Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-06-06T18:14:58.877827704Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=2.03316ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.88211484Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" 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-06-06T18:14:58.884040069Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.924969ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.888068861Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.888112862Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=45.671µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.895219155Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-06-06T18:14:58.895284796Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=66.361µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.901003675Z level=info msg="Executing migration" id="add library_element folder uid" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-06-06T18:14:58.911296821Z level=info msg="Migration successfully executed" id="add library_element folder uid" duration=10.294016ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.914725688Z level=info msg="Executing migration" id="populate library_element folder_uid" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.915166492Z level=info msg="Migration successfully executed" id="populate library_element folder_uid" duration=440.194µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.919184284Z level=info msg="Executing migration" id="add index library_element org_id-folder_uid-name-kind" policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-06-06T18:14:58.920339826Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_uid-name-kind" duration=1.155282ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.926349428Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-06-06T18:14:58.926716161Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=366.503µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.929932425Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.931587422Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.655037ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.936556703Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-06-06T18:14:58.937588684Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.036681ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.943318964Z level=info msg="Executing migration" id="rename data_keys name column to id" 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 | grafana | logger=migrator t=2024-06-06T18:14:58.974620709Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=31.292255ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:58.978495908Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-06-06T18:14:58.9863626Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=7.863162ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:58.989550623Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-06-06T18:14:58.989738125Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=184.762µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.001937892Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.036449879Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=34.513257ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.04789987Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-06-06T18:14:59.080042231Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=32.143371ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.108704575Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-06-06T18:14:59.110228861Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=1.522566ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.117158745Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.118552599Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.394874ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.124447593Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-06-06T18:14:59.124779556Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=331.613µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.129267413Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-06-06T18:14:59.130210404Z level=info msg="Migration successfully executed" id="create permission table" duration=942.871µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.134493719Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.135945135Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.450096ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.140854616Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2024-06-06T18:14:59.142576015Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.711499ms policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-06-06T18:14:59.147387686Z level=info msg="Executing migration" id="create role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.148225945Z level=info msg="Migration successfully executed" id="create role table" duration=832.059µs policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-06-06T18:14:59.152667882Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.164172764Z level=info msg="Migration successfully executed" id="add column display_name" duration=11.506272ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.168251437Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.173430072Z level=info msg="Migration successfully executed" id="add column group_name" duration=5.178315ms policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-06-06T18:14:59.177277922Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.178312774Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.032092ms policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-06-06T18:14:59.182072614Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.183320587Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.246423ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.188458141Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.19011457Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.655898ms policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-06-06T18:14:59.194743698Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.195642997Z level=info msg="Migration successfully executed" id="create team role table" duration=899.129µs policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-06-06T18:14:59.20152993Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.203175268Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.643678ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.210442505Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.212059122Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.616107ms policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-06-06T18:14:59.216593129Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.217658211Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.065992ms policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-06-06T18:14:59.222515173Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.223343081Z level=info msg="Migration successfully executed" id="create user role table" duration=827.798µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.230487857Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.232141395Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.652728ms policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2024-06-06T18:14:59.239258241Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.240264471Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.0063ms policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL grafana | logger=migrator t=2024-06-06T18:14:59.248460308Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.250080125Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.619407ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.265111735Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.266668241Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.555736ms policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-06-06T18:14:59.271631454Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.273326422Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.694018ms 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 | grafana | logger=migrator t=2024-06-06T18:14:59.278035061Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.279327605Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.293314ms policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2024-06-06T18:14:59.289952488Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.299459999Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=9.508531ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.307643525Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.308679467Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.035462ms policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-06-06T18:14:59.31468145Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.316405569Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.719239ms policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-06-06T18:14:59.321725176Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.323502934Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.777618ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.331451758Z level=info msg="Executing migration" id="add unique index role.uid" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.33344918Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=2.000322ms policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-06-06T18:14:59.338283071Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.339584644Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.301504ms policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-06-06T18:14:59.34480933Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.346203605Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.393845ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.350231988Z level=info msg="Executing migration" id="add column hidden to role table" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.358403015Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=8.170597ms policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-06-06T18:14:59.362239935Z level=info msg="Executing migration" id="permission kind migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.367832474Z level=info msg="Migration successfully executed" id="permission kind migration" duration=5.591959ms policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-06-06T18:14:59.371651775Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-06-06T18:14:59.381031844Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=9.379219ms policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-06-06T18:14:59.386089938Z level=info msg="Executing migration" id="permission identifier migration" policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-06-06T18:14:59.39577452Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=9.685952ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.399736903Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.400849895Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.112592ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.406326623Z level=info msg="Executing migration" id="add permission action scope role_id index" policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-06-06T18:14:59.4070946Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=767.797µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.411966523Z level=info msg="Executing migration" id="remove permission role_id action scope index" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2024-06-06T18:14:59.41360616Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.639757ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.417950666Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.418891366Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=940.04µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.423438854Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-06-06T18:14:59.425716339Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=2.275595ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.431266358Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) grafana | logger=migrator t=2024-06-06T18:14:59.431416569Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=151.062µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.434871445Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.434909416Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=38.851µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.438223581Z level=info msg="Executing migration" id="teams permissions migration" policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2024-06-06T18:14:59.438795677Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=569.876µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.442354725Z level=info msg="Executing migration" id="dashboard permissions" policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2024-06-06T18:14:59.443459726Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.106381ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.44937831Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.450708064Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.329984ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.454503593Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-06-06T18:14:59.454976069Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=475.476µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.458668218Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-06-06T18:14:59.459530657Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=862.559µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.463385818Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.464822134Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.434835ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.471280041Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-06-06T18:14:59.472683746Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.404775ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.476561208Z level=info msg="Executing migration" id="add column org_id in query_history_star" policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.484849466Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.286848ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.488724147Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-06-06T18:14:59.488839578Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=116.191µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.495524989Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) grafana | logger=migrator t=2024-06-06T18:14:59.49660383Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.078101ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.502542684Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.504489404Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.9465ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.50879767Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-06-06T18:14:59.509992212Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.194102ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.515631852Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) grafana | logger=migrator t=2024-06-06T18:14:59.526649739Z level=info msg="Migration successfully executed" id="add correlation config column" duration=11.017797ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.530718713Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.531564171Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=845.028µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.535333591Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | > upgrade 0120-toscatrigger.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.536512034Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.178223ms policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-06-06T18:14:59.541938632Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.564912055Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=22.973713ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.568908687Z level=info msg="Executing migration" id="create correlation v2" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.569761007Z level=info msg="Migration successfully executed" id="create correlation v2" duration=851.85µs policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-06-06T18:14:59.57479711Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.57667021Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.87299ms policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-06-06T18:14:59.580933665Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.582807455Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.87374ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.586978489Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.588184532Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.205733ms policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-06-06T18:14:59.5936226Z level=info msg="Executing migration" id="copy correlation v1 to v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.594142705Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=517.535µs policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-06-06T18:14:59.59837551Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.599701014Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.324814ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.603637126Z level=info msg="Executing migration" id="add provisioning column" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.611839673Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.205497ms policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-06-06T18:14:59.616624294Z level=info msg="Executing migration" id="create entity_events table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.617519243Z level=info msg="Migration successfully executed" id="create entity_events table" duration=894.18µs policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-06-06T18:14:59.621871869Z level=info msg="Executing migration" id="create dashboard public config v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.623609598Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.733799ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.628406319Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.629199907Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2024-06-06T18:14:59.633812136Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-06-06T18:14:59.634317182Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.638198093Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.639253553Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.05338ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.643914484Z level=info msg="Executing migration" id="recreate dashboard public config v1" policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2024-06-06T18:14:59.645648622Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.733159ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.650816317Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.651980338Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.164021ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.656204443Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2024-06-06T18:14:59.658036293Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.83171ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.662817194Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY grafana | logger=migrator t=2024-06-06T18:14:59.664265109Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.449525ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.669159691Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2024-06-06T18:14:59.670257902Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.096381ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.674285125Z level=info msg="Executing migration" id="Drop public config table" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.675619289Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.333054ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.680723624Z level=info msg="Executing migration" id="Recreate dashboard public config v2" policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.682631454Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.90716ms policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-06-06T18:14:59.711848264Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.713681893Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.833539ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.717635095Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.719488735Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.85283ms policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=migrator t=2024-06-06T18:14:59.72566985Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.727941925Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=2.270585ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.732338211Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.753707418Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=21.370227ms policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-06-06T18:14:59.757222796Z level=info msg="Executing migration" id="add annotations_enabled column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.763473351Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.250145ms policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=migrator t=2024-06-06T18:14:59.767979459Z level=info msg="Executing migration" id="add time_selection_enabled column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.776412228Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.432329ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.781446572Z level=info msg="Executing migration" id="delete orphaned public dashboards" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.781811766Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=364.414µs policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=migrator t=2024-06-06T18:14:59.786309563Z level=info msg="Executing migration" id="add share column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.797748306Z level=info msg="Migration successfully executed" id="add share column" duration=11.438123ms policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2024-06-06T18:14:59.802172442Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.802382034Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=209.152µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.80581721Z level=info msg="Executing migration" id="create file table" policy-db-migrator | msg grafana | logger=migrator t=2024-06-06T18:14:59.806871742Z level=info msg="Migration successfully executed" id="create file table" duration=1.054502ms policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2024-06-06T18:14:59.811096457Z level=info msg="Executing migration" id="file table idx: path natural pk" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.81234573Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.248773ms policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2024-06-06T18:14:59.819780149Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.821039202Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.265533ms policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2024-06-06T18:14:59.82739094Z level=info msg="Executing migration" id="create file_meta table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.828847925Z level=info msg="Migration successfully executed" id="create file_meta table" duration=1.456855ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.833243852Z level=info msg="Executing migration" id="file table idx: path key" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.835314513Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=2.070611ms policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-06-06T18:14:59.844122057Z level=info msg="Executing migration" id="set path collation in file table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.844290829Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=168.522µs policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-06-06T18:14:59.847887117Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.84815811Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=262.103µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.85200751Z level=info msg="Executing migration" id="managed permissions migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.853013461Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=1.004691ms policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-06-06T18:14:59.856830562Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.857185616Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=354.924µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.861680583Z level=info msg="Executing migration" id="RBAC action name migrator" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.86323123Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.549746ms policy-db-migrator | > upgrade 0120-audit_sequence.sql grafana | logger=migrator t=2024-06-06T18:14:59.866814068Z level=info msg="Executing migration" id="Add UID column to playlist" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.875751482Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.936734ms 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)) grafana | logger=migrator t=2024-06-06T18:14:59.879488242Z level=info msg="Executing migration" id="Update uid column values in playlist" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.879749025Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=260.333µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.883236612Z level=info msg="Executing migration" id="Add index for uid in playlist" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.884398044Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.156032ms policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) grafana | logger=migrator t=2024-06-06T18:14:59.889378397Z level=info msg="Executing migration" id="update group index for alert rules" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.889844482Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=466.585µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.893220978Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" policy-db-migrator | policy-db-migrator | > upgrade 0130-statistics_sequence.sql grafana | logger=migrator t=2024-06-06T18:14:59.893668073Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=446.675µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.897551544Z level=info msg="Executing migration" id="admin only folder/dashboard permission" 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)) grafana | logger=migrator t=2024-06-06T18:14:59.898443103Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=890.989µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.902567647Z level=info msg="Executing migration" id="add action column to seed_assignment" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.911477332Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=8.910275ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.915895319Z level=info msg="Executing migration" id="add scope column to seed_assignment" policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2024-06-06T18:14:59.922324566Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.428957ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.926148687Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:14:59.927338Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.186763ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:14:59.930842747Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" policy-db-migrator | TRUNCATE TABLE sequence grafana | logger=migrator t=2024-06-06T18:15:00.00366272Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=72.819733ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:15:00.008677783Z level=info msg="Executing migration" id="add unique index builtin_role_name back" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:15:00.009629503Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=950.89µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:15:00.01313156Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" policy-db-migrator | > upgrade 0100-pdpstatistics.sql grafana | logger=migrator t=2024-06-06T18:15:00.014419033Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.289533ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:15:00.018566557Z level=info msg="Executing migration" id="add primary key to seed_assigment" policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-06-06T18:15:00.045792147Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=27.22496ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:15:00.051481077Z level=info msg="Executing migration" id="add origin column to seed_assignment" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:15:00.060448982Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=8.966845ms grafana | logger=migrator t=2024-06-06T18:15:00.064160532Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:15:00.064606186Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=444.934µs policy-db-migrator | DROP TABLE pdpstatistics grafana | logger=migrator t=2024-06-06T18:15:00.069343566Z level=info msg="Executing migration" id="prevent seeding OnCall access" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:15:00.069600229Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=256.343µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:15:00.073743953Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:15:00.074125227Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=380.974µs policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-06-06T18:15:00.078008899Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:15:00.078579414Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=568.935µs policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats grafana | logger=migrator t=2024-06-06T18:15:00.082654668Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:15:00.083169893Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=515.215µs policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:15:00.087899243Z level=info msg="Executing migration" id="create folder table" policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:15:00.088985815Z level=info msg="Migration successfully executed" id="create folder table" duration=1.080912ms policy-db-migrator | > upgrade 0120-statistics_sequence.sql grafana | logger=migrator t=2024-06-06T18:15:00.093363411Z level=info msg="Executing migration" id="Add index for parent_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:15:00.095433513Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=2.069792ms policy-db-migrator | DROP TABLE statistics_sequence grafana | logger=migrator t=2024-06-06T18:15:00.100457237Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-06-06T18:15:00.102443027Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.97794ms policy-db-migrator | grafana | logger=migrator t=2024-06-06T18:15:00.108242309Z level=info msg="Executing migration" id="Update folder title length" policy-db-migrator | policyadmin: OK: upgrade (1300) grafana | logger=migrator t=2024-06-06T18:15:00.108311379Z level=info msg="Migration successfully executed" id="Update folder title length" duration=69.85µs policy-db-migrator | name version grafana | logger=migrator t=2024-06-06T18:15:00.112661115Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" policy-db-migrator | policyadmin 1300 grafana | logger=migrator t=2024-06-06T18:15:00.114637907Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.976472ms policy-db-migrator | ID script operation from_version to_version tag success atTime grafana | logger=migrator t=2024-06-06T18:15:00.120120985Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:04 grafana | logger=migrator t=2024-06-06T18:15:00.12153473Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.414645ms policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:04 grafana | logger=migrator t=2024-06-06T18:15:00.126177569Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:04 grafana | logger=migrator t=2024-06-06T18:15:00.127416002Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.235423ms policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:04 grafana | logger=migrator t=2024-06-06T18:15:00.130772658Z level=info msg="Executing migration" id="Sync dashboard and folder table" policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:04 grafana | logger=migrator t=2024-06-06T18:15:00.131257083Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=483.625µs policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:04 grafana | logger=migrator t=2024-06-06T18:15:00.135003572Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:04 grafana | logger=migrator t=2024-06-06T18:15:00.135326887Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=322.535µs policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:04 grafana | logger=migrator t=2024-06-06T18:15:00.139737983Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:04 grafana | logger=migrator t=2024-06-06T18:15:00.141502052Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.768429ms policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:04 grafana | logger=migrator t=2024-06-06T18:15:00.145596415Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:04 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:04 grafana | logger=migrator t=2024-06-06T18:15:00.146846299Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=1.249564ms policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:04 grafana | logger=migrator t=2024-06-06T18:15:00.150801521Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:04 grafana | logger=migrator t=2024-06-06T18:15:00.151974323Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.171582ms policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:04 grafana | logger=migrator t=2024-06-06T18:15:00.157756975Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:04 grafana | logger=migrator t=2024-06-06T18:15:00.15925606Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.501065ms policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:04 grafana | logger=migrator t=2024-06-06T18:15:00.163116951Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:04 grafana | logger=migrator t=2024-06-06T18:15:00.164594987Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.476366ms policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:05 grafana | logger=migrator t=2024-06-06T18:15:00.168384327Z level=info msg="Executing migration" id="create anon_device table" policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:05 grafana | logger=migrator t=2024-06-06T18:15:00.169898463Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.514176ms policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:05 grafana | logger=migrator t=2024-06-06T18:15:00.174675644Z level=info msg="Executing migration" id="add unique index anon_device.device_id" policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:05 grafana | logger=migrator t=2024-06-06T18:15:00.176014268Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.338394ms policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:05 grafana | logger=migrator t=2024-06-06T18:15:00.183170354Z level=info msg="Executing migration" id="add index anon_device.updated_at" policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:05 grafana | logger=migrator t=2024-06-06T18:15:00.185748242Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=2.586038ms policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:05 grafana | logger=migrator t=2024-06-06T18:15:00.192884437Z level=info msg="Executing migration" id="create signing_key table" policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:05 grafana | logger=migrator t=2024-06-06T18:15:00.193856667Z level=info msg="Migration successfully executed" id="create signing_key table" duration=971.61µs policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:05 grafana | logger=migrator t=2024-06-06T18:15:00.199985462Z level=info msg="Executing migration" id="add unique index signing_key.key_id" policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:05 grafana | logger=migrator t=2024-06-06T18:15:00.202402998Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=2.416396ms policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:05 grafana | logger=migrator t=2024-06-06T18:15:00.207681034Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:05 grafana | logger=migrator t=2024-06-06T18:15:00.209003398Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.321324ms policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:05 grafana | logger=migrator t=2024-06-06T18:15:00.213709958Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:05 grafana | logger=migrator t=2024-06-06T18:15:00.214143163Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=433.415µs policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:05 grafana | logger=migrator t=2024-06-06T18:15:00.218370157Z level=info msg="Executing migration" id="Add folder_uid for dashboard" policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:05 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:05 grafana | logger=migrator t=2024-06-06T18:15:00.231303554Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=12.935867ms policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:05 grafana | logger=migrator t=2024-06-06T18:15:00.235198736Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:05 grafana | logger=migrator t=2024-06-06T18:15:00.235766991Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=568.955µs policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:05 grafana | logger=migrator t=2024-06-06T18:15:00.238928946Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:05 grafana | logger=migrator t=2024-06-06T18:15:00.238983416Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=55.36µs grafana | logger=migrator t=2024-06-06T18:15:00.243170891Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:05 grafana | logger=migrator t=2024-06-06T18:15:00.244356112Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.185271ms policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:05 grafana | logger=migrator t=2024-06-06T18:15:00.249609988Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:05 grafana | logger=migrator t=2024-06-06T18:15:00.24974687Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=138.362µs policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:06 grafana | logger=migrator t=2024-06-06T18:15:00.253673962Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:06 grafana | logger=migrator t=2024-06-06T18:15:00.255789535Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=2.115043ms policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:06 grafana | logger=migrator t=2024-06-06T18:15:00.260637376Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:06 grafana | logger=migrator t=2024-06-06T18:15:00.262674388Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=2.036702ms policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:06 grafana | logger=migrator t=2024-06-06T18:15:00.269238287Z level=info msg="Executing migration" id="create sso_setting table" policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:06 grafana | logger=migrator t=2024-06-06T18:15:00.270381839Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.142762ms policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:06 grafana | logger=migrator t=2024-06-06T18:15:00.274513103Z level=info msg="Executing migration" id="copy kvstore migration status to each org" policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:06 grafana | logger=migrator t=2024-06-06T18:15:00.275835667Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=1.323954ms policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:06 grafana | logger=migrator t=2024-06-06T18:15:00.280749949Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:06 grafana | logger=migrator t=2024-06-06T18:15:00.281343095Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=594.676µs policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:06 grafana | logger=migrator t=2024-06-06T18:15:00.285183966Z level=info msg="Executing migration" id="managed dashboard permissions annotation actions migration" policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:06 grafana | logger=migrator t=2024-06-06T18:15:00.286355098Z level=info msg="Migration successfully executed" id="managed dashboard permissions annotation actions migration" duration=1.170802ms policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:06 grafana | logger=migrator t=2024-06-06T18:15:00.290195219Z level=info msg="Executing migration" id="create cloud_migration table v1" policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:06 grafana | logger=migrator t=2024-06-06T18:15:00.291121629Z level=info msg="Migration successfully executed" id="create cloud_migration table v1" duration=926.37µs policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:06 grafana | logger=migrator t=2024-06-06T18:15:00.31855517Z level=info msg="Executing migration" id="create cloud_migration_run table v1" policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:06 grafana | logger=migrator t=2024-06-06T18:15:00.320065937Z level=info msg="Migration successfully executed" id="create cloud_migration_run table v1" duration=1.507716ms policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:06 grafana | logger=migrator t=2024-06-06T18:15:00.329101062Z level=info msg="Executing migration" id="add stack_id column" policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:06 grafana | logger=migrator t=2024-06-06T18:15:00.341028099Z level=info msg="Migration successfully executed" id="add stack_id column" duration=11.927907ms policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:06 grafana | logger=migrator t=2024-06-06T18:15:00.344380024Z level=info msg="Executing migration" id="add region_slug column" policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:06 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:06 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:06 grafana | logger=migrator t=2024-06-06T18:15:00.353816794Z level=info msg="Migration successfully executed" id="add region_slug column" duration=9.43666ms policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:06 grafana | logger=migrator t=2024-06-06T18:15:00.357989429Z level=info msg="Executing migration" id="add cluster_slug column" policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:06 grafana | logger=migrator t=2024-06-06T18:15:00.365128774Z level=info msg="Migration successfully executed" id="add cluster_slug column" duration=7.138335ms policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:06 grafana | logger=migrator t=2024-06-06T18:15:00.369988536Z level=info msg="Executing migration" id="alter kv_store.value to longtext" policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:07 grafana | logger=migrator t=2024-06-06T18:15:00.370230758Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=275.463µs policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:07 grafana | logger=migrator t=2024-06-06T18:15:00.373950378Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:07 grafana | logger=migrator t=2024-06-06T18:15:00.385396859Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=11.445821ms policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:07 grafana | logger=migrator t=2024-06-06T18:15:00.389125959Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:07 grafana | logger=migrator t=2024-06-06T18:15:00.398281735Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=9.154076ms policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:07 grafana | logger=migrator t=2024-06-06T18:15:00.40335808Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:07 grafana | logger=migrator t=2024-06-06T18:15:00.403697043Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=338.693µs policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:07 grafana | logger=migrator t=2024-06-06T18:15:00.407322732Z level=info msg="migrations completed" performed=558 skipped=0 duration=4.441705466s policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:07 grafana | logger=migrator t=2024-06-06T18:15:00.407921808Z level=info msg="Unlocking database" policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:07 grafana | logger=sqlstore t=2024-06-06T18:15:00.429564428Z level=info msg="Created default admin" user=admin policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:07 grafana | logger=sqlstore t=2024-06-06T18:15:00.430006982Z level=info msg="Created default organization" policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:07 grafana | logger=secrets t=2024-06-06T18:15:00.435974655Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:07 grafana | logger=plugin.angulardetectorsprovider.dynamic t=2024-06-06T18:15:00.485538252Z level=info msg="Restored cache from database" duration=503.706µs policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:07 grafana | logger=plugin.store t=2024-06-06T18:15:00.487480182Z level=info msg="Loading plugins..." policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:07 grafana | logger=plugins.registration t=2024-06-06T18:15:00.521175919Z level=error msg="Could not register plugin" pluginId=xychart error="plugin xychart is already registered" policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:07 grafana | logger=plugins.initialization t=2024-06-06T18:15:00.5212032Z level=error msg="Could not initialize plugin" pluginId=xychart error="plugin xychart is already registered" policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:07 grafana | logger=local.finder t=2024-06-06T18:15:00.52126314Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:07 grafana | logger=plugin.store t=2024-06-06T18:15:00.5212726Z level=info msg="Plugins loaded" count=54 duration=33.794028ms policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:07 grafana | logger=query_data t=2024-06-06T18:15:00.525433635Z level=info msg="Query Service initialization" policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:07 grafana | logger=live.push_http t=2024-06-06T18:15:00.529486208Z level=info msg="Live Push Gateway initialization" policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:07 grafana | logger=ngalert.notifier.alertmanager org=1 t=2024-06-06T18:15:00.537425472Z level=info msg="Applying new configuration to Alertmanager" configHash=a013a3f424edb13bed8050eaf374d506 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:07 grafana | logger=ngalert.state.manager t=2024-06-06T18:15:00.546038653Z level=info msg="Running in alternative execution of Error/NoData mode" policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:08 grafana | logger=infra.usagestats.collector t=2024-06-06T18:15:00.550109317Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:08 grafana | logger=provisioning.datasources t=2024-06-06T18:15:00.553596023Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:08 grafana | logger=provisioning.alerting t=2024-06-06T18:15:00.576020321Z level=info msg="starting to provision alerting" policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:08 grafana | logger=provisioning.alerting t=2024-06-06T18:15:00.576054681Z level=info msg="finished to provision alerting" policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:08 grafana | logger=ngalert.state.manager t=2024-06-06T18:15:00.576466316Z level=info msg="Warming state cache for startup" policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:08 grafana | logger=ngalert.state.manager t=2024-06-06T18:15:00.577038722Z level=info msg="State cache has been initialized" states=0 duration=572.786µs policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0606241815040800u 1 2024-06-06 18:15:08 grafana | logger=ngalert.multiorg.alertmanager t=2024-06-06T18:15:00.577158623Z level=info msg="Starting MultiOrg Alertmanager" policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 0606241815040900u 1 2024-06-06 18:15:08 grafana | logger=ngalert.scheduler t=2024-06-06T18:15:00.577254054Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 0606241815040900u 1 2024-06-06 18:15:08 grafana | logger=ticker t=2024-06-06T18:15:00.577398206Z level=info msg=starting first_tick=2024-06-06T18:15:10Z policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 0606241815040900u 1 2024-06-06 18:15:08 grafana | logger=http.server t=2024-06-06T18:15:00.580272706Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 0606241815040900u 1 2024-06-06 18:15:08 grafana | logger=grafanaStorageLogger t=2024-06-06T18:15:00.589886928Z level=info msg="Storage starting" policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 0606241815040900u 1 2024-06-06 18:15:08 grafana | logger=grafana.update.checker t=2024-06-06T18:15:00.677285186Z level=info msg="Update check succeeded" duration=100.90628ms policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 0606241815040900u 1 2024-06-06 18:15:08 grafana | logger=plugins.update.checker t=2024-06-06T18:15:00.692840251Z level=info msg="Update check succeeded" duration=116.042271ms policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0606241815040900u 1 2024-06-06 18:15:08 grafana | logger=plugin.angulardetectorsprovider.dynamic t=2024-06-06T18:15:00.709549298Z level=info msg="Patterns update finished" duration=82.207992ms policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0606241815040900u 1 2024-06-06 18:15:08 grafana | logger=provisioning.dashboard t=2024-06-06T18:15:00.713952955Z level=info msg="starting to provision dashboards" policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0606241815040900u 1 2024-06-06 18:15:08 grafana | logger=sqlstore.transactions t=2024-06-06T18:15:00.750089088Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 0606241815040900u 1 2024-06-06 18:15:08 grafana | logger=sqlstore.transactions t=2024-06-06T18:15:00.761326018Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 0606241815040900u 1 2024-06-06 18:15:08 grafana | logger=sqlstore.transactions t=2024-06-06T18:15:00.780658653Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=2 code="database is locked" policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 0606241815040900u 1 2024-06-06 18:15:08 grafana | logger=provisioning.dashboard t=2024-06-06T18:15:00.950013808Z level=info msg="finished to provision dashboards" policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 0606241815040900u 1 2024-06-06 18:15:09 grafana | logger=grafana-apiserver t=2024-06-06T18:15:01.134870893Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 0606241815041000u 1 2024-06-06 18:15:09 grafana | logger=grafana-apiserver t=2024-06-06T18:15:01.135480099Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 0606241815041000u 1 2024-06-06 18:15:09 grafana | logger=infra.usagestats t=2024-06-06T18:15:49.589312556Z level=info msg="Usage stats are ready to report" policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 0606241815041000u 1 2024-06-06 18:15:09 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 0606241815041000u 1 2024-06-06 18:15:09 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 0606241815041000u 1 2024-06-06 18:15:09 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 0606241815041000u 1 2024-06-06 18:15:09 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 0606241815041000u 1 2024-06-06 18:15:09 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 0606241815041000u 1 2024-06-06 18:15:09 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 0606241815041000u 1 2024-06-06 18:15:09 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 0606241815041100u 1 2024-06-06 18:15:09 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 0606241815041200u 1 2024-06-06 18:15:10 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 0606241815041200u 1 2024-06-06 18:15:10 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 0606241815041200u 1 2024-06-06 18:15:11 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 0606241815041200u 1 2024-06-06 18:15:11 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 0606241815041300u 1 2024-06-06 18:15:11 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 0606241815041300u 1 2024-06-06 18:15:11 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 0606241815041300u 1 2024-06-06 18:15:11 policy-db-migrator | policyadmin: OK @ 1300 ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping prometheus ... Stopping mariadb ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing prometheus ... Removing mariadb ... Removing policy-api ... done Removing grafana ... done Removing policy-db-migrator ... done Removing mariadb ... done Removing prometheus ... done Removing network compose_default ++ cd /w/workspace/policy-api-montreal-project-csit-api + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.ThAIyswIfD ]] + rsync -av /tmp/tmp.ThAIyswIfD/ /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,344,734 bytes received 95 bytes 2,689,658.00 bytes/sec total size is 1,344,084 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 2105 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! -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/jenkins3281556125233036864.sh ---> sysstat.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins2006015530910373005.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/jenkins2322973033671740889.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-QFOh from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-QFOh/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins8022498431499769252.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-montreal-project-csit-api@tmp/config14969095475681142337tmp 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/jenkins195796553810314062.sh ---> create-netrc.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins13561510961715504450.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-QFOh from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-QFOh/bin to PATH [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins720136756650057847.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins6464808124244759355.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-QFOh 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-QFOh/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/jenkins3971123445419656169.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-QFOh from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-QFOh/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-montreal-project-csit-api/208 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-15135 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 853 27285 0 4027 30857 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:43:3a:ef brd ff:ff:ff:ff:ff:ff inet 10.30.107.254/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86038sec preferred_lft 86038sec inet6 fe80::f816:3eff:fe43:3aef/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:3a:9d:71:b3 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-15135) 06/06/24 _x86_64_ (8 CPU) 18:11:34 LINUX RESTART (8 CPU) 18:12:01 tps rtps wtps bread/s bwrtn/s 18:13:01 263.72 71.52 192.20 4592.30 39541.41 18:14:01 101.10 13.91 87.19 1140.74 22924.45 18:15:01 331.39 15.48 315.91 2164.45 80858.45 18:16:01 113.83 6.47 107.37 302.12 16231.01 18:17:01 43.13 0.95 42.18 57.06 15886.80 Average: 170.64 21.67 148.97 1651.35 35089.95 18:12:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:13:01 30205048 31669704 2734164 8.30 56448 1727148 1535792 4.52 899260 1557060 79760 18:14:01 29819248 31677636 3119964 9.47 83772 2071400 1485872 4.37 911892 1884892 210428 18:15:01 27817300 31498588 5121912 15.55 124848 3780432 3231128 9.51 1197764 3472808 15412 18:16:01 26993948 30693700 5945264 18.05 128756 3793064 4181884 12.30 2050292 3437080 576 18:17:01 27921304 31572704 5017908 15.23 129604 3753016 1572392 4.63 1200280 3385132 3880 Average: 28551370 31422466 4387842 13.32 104686 3025012 2401414 7.07 1251898 2747394 62011 18:12:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:13:01 lo 1.47 1.47 0.16 0.16 0.00 0.00 0.00 0.00 18:13:01 ens3 303.40 237.66 1470.60 72.98 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:14:01 lo 1.20 1.20 0.13 0.13 0.00 0.00 0.00 0.00 18:14:01 ens3 47.21 35.03 664.30 7.09 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:15:01 lo 9.00 9.00 0.83 0.83 0.00 0.00 0.00 0.00 18:15:01 vethe860b20 0.07 0.18 0.00 0.01 0.00 0.00 0.00 0.00 18:15:01 ens3 295.98 189.44 9709.52 15.52 0.00 0.00 0.00 0.00 18:15:01 vethdcbb0a0 0.58 0.75 0.07 0.39 0.00 0.00 0.00 0.00 18:16:01 lo 8.87 8.87 8.46 8.46 0.00 0.00 0.00 0.00 18:16:01 vethe860b20 124.80 105.23 41.38 113.91 0.00 0.00 0.00 0.01 18:16:01 ens3 8.15 5.58 6.91 1.74 0.00 0.00 0.00 0.00 18:16:01 vethdcbb0a0 0.10 0.22 0.01 0.01 0.00 0.00 0.00 0.00 18:17:01 lo 9.43 9.43 0.74 0.74 0.00 0.00 0.00 0.00 18:17:01 ens3 61.14 47.88 69.32 22.23 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 Average: lo 5.99 5.99 2.06 2.06 0.00 0.00 0.00 0.00 Average: ens3 143.18 103.12 2384.38 23.92 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 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-15135) 06/06/24 _x86_64_ (8 CPU) 18:11:34 LINUX RESTART (8 CPU) 18:12:01 CPU %user %nice %system %iowait %steal %idle 18:13:01 all 8.86 0.00 1.03 5.69 0.04 84.38 18:13:01 0 2.87 0.00 0.77 2.39 0.02 93.95 18:13:01 1 2.57 0.00 0.68 16.92 0.03 79.80 18:13:01 2 19.95 0.00 1.35 4.70 0.07 73.93 18:13:01 3 17.54 0.00 1.61 1.47 0.05 79.33 18:13:01 4 15.63 0.00 0.88 1.44 0.03 82.01 18:13:01 5 5.70 0.00 1.32 15.98 0.03 76.97 18:13:01 6 3.36 0.00 0.84 1.55 0.05 94.20 18:13:01 7 3.26 0.00 0.75 1.00 0.02 94.97 18:14:01 all 9.56 0.00 0.60 3.49 0.03 86.32 18:14:01 0 9.07 0.00 0.58 14.29 0.03 76.02 18:14:01 1 7.98 0.00 0.58 4.90 0.03 86.51 18:14:01 2 31.92 0.00 1.82 1.65 0.05 64.56 18:14:01 3 7.11 0.00 0.47 1.20 0.03 91.19 18:14:01 4 5.82 0.00 0.32 0.17 0.02 93.68 18:14:01 5 0.57 0.00 0.18 1.02 0.00 98.23 18:14:01 6 7.80 0.00 0.42 0.98 0.03 90.76 18:14:01 7 6.22 0.00 0.45 3.73 0.02 89.58 18:15:01 all 9.07 0.00 3.27 6.71 0.06 80.90 18:15:01 0 9.38 0.00 4.11 3.44 0.05 83.02 18:15:01 1 8.29 0.00 3.83 7.28 0.05 80.55 18:15:01 2 9.15 0.00 2.59 2.25 0.05 85.97 18:15:01 3 13.08 0.00 2.77 1.55 0.07 82.54 18:15:01 4 9.21 0.00 3.89 13.79 0.07 73.04 18:15:01 5 8.13 0.00 2.98 0.67 0.07 88.15 18:15:01 6 8.47 0.00 2.44 0.50 0.05 88.54 18:15:01 7 6.87 0.00 3.53 24.27 0.07 65.26 18:16:01 all 14.31 0.00 1.57 1.33 0.05 82.75 18:16:01 0 6.27 0.00 1.05 0.02 0.03 92.62 18:16:01 1 16.69 0.00 1.46 0.10 0.07 81.69 18:16:01 2 13.52 0.00 1.69 2.32 0.05 82.42 18:16:01 3 13.04 0.00 1.30 0.42 0.03 85.21 18:16:01 4 19.32 0.00 1.76 4.03 0.05 74.84 18:16:01 5 13.29 0.00 1.40 0.10 0.03 85.18 18:16:01 6 14.71 0.00 1.69 0.03 0.07 83.51 18:16:01 7 17.62 0.00 2.21 3.62 0.05 76.50 18:17:01 all 2.48 0.00 0.42 0.32 0.02 96.75 18:17:01 0 0.53 0.00 0.47 0.08 0.02 98.90 18:17:01 1 2.02 0.00 0.45 0.13 0.02 97.38 18:17:01 2 8.96 0.00 0.45 0.12 0.02 90.45 18:17:01 3 1.04 0.00 0.33 0.48 0.03 98.11 18:17:01 4 1.83 0.00 0.40 1.52 0.02 96.23 18:17:01 5 2.80 0.00 0.48 0.05 0.02 96.65 18:17:01 6 1.38 0.00 0.34 0.02 0.05 98.22 18:17:01 7 1.32 0.00 0.48 0.18 0.02 98.00 Average: all 8.85 0.00 1.37 3.50 0.04 86.23 Average: 0 5.62 0.00 1.39 4.04 0.03 88.91 Average: 1 7.50 0.00 1.40 5.88 0.04 85.19 Average: 2 16.71 0.00 1.58 2.21 0.05 79.46 Average: 3 10.35 0.00 1.29 1.02 0.04 87.29 Average: 4 10.36 0.00 1.44 4.16 0.04 84.00 Average: 5 6.09 0.00 1.27 3.56 0.03 89.05 Average: 6 7.15 0.00 1.14 0.62 0.05 91.04 Average: 7 7.05 0.00 1.48 6.52 0.03 84.91