Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-14917 (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-qcCzCeXsjyBC/agent.2087 SSH_AGENT_PID=2089 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_17583114313303111659.key (/w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_17583114313303111659.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/jenkins3104167232902804872.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-ZT4j 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-ZT4j/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-ZT4j/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.3 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.67 botocore==1.34.67 bs4==0.0.2 cachetools==5.3.3 certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.6.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.6.1 docker==4.2.2 dogpile.cache==1.3.2 email_validator==2.1.1 filelock==3.13.1 future==1.0.0 gitdb==4.0.11 GitPython==3.1.42 google-auth==2.29.0 httplib2==0.22.0 identify==2.5.35 idna==3.6 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.6.0 kubernetes==29.0.0 lftools==0.37.10 lxml==5.1.0 MarkupSafe==2.1.5 msgpack==1.0.8 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.2.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==3.0.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.1 oslo.config==9.4.0 oslo.context==5.5.0 oslo.i18n==6.3.0 oslo.log==5.5.0 oslo.serialization==5.4.0 oslo.utils==7.1.0 packaging==24.0 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.10.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.2.0 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.5.0 python-dateutil==2.9.0.post0 python-heatclient==3.5.0 python-jenkins==1.8.2 python-keystoneclient==5.4.0 python-magnumclient==4.4.0 python-novaclient==18.6.0 python-openstackclient==6.6.0 python-swiftclient==4.5.0 PyYAML==6.0.1 referencing==0.34.0 requests==2.31.0 requests-oauthlib==1.4.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.18.0 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.1 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.2.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.4 tqdm==4.66.2 typing_extensions==4.10.0 tzdata==2024.1 urllib3==1.26.18 virtualenv==20.25.1 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-montreal-project-csit-api] $ /bin/sh /tmp/jenkins5358699132356905750.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/jenkins6880266043693689658.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.mdzz1TX3Jh ++ echo ROBOT_VENV=/tmp/tmp.mdzz1TX3Jh +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.mdzz1TX3Jh ++ source /tmp/tmp.mdzz1TX3Jh/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.mdzz1TX3Jh +++ 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.mdzz1TX3Jh/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.mdzz1TX3Jh) ' '!=' x ']' +++ PS1='(tmp.mdzz1TX3Jh) ' +++ export PS1 +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r ++ set -exu ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' ++ echo 'Installing Python Requirements' Installing Python Requirements ++ python3 -m pip install -qq -r /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2024.2.2 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==5.1.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.2 python-dateutil==2.9.0.post0 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.mdzz1TX3Jh/src/onap ++ rm -rf /tmp/tmp.mdzz1TX3Jh/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2024.2.2 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==1.0.0 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==5.1.0 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.2 python-dateutil==2.9.0.post0 PyYAML==6.0.1 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==0.6.0.dev105 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.mdzz1TX3Jh/bin/activate + '[' -z /tmp/tmp.mdzz1TX3Jh/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.mdzz1TX3Jh/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.mdzz1TX3Jh ++ 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.mdzz1TX3Jh/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.mdzz1TX3Jh) ' ++ '[' 'x(tmp.mdzz1TX3Jh) ' '!=' x ']' ++ PS1='(tmp.mdzz1TX3Jh) (tmp.mdzz1TX3Jh) ' ++ 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.GzhFkxsiXs + cd /tmp/tmp.GzhFkxsiXs + 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:5ccad477d0057e62a7cd1981ffcc43785ac10c5a35522dc207466ff7e7ec845f 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:f9811e4e687ffecf1a43adb9b64096c50bc0d7a782f8608530f478b6542de7d5 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating prometheus ... Creating mariadb ... Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done Creating prometheus ... done Creating grafana ... Creating grafana ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-montreal-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS grafana Up 10 seconds policy-api Up 12 seconds policy-db-migrator Up 13 seconds mariadb Up 14 seconds prometheus Up 11 seconds NAMES STATUS grafana Up 15 seconds policy-api Up 17 seconds mariadb Up 19 seconds prometheus Up 16 seconds NAMES STATUS grafana Up 20 seconds policy-api Up 22 seconds mariadb Up 24 seconds prometheus Up 21 seconds NAMES STATUS grafana Up 25 seconds policy-api Up 27 seconds mariadb Up 29 seconds prometheus Up 26 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 18:15:21 up 3 min, 0 users, load average: 2.43, 1.02, 0.40 Tasks: 179 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 11.0 us, 2.2 sy, 0.0 ni, 82.3 id, 4.4 wa, 0.0 hi, 0.1 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 grafana Up 25 seconds policy-api Up 27 seconds mariadb Up 29 seconds prometheus Up 26 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 25757de72988 grafana 0.06% 57.27MiB / 31.41GiB 0.18% 18.1kB / 3.18kB 0B / 24.8MB 16 ebfce4ecbffa policy-api 0.67% 519.8MiB / 31.41GiB 1.62% 999kB / 710kB 0B / 0B 56 3c0ddc71485c mariadb 0.02% 101.3MiB / 31.41GiB 0.31% 986kB / 1.18MB 11MB / 64.9MB 26 1a52bfd5dc98 prometheus 0.41% 18.78MiB / 31.41GiB 0.06% 852B / 0B 0B / 0B 13 + echo + cd /tmp/tmp.GzhFkxsiXs + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + sed 's|^|/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/|' + cat testplan.txt /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot' + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates' ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ... + relax_set + set +e + set +o pipefail + python3 -m robot.run -N api -v WORKSPACE:/tmp -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ============================================================================== api ============================================================================== api.Api-Test ============================================================================== Healthcheck :: Verify policy api health check | PASS | ------------------------------------------------------------------------------ RetrievePolicyTypes :: Retrieve all policy types | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | ------------------------------------------------------------------------------ RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNodeTemplates :: Create node templates in database using spe... | PASS | ------------------------------------------------------------------------------ RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | ------------------------------------------------------------------------------ RetrieveAllPolicies :: Retrieve all policies | PASS | ------------------------------------------------------------------------------ RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | ------------------------------------------------------------------------------ RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | ------------------------------------------------------------------------------ RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | ------------------------------------------------------------------------------ DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ Metrics :: Verify policy-api is exporting prometheus metrics | PASS | ------------------------------------------------------------------------------ api.Api-Test | PASS | 22 tests, 22 passed, 0 failed ============================================================================== api.Api-Slas ============================================================================== WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ api.Api-Slas | PASS | 9 tests, 9 passed, 0 failed ============================================================================== api | PASS | 31 tests, 31 passed, 0 failed ============================================================================== Output: /tmp/tmp.GzhFkxsiXs/output.xml Log: /tmp/tmp.GzhFkxsiXs/log.html Report: /tmp/tmp.GzhFkxsiXs/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-montreal-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api Up About a minute mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 18:16:32 up 4 min, 0 users, load average: 0.97, 0.92, 0.42 Tasks: 176 total, 2 running, 99 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.3 us, 1.7 sy, 0.0 ni, 85.2 id, 3.7 wa, 0.0 hi, 0.1 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 grafana Up About a minute policy-api Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 25757de72988 grafana 0.03% 59.57MiB / 31.41GiB 0.19% 19.1kB / 4.37kB 0B / 24.8MB 16 ebfce4ecbffa policy-api 0.17% 821.4MiB / 31.41GiB 2.55% 7.01MB / 2.55MB 0B / 0B 56 3c0ddc71485c mariadb 0.01% 102.3MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 11MB / 65.3MB 18 1a52bfd5dc98 prometheus 0.00% 24.57MiB / 31.41GiB 0.08% 55kB / 6.63kB 0B / 0B 13 + echo + source_safely /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose ++ cd /w/workspace/policy-api-montreal-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to grafana, policy-api, policy-db-migrator, mariadb, prometheus grafana | logger=settings t=2024-03-21T18:14:56.429337947Z level=info msg="Starting Grafana" version=10.4.0 commit=03f502a94d17f7dc4e6c34acdf8428aedd986e4c branch=HEAD compiled=2024-03-21T18:14:56Z grafana | logger=settings t=2024-03-21T18:14:56.429670929Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-03-21T18:14:56.429688259Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-03-21T18:14:56.42969477Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-03-21T18:14:56.42970023Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-03-21T18:14:56.42970645Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-03-21T18:14:56.42971175Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-03-21T18:14:56.42971816Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-03-21T18:14:56.42972394Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-03-21T18:14:56.42972936Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-03-21T18:14:56.4297348Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-03-21T18:14:56.42974009Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-03-21T18:14:56.42974581Z level=info msg=Target target=[all] grafana | logger=settings t=2024-03-21T18:14:56.42976317Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-03-21T18:14:56.4297696Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-03-21T18:14:56.42977533Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-03-21T18:14:56.42978116Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-03-21T18:14:56.42978812Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-03-21T18:14:56.42982217Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-03-21T18:14:56.430339074Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-03-21T18:14:56.430368564Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-03-21T18:14:56.431588543Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-03-21T18:14:56.432786072Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-03-21T18:14:56.433962601Z level=info msg="Migration successfully executed" id="create migration_log table" duration=1.174928ms grafana | logger=migrator t=2024-03-21T18:14:56.438247013Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-03-21T18:14:56.438866807Z level=info msg="Migration successfully executed" id="create user table" duration=618.384µs grafana | logger=migrator t=2024-03-21T18:14:56.447269799Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-03-21T18:14:56.448548969Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.28097ms grafana | logger=migrator t=2024-03-21T18:14:56.45820149Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-03-21T18:14:56.459405148Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.202888ms grafana | logger=migrator t=2024-03-21T18:14:56.463776701Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-03-21T18:14:56.464911029Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.133278ms grafana | logger=migrator t=2024-03-21T18:14:56.469542274Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-03-21T18:14:56.470665602Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.122988ms grafana | logger=migrator t=2024-03-21T18:14:56.47584803Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-03-21T18:14:56.478172077Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.323307ms grafana | logger=migrator t=2024-03-21T18:14:56.481622753Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-03-21T18:14:56.48245446Z level=info msg="Migration successfully executed" id="create user table v2" duration=831.087µs grafana | logger=migrator t=2024-03-21T18:14:56.485753984Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-03-21T18:14:56.486546289Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=790.865µs grafana | logger=migrator t=2024-03-21T18:14:56.491956489Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-03-21T18:14:56.492748445Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=791.516µs grafana | logger=migrator t=2024-03-21T18:14:56.496249652Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-03-21T18:14:56.496633874Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=383.872µs grafana | logger=migrator t=2024-03-21T18:14:56.499766937Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-03-21T18:14:56.500523683Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=756.206µs grafana | logger=migrator t=2024-03-21T18:14:56.506852919Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-03-21T18:14:56.508917355Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=2.064246ms grafana | logger=migrator t=2024-03-21T18:14:56.515229681Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-03-21T18:14:56.515259131Z level=info msg="Migration successfully executed" id="Update user table charset" duration=31.02µs grafana | logger=migrator t=2024-03-21T18:14:56.568717326Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-03-21T18:14:56.570694221Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.979065ms grafana | logger=migrator t=2024-03-21T18:14:56.605739431Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-03-21T18:14:56.606287855Z level=info msg="Migration successfully executed" id="Add missing user data" duration=550.884µs grafana | logger=migrator t=2024-03-21T18:14:56.612798772Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-03-21T18:14:56.614735517Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.936175ms grafana | logger=migrator t=2024-03-21T18:14:56.619835285Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-03-21T18:14:56.62062572Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=789.055µs grafana | logger=migrator t=2024-03-21T18:14:56.625110034Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-03-21T18:14:56.626234712Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.124178ms grafana | logger=migrator t=2024-03-21T18:14:56.634605304Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-03-21T18:14:56.642659713Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=8.053929ms grafana | logger=migrator t=2024-03-21T18:14:56.672667335Z level=info msg="Executing migration" id="Add uid column to user" grafana | logger=migrator t=2024-03-21T18:14:56.674505858Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=1.840223ms grafana | logger=migrator t=2024-03-21T18:14:56.683133642Z level=info msg="Executing migration" id="Update uid column values for users" grafana | logger=migrator t=2024-03-21T18:14:56.683359614Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=224.602µs grafana | logger=migrator t=2024-03-21T18:14:56.783132161Z level=info msg="Executing migration" id="Add unique index user_uid" grafana | logger=migrator t=2024-03-21T18:14:56.78441467Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=1.271999ms grafana | logger=migrator t=2024-03-21T18:14:56.851110563Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-03-21T18:14:56.852413674Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.303441ms grafana | logger=migrator t=2024-03-21T18:14:56.860500443Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-03-21T18:14:56.862159445Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.658112ms grafana | logger=migrator t=2024-03-21T18:14:56.869342209Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-03-21T18:14:56.870562487Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.220478ms grafana | logger=migrator t=2024-03-21T18:14:56.878976259Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-03-21T18:14:56.880172849Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.19591ms grafana | logger=migrator t=2024-03-21T18:14:56.887327311Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-03-21T18:14:56.888536191Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.20779ms grafana | logger=migrator t=2024-03-21T18:14:56.893847929Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-03-21T18:14:56.89392208Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=75.321µs grafana | logger=migrator t=2024-03-21T18:14:56.898460053Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-03-21T18:14:56.899609693Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.14944ms grafana | logger=migrator t=2024-03-21T18:14:56.928912219Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-03-21T18:14:56.930076767Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.164868ms grafana | logger=migrator t=2024-03-21T18:14:56.935481197Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-03-21T18:14:56.936629526Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.147889ms grafana | logger=migrator t=2024-03-21T18:14:56.946234846Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-03-21T18:14:56.947393876Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.15839ms grafana | logger=migrator t=2024-03-21T18:14:56.974795357Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-03-21T18:14:56.979746714Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=4.951237ms grafana | logger=migrator t=2024-03-21T18:14:56.986328972Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-03-21T18:14:56.987179979Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=851.087µs grafana | logger=migrator t=2024-03-21T18:14:56.991691582Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-03-21T18:14:56.992487549Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=795.157µs grafana | logger=migrator t=2024-03-21T18:14:56.997285934Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-03-21T18:14:56.998537353Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.249629ms grafana | logger=migrator t=2024-03-21T18:14:57.004158056Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-03-21T18:14:57.005252794Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.096818ms grafana | logger=migrator t=2024-03-21T18:14:57.00990452Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-03-21T18:14:57.010696076Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=790.916µs grafana | logger=migrator t=2024-03-21T18:14:57.016968174Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-03-21T18:14:57.017865041Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=897.767µs grafana | logger=migrator t=2024-03-21T18:14:57.023647295Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-03-21T18:14:57.024681883Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=1.039038ms grafana | logger=migrator t=2024-03-21T18:14:57.029767352Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-03-21T18:14:57.030268995Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=501.673µs grafana | logger=migrator t=2024-03-21T18:14:57.081198794Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-03-21T18:14:57.082508114Z level=info msg="Migration successfully executed" id="create star table" duration=1.31069ms mariadb | 2024-03-21 18:14:52+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-03-21 18:14:52+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-03-21 18:14:52+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-03-21 18:14:52+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-03-21 18:14:52 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-03-21 18:14:52 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-03-21 18:14:52 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2024-03-21 18:14:54+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-03-21 18:14:54+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-03-21 18:14:54+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-03-21 18:14:54 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 98 ... mariadb | 2024-03-21 18:14:54 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-03-21 18:14:54 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-03-21 18:14:54 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-03-21 18:14:54 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-03-21 18:14:54 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-03-21 18:14:54 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-03-21 18:14:54 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-03-21 18:14:54 0 [Note] InnoDB: Completed initialization of buffer pool grafana | logger=migrator t=2024-03-21T18:14:57.08588951Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" mariadb | 2024-03-21 18:14:54 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) grafana | logger=migrator t=2024-03-21T18:14:57.086806236Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=916.026µs mariadb | 2024-03-21 18:14:54 0 [Note] InnoDB: 128 rollback segments are active. grafana | logger=migrator t=2024-03-21T18:14:57.090051272Z level=info msg="Executing migration" id="create org table v1" policy-db-migrator | Waiting for mariadb port 3306... policy-api | Waiting for mariadb port 3306... mariadb | 2024-03-21 18:14:54 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... grafana | logger=migrator t=2024-03-21T18:14:57.090863578Z level=info msg="Migration successfully executed" id="create org table v1" duration=812.306µs prometheus | ts=2024-03-21T18:14:55.201Z 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 | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-api | mariadb (172.17.0.3:3306) open mariadb | 2024-03-21 18:14:54 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. grafana | logger=migrator t=2024-03-21T18:14:57.094295604Z level=info msg="Executing migration" id="create index UQE_org_name - v1" prometheus | ts=2024-03-21T18:14:55.201Z caller=main.go:617 level=info msg="Starting Prometheus Server" mode=server version="(version=2.51.0, branch=HEAD, revision=c05c15512acb675e3f6cd662a6727854e93fc024)" policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-api | Waiting for policy-db-migrator port 6824... mariadb | 2024-03-21 18:14:54 0 [Note] InnoDB: log sequence number 46590; transaction id 14 grafana | logger=migrator t=2024-03-21T18:14:57.09516805Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=871.456µs prometheus | ts=2024-03-21T18:14:55.201Z caller=main.go:622 level=info build_context="(go=go1.22.1, platform=linux/amd64, user=root@b5723e458358, date=20240319-10:54:45, tags=netgo,builtinassets,stringlabels)" policy-api | policy-db-migrator (172.17.0.4:6824) open mariadb | 2024-03-21 18:14:54 0 [Note] Plugin 'FEEDBACK' is disabled. grafana | logger=migrator t=2024-03-21T18:14:57.099349333Z level=info msg="Executing migration" id="create org_user table v1" policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused prometheus | ts=2024-03-21T18:14:55.201Z 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))" mariadb | 2024-03-21 18:14:54 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. grafana | logger=migrator t=2024-03-21T18:14:57.100040888Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=691.355µs policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml prometheus | ts=2024-03-21T18:14:55.201Z caller=main.go:624 level=info fd_limits="(soft=1048576, hard=1048576)" mariadb | 2024-03-21 18:14:54 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. grafana | logger=migrator t=2024-03-21T18:14:57.103603445Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-api | prometheus | ts=2024-03-21T18:14:55.201Z caller=main.go:625 level=info vm_limits="(soft=unlimited, hard=unlimited)" mariadb | 2024-03-21 18:14:54 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. grafana | logger=migrator t=2024-03-21T18:14:57.104886375Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.28293ms policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-api | . ____ _ __ _ _ prometheus | ts=2024-03-21T18:14:55.205Z caller=web.go:568 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 mariadb | 2024-03-21 18:14:54 0 [Note] mariadbd: ready for connections. grafana | logger=migrator t=2024-03-21T18:14:57.108569923Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ prometheus | ts=2024-03-21T18:14:55.205Z caller=main.go:1129 level=info msg="Starting TSDB ..." mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution grafana | logger=migrator t=2024-03-21T18:14:57.109946554Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.379721ms policy-db-migrator | Connection to mariadb (172.17.0.3) 3306 port [tcp/mysql] succeeded! policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ prometheus | ts=2024-03-21T18:14:55.209Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 mariadb | 2024-03-21 18:14:55+00:00 [Note] [Entrypoint]: Temporary server started. grafana | logger=migrator t=2024-03-21T18:14:57.113599661Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" policy-db-migrator | 321 blocks policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) prometheus | ts=2024-03-21T18:14:55.210Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 mariadb | 2024-03-21 18:14:56+00:00 [Note] [Entrypoint]: Creating user policy_user grafana | logger=migrator t=2024-03-21T18:14:57.114481508Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=881.657µs policy-db-migrator | Preparing upgrade release version: 0800 policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / prometheus | ts=2024-03-21T18:14:55.216Z caller=head.go:616 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" mariadb | 2024-03-21 18:14:56+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) grafana | logger=migrator t=2024-03-21T18:14:57.119121753Z level=info msg="Executing migration" id="Update org table charset" policy-db-migrator | Preparing upgrade release version: 0900 policy-api | =========|_|==============|___/=/_/_/_/ prometheus | ts=2024-03-21T18:14:55.216Z caller=head.go:698 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.12µs mariadb | grafana | logger=migrator t=2024-03-21T18:14:57.119196204Z level=info msg="Migration successfully executed" id="Update org table charset" duration=74.931µs policy-db-migrator | Preparing upgrade release version: 1000 policy-api | :: Spring Boot :: (v3.1.4) prometheus | ts=2024-03-21T18:14:55.216Z caller=head.go:706 level=info component=tsdb msg="Replaying WAL, this may take a while" mariadb | 2024-03-21 18:14:57+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf grafana | logger=migrator t=2024-03-21T18:14:57.12382088Z level=info msg="Executing migration" id="Update org_user table charset" policy-db-migrator | Preparing upgrade release version: 1100 policy-api | prometheus | ts=2024-03-21T18:14:55.217Z caller=head.go:778 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 mariadb | grafana | logger=migrator t=2024-03-21T18:14:57.12390453Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=85µs policy-db-migrator | Preparing upgrade release version: 1200 policy-api | [2024-03-21T18:15:08.282+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 23 (/app/api.jar started by policy in /opt/app/policy/api/bin) prometheus | ts=2024-03-21T18:14:55.217Z caller=head.go:815 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=31.071µs wal_replay_duration=395.424µs wbl_replay_duration=170ns total_replay_duration=456.805µs mariadb | 2024-03-21 18:14:57+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh grafana | logger=migrator t=2024-03-21T18:14:57.127467127Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" policy-db-migrator | Preparing upgrade release version: 1300 policy-api | [2024-03-21T18:15:08.284+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" prometheus | ts=2024-03-21T18:14:55.220Z caller=main.go:1150 level=info fs_type=EXT4_SUPER_MAGIC mariadb | #!/bin/bash -xv grafana | logger=migrator t=2024-03-21T18:14:57.127767759Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=300.492µs policy-db-migrator | Done policy-api | [2024-03-21T18:15:10.047+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. prometheus | ts=2024-03-21T18:14:55.220Z caller=main.go:1153 level=info msg="TSDB started" mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved grafana | logger=migrator t=2024-03-21T18:14:57.131655559Z level=info msg="Executing migration" id="create dashboard table" policy-db-migrator | name version policy-api | [2024-03-21T18:15:10.151+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 93 ms. Found 6 JPA repository interfaces. prometheus | ts=2024-03-21T18:14:55.220Z caller=main.go:1335 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. grafana | logger=migrator t=2024-03-21T18:14:57.132869488Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.21283ms policy-db-migrator | policyadmin 0 policy-api | [2024-03-21T18:15:10.571+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 prometheus | ts=2024-03-21T18:14:55.221Z caller=main.go:1372 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.145923ms db_storage=1.4µs remote_storage=2.43µs web_handler=860ns query_engine=1.38µs scrape=249.033µs scrape_sd=141.662µs notify=34.79µs notify_sd=11.96µs rules=2.03µs tracing=6.6µs mariadb | # grafana | logger=migrator t=2024-03-21T18:14:57.137239861Z level=info msg="Executing migration" id="add index dashboard.account_id" policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 policy-api | [2024-03-21T18:15:10.572+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 prometheus | ts=2024-03-21T18:14:55.221Z caller=main.go:1114 level=info msg="Server is ready to receive web requests." mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); grafana | logger=migrator t=2024-03-21T18:14:57.138160598Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=919.387µs policy-db-migrator | upgrade: 0 -> 1300 policy-api | [2024-03-21T18:15:11.247+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) prometheus | ts=2024-03-21T18:14:55.221Z caller=manager.go:163 level=info component="rule manager" msg="Starting rule manager..." mariadb | # you may not use this file except in compliance with the License. grafana | logger=migrator t=2024-03-21T18:14:57.143028335Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" policy-db-migrator | policy-api | [2024-03-21T18:15:11.258+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] mariadb | # You may obtain a copy of the License at grafana | logger=migrator t=2024-03-21T18:14:57.144314505Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.2905ms policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-api | [2024-03-21T18:15:11.261+00:00|INFO|StandardService|main] Starting service [Tomcat] mariadb | # grafana | logger=migrator t=2024-03-21T18:14:57.148267374Z level=info msg="Executing migration" id="create dashboard_tag table" policy-db-migrator | -------------- policy-api | [2024-03-21T18:15:11.261+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] mariadb | # http://www.apache.org/licenses/LICENSE-2.0 grafana | logger=migrator t=2024-03-21T18:14:57.149253852Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=986.648µs 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-api | [2024-03-21T18:15:11.365+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext mariadb | # grafana | logger=migrator t=2024-03-21T18:14:57.15298027Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" policy-db-migrator | -------------- policy-api | [2024-03-21T18:15:11.366+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 3016 ms mariadb | # Unless required by applicable law or agreed to in writing, software grafana | logger=migrator t=2024-03-21T18:14:57.153960697Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=982.307µs policy-db-migrator | policy-api | [2024-03-21T18:15:11.851+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] mariadb | # distributed under the License is distributed on an "AS IS" BASIS, grafana | logger=migrator t=2024-03-21T18:14:57.15835912Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" policy-db-migrator | policy-api | [2024-03-21T18:15:11.946+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. grafana | logger=migrator t=2024-03-21T18:14:57.159257517Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=897.607µs policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-api | [2024-03-21T18:15:11.950+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer mariadb | # See the License for the specific language governing permissions and grafana | logger=migrator t=2024-03-21T18:14:57.164023703Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" policy-db-migrator | -------------- policy-api | [2024-03-21T18:15:12.011+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled mariadb | # limitations under the License. grafana | logger=migrator t=2024-03-21T18:14:57.169583255Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=5.558862ms 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-api | [2024-03-21T18:15:12.418+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer mariadb | grafana | logger=migrator t=2024-03-21T18:14:57.174679143Z level=info msg="Executing migration" id="create dashboard v2" policy-db-migrator | -------------- policy-api | [2024-03-21T18:15:12.442+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-03-21T18:14:57.17554719Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=867.067µs policy-db-migrator | policy-api | [2024-03-21T18:15:12.569+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@750ff7d3 mariadb | do grafana | logger=migrator t=2024-03-21T18:14:57.180163075Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" policy-db-migrator | policy-api | [2024-03-21T18:15:12.572+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" grafana | logger=migrator t=2024-03-21T18:14:57.181035281Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=870.886µs policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-api | [2024-03-21T18:15:12.608+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) mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" grafana | logger=migrator t=2024-03-21T18:14:57.185449764Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" policy-db-migrator | -------------- policy-api | [2024-03-21T18:15:12.610+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead mariadb | done grafana | logger=migrator t=2024-03-21T18:14:57.186398861Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=949.337µs 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-api | [2024-03-21T18:15:14.678+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-03-21T18:14:57.190047998Z level=info msg="Executing migration" id="copy dashboard v1 to v2" policy-db-migrator | -------------- policy-api | [2024-03-21T18:15:14.681+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' grafana | logger=migrator t=2024-03-21T18:14:57.190524842Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=480.074µs policy-db-migrator | policy-api | [2024-03-21T18:15:15.979+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-03-21T18:14:57.194906115Z level=info msg="Executing migration" id="drop table dashboard_v1" policy-db-migrator | policy-api | [2024-03-21T18:15:16.976+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-03-21T18:14:57.195863482Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=956.987µs policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-api | [2024-03-21T18:15:18.072+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 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' grafana | logger=migrator t=2024-03-21T18:14:57.200559998Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" policy-db-migrator | -------------- policy-api | [2024-03-21T18:15:18.258+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@3413effc, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@407bfc49, org.springframework.security.web.context.SecurityContextHolderFilter@1d123972, org.springframework.security.web.header.HeaderWriterFilter@5b3063b7, org.springframework.security.web.authentication.logout.LogoutFilter@547a79cd, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@56b5de49, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@7b3d759f, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@62c4ad40, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@2f84848e, org.springframework.security.web.access.ExceptionTranslationFilter@673ade3d, org.springframework.security.web.access.intercept.AuthorizationFilter@4295b0b8] mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-03-21T18:14:57.200639218Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=74.72µs 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-api | [2024-03-21T18:15:19.083+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-03-21T18:14:57.206355711Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" policy-db-migrator | -------------- policy-api | [2024-03-21T18:15:19.142+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' grafana | logger=migrator t=2024-03-21T18:14:57.208237945Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.881684ms policy-db-migrator | policy-api | [2024-03-21T18:15:19.163+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-03-21T18:14:57.247077938Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" policy-db-migrator | policy-api | [2024-03-21T18:15:19.179+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.589 seconds (process running for 12.183) mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-03-21T18:14:57.249914789Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.836471ms policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-api | [2024-03-21T18:15:24.836+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' grafana | logger=migrator t=2024-03-21T18:14:57.258840526Z level=info msg="Executing migration" id="Add column gnetId in dashboard" policy-db-migrator | -------------- policy-api | [2024-03-21T18:15:24.836+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-03-21T18:14:57.260559619Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.720523ms 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-api | [2024-03-21T18:15:24.837+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-03-21T18:14:57.298376963Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" policy-db-migrator | -------------- policy-api | [2024-03-21T18:15:27.354+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' policy-db-migrator | policy-api | [] policy-api | [2024-03-21T18:15:27.489+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | policy-api | [2024-03-21T18:15:27.782+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2024-03-21T18:15:28.922+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policies mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-api | [2024-03-21T18:15:31.041+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-03-21T18:15:31.371+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' policy-db-migrator | -------------- policy-api | [2024-03-21T18:15:31.606+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2024-03-21T18:15:31.845+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) grafana | logger=migrator t=2024-03-21T18:14:57.299709743Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.3323ms policy-api | [2024-03-21T18:15:32.075+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 mariadb | policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.305697718Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" policy-api | [2024-03-21T18:15:32.356+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.308000355Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.302987ms mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.31393604Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql grafana | logger=migrator t=2024-03-21T18:14:57.314843377Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=906.447µs mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.32051323Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" mariadb | policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-21T18:14:57.321340056Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=826.346µs mariadb | 2024-03-21 18:14:58+00:00 [Note] [Entrypoint]: Stopping temporary server policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.330636955Z level=info msg="Executing migration" id="Update dashboard table charset" mariadb | 2024-03-21 18:14:58 0 [Note] mariadbd (initiated by: unknown): Normal shutdown policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.330721746Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=84.311µs mariadb | 2024-03-21 18:14:58 0 [Note] InnoDB: FTS optimize thread exiting. policy-db-migrator | mariadb | 2024-03-21 18:14:58 0 [Note] InnoDB: Starting shutdown... policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql grafana | logger=migrator t=2024-03-21T18:14:57.337153265Z level=info msg="Executing migration" id="Update dashboard_tag table charset" mariadb | 2024-03-21 18:14:58 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.337193225Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=36.92µs mariadb | 2024-03-21 18:14:58 0 [Note] InnoDB: Buffer pool(s) dump completed at 240321 18:14:58 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-03-21T18:14:57.341692958Z level=info msg="Executing migration" id="Add column folder_id in dashboard" mariadb | 2024-03-21 18:14:59 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.344710371Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.017113ms mariadb | 2024-03-21 18:14:59 0 [Note] InnoDB: Shutdown completed; log sequence number 354341; transaction id 298 policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.354772147Z level=info msg="Executing migration" id="Add column isFolder in dashboard" mariadb | 2024-03-21 18:14:59 0 [Note] mariadbd: Shutdown complete policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.358131523Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=3.358635ms mariadb | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql grafana | logger=migrator t=2024-03-21T18:14:57.366276894Z level=info msg="Executing migration" id="Add column has_acl in dashboard" mariadb | 2024-03-21 18:14:59+00:00 [Note] [Entrypoint]: Temporary server stopped policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.368152358Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.875094ms mariadb | mariadb | 2024-03-21 18:14:59+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-21T18:14:57.377602449Z level=info msg="Executing migration" id="Add column uid in dashboard" mariadb | policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.380562581Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.959402ms mariadb | 2024-03-21 18:14:59 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.389683139Z level=info msg="Executing migration" id="Update uid column values in dashboard" mariadb | 2024-03-21 18:14:59 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 grafana | logger=migrator t=2024-03-21T18:14:57.389911012Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=227.913µs mariadb | 2024-03-21 18:14:59 0 [Note] InnoDB: Number of transaction pools: 1 policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.39892163Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql mariadb | 2024-03-21 18:14:59 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions grafana | logger=migrator t=2024-03-21T18:14:57.400100778Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.182118ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.407145672Z level=info msg="Executing migration" id="Remove unique index org_id_slug" mariadb | 2024-03-21 18:14:59 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-21T18:14:57.408239589Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.094557ms mariadb | 2024-03-21 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) policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.413477209Z level=info msg="Executing migration" id="Update dashboard title length" mariadb | 2024-03-21 18:14:59 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.413510479Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=33.88µs mariadb | 2024-03-21 18:14:59 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.420471791Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" mariadb | 2024-03-21 18:14:59 0 [Note] InnoDB: Completed initialization of buffer pool policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql grafana | logger=migrator t=2024-03-21T18:14:57.42165851Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.186379ms mariadb | 2024-03-21 18:14:59 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.427902367Z level=info msg="Executing migration" id="create dashboard_provisioning" mariadb | 2024-03-21 18:14:59 0 [Note] InnoDB: 128 rollback segments are active. policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-21T18:14:57.428974285Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.070738ms mariadb | 2024-03-21 18:14:59 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.436478522Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" mariadb | 2024-03-21 18:14:59 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.44562442Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=9.145378ms mariadb | 2024-03-21 18:14:59 0 [Note] InnoDB: log sequence number 354341; transaction id 299 policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.450753149Z level=info msg="Executing migration" id="create dashboard_provisioning v2" mariadb | 2024-03-21 18:14:59 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql grafana | logger=migrator t=2024-03-21T18:14:57.451486995Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=732.986µs mariadb | 2024-03-21 18:14:59 0 [Note] Plugin 'FEEDBACK' is disabled. policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.459157942Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" mariadb | 2024-03-21 18:14:59 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-21T18:14:57.460403622Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.24559ms mariadb | 2024-03-21 18:14:59 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.467684586Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" mariadb | 2024-03-21 18:14:59 0 [Note] Server socket created on IP: '0.0.0.0'. policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.468947046Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.2623ms mariadb | 2024-03-21 18:14:59 0 [Note] Server socket created on IP: '::'. policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.474470728Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" mariadb | 2024-03-21 18:14:59 0 [Note] mariadbd: ready for connections. policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql grafana | logger=migrator t=2024-03-21T18:14:57.475050932Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=579.954µs mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.481846823Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" mariadb | 2024-03-21 18:14:59 0 [Note] InnoDB: Buffer pool(s) load completed at 240321 18:14:59 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-21T18:14:57.483102603Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=1.25486ms mariadb | 2024-03-21 18:14:59 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.511382795Z level=info msg="Executing migration" id="Add check_sum column" mariadb | 2024-03-21 18:14:59 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.51475687Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.373215ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.522366098Z level=info msg="Executing migration" id="Add index for dashboard_title" policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql grafana | logger=migrator t=2024-03-21T18:14:57.523530056Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=1.161528ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.529513831Z level=info msg="Executing migration" id="delete tags for deleted dashboards" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-21T18:14:57.529969195Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=454.634µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.543070583Z level=info msg="Executing migration" id="delete stars for deleted dashboards" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.543746958Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=681.115µs policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.551087964Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.551900199Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=812.315µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-21T18:14:57.561300861Z level=info msg="Executing migration" id="Add isPublic for dashboard" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.565082969Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.780788ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.573445392Z level=info msg="Executing migration" id="create data_source table" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.575280776Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.829784ms policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql grafana | logger=migrator t=2024-03-21T18:14:57.581761414Z level=info msg="Executing migration" id="add index data_source.account_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.583237686Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.476042ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-21T18:14:57.589893956Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.590970453Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.075857ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.596688996Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.597945186Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.25539ms policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql grafana | logger=migrator t=2024-03-21T18:14:57.605037389Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.606263939Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.22889ms 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-03-21T18:14:57.613620273Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.619858591Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=6.237498ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.623628679Z level=info msg="Executing migration" id="create data_source table v2" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.624695897Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=1.064628ms policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql grafana | logger=migrator t=2024-03-21T18:14:57.631390828Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.632325645Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=936.767µ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-03-21T18:14:57.640220364Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.641587324Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.36654ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.645291712Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-03-21T18:14:57.646092748Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=801.306µs policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.654730083Z level=info msg="Executing migration" id="Add column with_credentials" policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql grafana | logger=migrator t=2024-03-21T18:14:57.658539491Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.808718ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.669280082Z level=info msg="Executing migration" id="Add secure json data column" 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-03-21T18:14:57.671685601Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.405239ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.679498499Z level=info msg="Executing migration" id="Update data_source table charset" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.67953597Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=39.241µs policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.686444371Z level=info msg="Executing migration" id="Update initial version to 1" policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql grafana | logger=migrator t=2024-03-21T18:14:57.687007616Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=562.295µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.692761959Z level=info msg="Executing migration" id="Add read_only data column" 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-03-21T18:14:57.696662128Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.898529ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.753601156Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.754144241Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=543.815µs policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.759648172Z level=info msg="Executing migration" id="Update json_data with nulls" policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-03-21T18:14:57.760080515Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=431.473µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.766935497Z level=info msg="Executing migration" id="Add uid column" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-03-21T18:14:57.770937308Z level=info msg="Migration successfully executed" id="Add uid column" duration=4.000501ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.775922554Z level=info msg="Executing migration" id="Update uid value" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.776139586Z level=info msg="Migration successfully executed" id="Update uid value" duration=216.052µs policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.779633723Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql grafana | logger=migrator t=2024-03-21T18:14:57.781027553Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.39225ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.786227242Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" 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-03-21T18:14:57.787712424Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.485232ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.794167722Z level=info msg="Executing migration" id="create api_key table" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.795431711Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.263329ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.800393978Z level=info msg="Executing migration" id="add index api_key.account_id" policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql grafana | logger=migrator t=2024-03-21T18:14:57.80188861Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.493242ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.808688011Z level=info msg="Executing migration" id="add index api_key.key" 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-03-21T18:14:57.809601128Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=912.347µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.814779937Z level=info msg="Executing migration" id="add index api_key.account_id_name" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.816364369Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.582852ms policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-03-21T18:14:57.822171052Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.823577963Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.406051ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-03-21T18:14:57.828690491Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.829572597Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=881.816µs policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.837024824Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.8378358Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=809.935µs policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-03-21T18:14:57.846256163Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.855595084Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=9.339661ms 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-03-21T18:14:57.86309371Z level=info msg="Executing migration" id="create api_key table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.863966307Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=872.617µs policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.870274664Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.871812616Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=1.539492ms policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql grafana | logger=migrator t=2024-03-21T18:14:57.877945712Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.878602997Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=661.665µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-21T18:14:57.941906723Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.943280063Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.37239ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.983221953Z level=info msg="Executing migration" id="copy api_key v1 to v2" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:57.983881909Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=658.996µs policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql grafana | logger=migrator t=2024-03-21T18:14:57.992150771Z level=info msg="Executing migration" id="Drop old table api_key_v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:57.993053738Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=902.737µs 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-03-21T18:14:58.007725348Z level=info msg="Executing migration" id="Update api_key table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:58.007767358Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=42.69µs policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:58.021139379Z level=info msg="Executing migration" id="Add expires to api_key table" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:58.025147638Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.00808ms policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql grafana | logger=migrator t=2024-03-21T18:14:58.069826554Z level=info msg="Executing migration" id="Add service account foreign key" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:58.073991086Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=4.164352ms 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-03-21T18:14:58.095138165Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:58.095396757Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=258.962µs policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:58.11835375Z level=info msg="Executing migration" id="Add last_used_at to api_key table" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:58.122468371Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=4.113871ms policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql grafana | logger=migrator t=2024-03-21T18:14:58.142239069Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:58.146440441Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=4.198102ms 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-03-21T18:14:58.206394391Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:58.207670631Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=1.27638ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:58.217973929Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:58.218840415Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=866.536µs policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql grafana | logger=migrator t=2024-03-21T18:14:58.235715282Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:58.237024122Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.30896ms 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-03-21T18:14:58.255549272Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:58.256759991Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.210529ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:58.272239147Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:58.27400554Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.766973ms policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql grafana | logger=migrator t=2024-03-21T18:14:58.287482721Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:58.28875126Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.268969ms 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-03-21T18:14:58.303657644Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:58.303760984Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=103.701µs policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:58.318566495Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:58.318605825Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=44.39µs policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql grafana | logger=migrator t=2024-03-21T18:14:58.330903057Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:58.33519983Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.296423ms 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-03-21T18:14:58.351423103Z level=info msg="Executing migration" id="Add encrypted dashboard json column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:58.355699924Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=4.273001ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:58.368959574Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:58.369062245Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=103.971µs policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql grafana | logger=migrator t=2024-03-21T18:14:58.377268766Z level=info msg="Executing migration" id="create quota table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:58.378796428Z level=info msg="Migration successfully executed" id="create quota table v1" duration=1.523242ms 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-03-21T18:14:58.43889339Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:58.440181519Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.288059ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:58.460873366Z level=info msg="Executing migration" id="Update quota table charset" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:58.460916636Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=44.75µs policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql grafana | logger=migrator t=2024-03-21T18:14:58.473946814Z level=info msg="Executing migration" id="create plugin_setting table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:58.475344674Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.39654ms 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-03-21T18:14:58.485837133Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:58.487220163Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.38271ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:58.496711205Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:58.50142084Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.711935ms policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2024-03-21T18:14:58.509104488Z level=info msg="Executing migration" id="Update plugin_setting table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:58.509155888Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=53.38µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-03-21T18:14:58.517489431Z level=info msg="Executing migration" id="create session table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:58.518849702Z level=info msg="Migration successfully executed" id="create session table" duration=1.357141ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:58.564629276Z level=info msg="Executing migration" id="Drop old table playlist table" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:58.564810287Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=180.781µs policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2024-03-21T18:14:58.576182092Z level=info msg="Executing migration" id="Drop old table playlist_item table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:58.576312003Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=133.711µ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-03-21T18:14:58.588546515Z level=info msg="Executing migration" id="create playlist table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:58.589747655Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.1989ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:58.595975621Z level=info msg="Executing migration" id="create playlist item table v2" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:58.59715352Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.176519ms policy-db-migrator | > upgrade 0460-pdppolicystatus.sql grafana | logger=migrator t=2024-03-21T18:14:58.610037567Z level=info msg="Executing migration" id="Update playlist table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:58.610086147Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=50.25µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-03-21T18:14:58.616844709Z level=info msg="Executing migration" id="Update playlist_item table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:58.616901009Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=57.89µs policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:58.644219534Z level=info msg="Executing migration" id="Add playlist column created_at" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:58.647577399Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=3.303895ms policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2024-03-21T18:14:58.656353246Z level=info msg="Executing migration" id="Add playlist column updated_at" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:58.661123501Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=4.769695ms 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-03-21T18:14:58.671484279Z level=info msg="Executing migration" id="drop preferences table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:58.67156369Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=80.301µs policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:58.678575173Z level=info msg="Executing migration" id="drop preferences table v3" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:58.678725934Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=151.221µs policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2024-03-21T18:14:58.69946638Z level=info msg="Executing migration" id="create preferences table v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:58.70083338Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.3671ms 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-03-21T18:14:58.709446355Z level=info msg="Executing migration" id="Update preferences table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:58.709485965Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=40.53µs policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:58.714710504Z level=info msg="Executing migration" id="Add column team_id in preferences" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:58.719558691Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=4.851136ms policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2024-03-21T18:14:58.726543504Z level=info msg="Executing migration" id="Update team_id column values in preferences" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:58.726706815Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=163.551µs grafana | logger=migrator t=2024-03-21T18:14:58.733457035Z level=info msg="Executing migration" id="Add column week_start in preferences" 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-03-21T18:14:58.738457343Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=5.001028ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:58.744596119Z level=info msg="Executing migration" id="Add column preferences.json_data" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:58.748194626Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.596587ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:58.75543306Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" policy-db-migrator | > upgrade 0500-pdpsubgroup.sql grafana | logger=migrator t=2024-03-21T18:14:58.755539821Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=107.321µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:58.761891589Z level=info msg="Executing migration" id="Add preferences index org_id" 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-03-21T18:14:58.76335375Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.463551ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:58.771400681Z level=info msg="Executing migration" id="Add preferences index user_id" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:58.772888502Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.488281ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:58.782443754Z level=info msg="Executing migration" id="create alert table v1" policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql grafana | logger=migrator t=2024-03-21T18:14:58.784182686Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.738182ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:58.789268145Z level=info msg="Executing migration" id="add index alert org_id & id " 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-03-21T18:14:58.790858287Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.589302ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:58.810243113Z level=info msg="Executing migration" id="add index alert state" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:58.811826944Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.584541ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:58.827431332Z level=info msg="Executing migration" id="add index alert dashboard_id" policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql grafana | logger=migrator t=2024-03-21T18:14:58.828812142Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.37993ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:58.877228096Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" 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-03-21T18:14:58.878029343Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=800.647µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:58.899460173Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:58.901131076Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.669753ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:58.926267495Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql grafana | logger=migrator t=2024-03-21T18:14:58.927706576Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.438851ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:58.988881716Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS 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-03-21T18:14:58.999456246Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=10.57548ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.013955031Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.015227231Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=1.27197ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.025856789Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql grafana | logger=migrator t=2024-03-21T18:14:59.02750865Z level=info msg="Migration successfully executed" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" duration=1.650431ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.041652462Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" 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-03-21T18:14:59.042043765Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=392.653µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.047230643Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.04821159Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=981.838µs policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.081512401Z level=info msg="Executing migration" id="create alert_notification table v1" policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql grafana | logger=migrator t=2024-03-21T18:14:59.082873651Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.36092ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.094873717Z level=info msg="Executing migration" id="Add column is_default" 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-03-21T18:14:59.099996245Z level=info msg="Migration successfully executed" id="Add column is_default" duration=5.123148ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.106709593Z level=info msg="Executing migration" id="Add column frequency" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.111683829Z level=info msg="Migration successfully executed" id="Add column frequency" duration=4.974136ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.120669634Z level=info msg="Executing migration" id="Add column send_reminder" policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql grafana | logger=migrator t=2024-03-21T18:14:59.126357895Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=5.684301ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.160393673Z level=info msg="Executing migration" id="Add column disable_resolve_message" 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-03-21T18:14:59.165078576Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=4.686073ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.193028248Z level=info msg="Executing migration" id="add index alert_notification org_id & name" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.194539809Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.511401ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.209751109Z level=info msg="Executing migration" id="Update alert table charset" policy-db-migrator | > upgrade 0570-toscadatatype.sql grafana | logger=migrator t=2024-03-21T18:14:59.20983169Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=81.8µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.214841536Z level=info msg="Executing migration" id="Update alert_notification table charset" 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-03-21T18:14:59.214924757Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=85.321µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.225575154Z level=info msg="Executing migration" id="create notification_journal table v1" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.227017304Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.44044ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.231876199Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" policy-db-migrator | > upgrade 0580-toscadatatypes.sql grafana | logger=migrator t=2024-03-21T18:14:59.232951067Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.074688ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.241961353Z level=info msg="Executing migration" id="drop alert_notification_journal" 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-03-21T18:14:59.242797158Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=835.485µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.249716108Z level=info msg="Executing migration" id="create alert_notification_state table v1" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.251084009Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.367951ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.257575225Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql grafana | logger=migrator t=2024-03-21T18:14:59.259453599Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.881354ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.265647814Z level=info msg="Executing migration" id="Add for to alert table" 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-03-21T18:14:59.26939128Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.745206ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.300163523Z level=info msg="Executing migration" id="Add column uid in alert_notification" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.307211265Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=7.045602ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.313691712Z level=info msg="Executing migration" id="Update uid column values in alert_notification" policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=migrator t=2024-03-21T18:14:59.313908953Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=217.411µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.320938444Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) grafana | logger=migrator t=2024-03-21T18:14:59.322579356Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.643352ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.330431563Z level=info msg="Executing migration" id="Remove unique index org_id_name" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.3313639Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=933.557µs policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.346470489Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" policy-db-migrator | > upgrade 0610-toscanodetemplates.sql grafana | logger=migrator t=2024-03-21T18:14:59.35211509Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=5.645901ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.356492422Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" 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-03-21T18:14:59.356636133Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=145.061µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.362588336Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.364224907Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.635051ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.394162564Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql grafana | logger=migrator t=2024-03-21T18:14:59.395893887Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.732803ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.411202618Z level=info msg="Executing migration" id="Drop old annotation table v4" 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-03-21T18:14:59.411370089Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=168.611µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.425446761Z level=info msg="Executing migration" id="create annotation table v5" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.427243234Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.781213ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.431788966Z level=info msg="Executing migration" id="add index annotation 0 v3" policy-db-migrator | > upgrade 0630-toscanodetype.sql grafana | logger=migrator t=2024-03-21T18:14:59.432746964Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=959.038µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.436694302Z level=info msg="Executing migration" id="add index annotation 1 v3" 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-03-21T18:14:59.437615069Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=922.917µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.445330805Z level=info msg="Executing migration" id="add index annotation 2 v3" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.446398223Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.067068ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.455138956Z level=info msg="Executing migration" id="add index annotation 3 v3" policy-db-migrator | > upgrade 0640-toscanodetypes.sql grafana | logger=migrator t=2024-03-21T18:14:59.456228374Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.089437ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.462885123Z level=info msg="Executing migration" id="add index annotation 4 v3" 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-03-21T18:14:59.464664315Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.779152ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.471649076Z level=info msg="Executing migration" id="Update annotation table charset" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.471673936Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=25.8µs policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.475443013Z level=info msg="Executing migration" id="Add column region_id to annotation table" policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2024-03-21T18:14:59.479577042Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.134039ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.483016458Z level=info msg="Executing migration" id="Drop category_id index" 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-03-21T18:14:59.483867514Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=851.436µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.518748516Z level=info msg="Executing migration" id="Add column tags to annotation table" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.524358136Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=5.61304ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.528635128Z level=info msg="Executing migration" id="Create annotation_tag table v2" policy-db-migrator | > upgrade 0660-toscaparameter.sql grafana | logger=migrator t=2024-03-21T18:14:59.529328583Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=693.675µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.534534181Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2024-03-21T18:14:59.535472837Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=938.156µs grafana | logger=migrator t=2024-03-21T18:14:59.539214675Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" 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-03-21T18:14:59.540189441Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=973.456µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.543959578Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.558342493Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=14.381445ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.562819855Z level=info msg="Executing migration" id="Create annotation_tag table v3" policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2024-03-21T18:14:59.563390979Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=570.254µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.566654874Z 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 | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.567357179Z 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=702.035µs policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.570869654Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.571367707Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=502.553µs policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2024-03-21T18:14:59.575018164Z level=info msg="Executing migration" id="drop table annotation_tag_v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.57585956Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=837.256µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-03-21T18:14:59.580795956Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.581092008Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=296.012µs policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.586421377Z level=info msg="Executing migration" id="Add created time to annotation table" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.590565866Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.143959ms policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2024-03-21T18:14:59.594203942Z level=info msg="Executing migration" id="Add updated time to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.598354053Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.149931ms 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-03-21T18:14:59.602867456Z level=info msg="Executing migration" id="Add index for created in annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.603830343Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=962.027µs policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.608622858Z level=info msg="Executing migration" id="Add index for updated in annotation table" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.609563124Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=939.926µs policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2024-03-21T18:14:59.613311491Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.613546442Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=234.791µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) grafana | logger=migrator t=2024-03-21T18:14:59.617858744Z level=info msg="Executing migration" id="Add epoch_end column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.623904658Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=6.044214ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.627607354Z level=info msg="Executing migration" id="Add index for epoch_end" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.628505611Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=897.497µs policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2024-03-21T18:14:59.631965556Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.632143357Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=175.181µs 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-03-21T18:14:59.637020383Z level=info msg="Executing migration" id="Move region to single row" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.637769568Z level=info msg="Migration successfully executed" id="Move region to single row" duration=749.125µs policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.64213753Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.64358126Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.43965ms policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2024-03-21T18:14:59.647617499Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.649291381Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.672662ms 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-03-21T18:14:59.654161257Z 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-03-21T18:14:59.655245404Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.083767ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.658531068Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.659527556Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=996.198µs policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2024-03-21T18:14:59.663375843Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.664787074Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.411421ms 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-03-21T18:14:59.670057581Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.671694514Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.637953ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.675662272Z level=info msg="Executing migration" id="Increase tags column to length 4096" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.675831504Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=172.782µs policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2024-03-21T18:14:59.679588411Z level=info msg="Executing migration" id="create test_data table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.680589148Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.000697ms 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-03-21T18:14:59.687392638Z level=info msg="Executing migration" id="create dashboard_version table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.688775427Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.383579ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.693644033Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.695210863Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.5661ms policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2024-03-21T18:14:59.699207413Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.700927636Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.719543ms 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-03-21T18:14:59.755890413Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.756390456Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=503.064µs policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2024-03-21T18:14:59.760464206Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.76109044Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=626.324µs 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-03-21T18:14:59.764617086Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.764764757Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=148.601µs policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.768461714Z level=info msg="Executing migration" id="create team table" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.7693353Z level=info msg="Migration successfully executed" id="create team table" duration=873.586µs policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2024-03-21T18:14:59.773967064Z level=info msg="Executing migration" id="add index team.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.774976641Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.009447ms 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-03-21T18:14:59.778578367Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.779535055Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=956.898µs policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.78307637Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.787424121Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.346791ms policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2024-03-21T18:14:59.791831974Z level=info msg="Executing migration" id="Update uid column values in team" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.792033815Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=201.131µs 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-03-21T18:14:59.795376229Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.796954491Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.577082ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.800899909Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.802258079Z level=info msg="Migration successfully executed" id="create team member table" duration=1.35805ms policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2024-03-21T18:14:59.807013613Z level=info msg="Executing migration" id="add index team_member.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.808598595Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.584602ms 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-03-21T18:14:59.812195121Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.813134538Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=939.007µs policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.816514482Z level=info msg="Executing migration" id="add index team_member.team_id" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.817451089Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=934.057µs policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2024-03-21T18:14:59.823996786Z level=info msg="Executing migration" id="Add column email to team table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.828565979Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.568853ms 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-03-21T18:14:59.866966848Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.873821047Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=6.855899ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.878144789Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.882699501Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.555512ms policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2024-03-21T18:14:59.885865885Z level=info msg="Executing migration" id="create dashboard acl table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.886826441Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=960.376µs grafana | logger=migrator t=2024-03-21T18:14:59.891193742Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2024-03-21T18:14:59.89215553Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=960.888µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-03-21T18:14:59.895557684Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.897022365Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.463461ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.905841949Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.90736034Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.518371ms policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2024-03-21T18:14:59.911386239Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.91287821Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.491541ms 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-03-21T18:14:59.916523836Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.917599204Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.075428ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.922614701Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.923557007Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=942.106µs policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-03-21T18:14:59.927441545Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.928900876Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.458841ms policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2024-03-21T18:14:59.933270177Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.934007353Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=737.146µs policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.938938968Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.939283862Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=344.774µs policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-03-21T18:14:59.972780914Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.974148703Z level=info msg="Migration successfully executed" id="create tag table" duration=1.369389ms policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.981262985Z level=info msg="Executing migration" id="add index tag.key_value" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.982891817Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.629452ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:14:59.991053266Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-03-21T18:14:59.992371176Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.327081ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:14:59.997358011Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-03-21T18:14:59.998246188Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=888.277µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:15:00.004689425Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:15:00.006141754Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.452899ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:15:00.009868992Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-03-21T18:15:00.02758181Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=17.717828ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:15:00.031115216Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2024-03-21T18:15:00.03165083Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=538.164µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:15:00.036463144Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:15:00.037310931Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=847.577µs policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:15:00.040903557Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-03-21T18:15:00.0413414Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=437.313µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:15:00.045001376Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2024-03-21T18:15:00.045904843Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=902.547µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:15:00.052686432Z level=info msg="Executing migration" id="create user auth table" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:15:00.05383802Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.151048ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:15:00.057823979Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-03-21T18:15:00.05932463Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.503981ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:15:00.062951307Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2024-03-21T18:15:00.063059127Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=112.25µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:15:00.069534684Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:15:00.0744713Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=4.936076ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:15:00.077896885Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-03-21T18:15:00.082898151Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=4.999976ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:15:00.087544815Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2024-03-21T18:15:00.09241914Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=4.874075ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:15:00.095624463Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:15:00.100594879Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=4.970106ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:15:00.105335853Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-03-21T18:15:00.10627239Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=935.837µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:15:00.110097508Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2024-03-21T18:15:00.117847253Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=7.747605ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:15:00.121265809Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:15:00.121824203Z level=info msg="Migration successfully executed" id="create server_lock table" duration=558.234µs policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:15:00.126469626Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-03-21T18:15:00.127329943Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=858.107µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:15:00.132179007Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2024-03-21T18:15:00.133515037Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.33567ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:15:00.140472317Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:15:00.141353394Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=880.627µs policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:15:00.146716323Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-03-21T18:15:00.149376632Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=2.658379ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:15:00.153618653Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2024-03-21T18:15:00.154700261Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.081327ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:15:00.159531535Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" grafana | logger=migrator t=2024-03-21T18:15:00.167717515Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=8.18391ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:15:00.197980044Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:15:00.199447474Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.46771ms policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:15:00.203071141Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2024-03-21T18:15:00.204507391Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.4355ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:15:00.207921575Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:15:00.208863443Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=941.328µs policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:15:00.214489584Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-03-21T18:15:00.215872003Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.382319ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:15:00.220698878Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2024-03-21T18:15:00.22223901Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.538302ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:15:00.229115959Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:15:00.22920868Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=94.031µs policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:15:00.232725675Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-03-21T18:15:00.232790846Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=65.651µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:15:00.235794627Z level=info msg="Executing migration" id="recreate alert_definition table" 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-03-21T18:15:00.236497313Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=702.466µs grafana | logger=migrator t=2024-03-21T18:15:00.239420274Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:15:00.240131239Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=710.155µs policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:15:00.244798553Z 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-03-21T18:15:00.245502468Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=703.985µs policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-03-21T18:15:00.248709501Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:15:00.248754602Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=45.331µs 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-03-21T18:15:00.251768943Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:15:00.252443348Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=672.265µs policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:15:00.25687371Z 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-03-21T18:15:00.257539665Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=665.765µs policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-03-21T18:15:00.260471986Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:15:00.261174622Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=703.786µs policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-03-21T18:15:00.265303642Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:15:00.266016397Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=712.525µs policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:15:00.270437399Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:15:00.274480248Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=4.040499ms policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-03-21T18:15:00.277759081Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:15:00.278466307Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=707.026µs policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-03-21T18:15:00.28306994Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:15:00.28315192Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=79.36µs policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:15:00.286288223Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:15:00.286983999Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=695.196µs policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-03-21T18:15:00.28995388Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:15:00.290765436Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=810.716µs policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-03-21T18:15:00.295646761Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:15:00.296433777Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=789.046µs policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:15:00.299459968Z 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-03-21T18:15:00.299526569Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=66.891µs policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-03-21T18:15:00.301905576Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:15:00.303303077Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.397091ms 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-03-21T18:15:00.310901851Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:15:00.312421573Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.518342ms policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:15:00.317971793Z 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-03-21T18:15:00.319656795Z 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.684072ms policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdp.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | UPDATE jpapdpstatistics_enginestats a policy-db-migrator | JOIN pdpstatistics b policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp policy-db-migrator | SET a.id = b.id policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-21T18:15:00.323169461Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" grafana | logger=migrator t=2024-03-21T18:15:00.324801602Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.631461ms grafana | logger=migrator t=2024-03-21T18:15:00.329773238Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" grafana | logger=migrator t=2024-03-21T18:15:00.33549188Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=5.718172ms grafana | logger=migrator t=2024-03-21T18:15:00.338484611Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" grafana | logger=migrator t=2024-03-21T18:15:00.339511418Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.026027ms grafana | logger=migrator t=2024-03-21T18:15:00.342183358Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-03-21T18:15:00.343193206Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.009268ms grafana | logger=migrator t=2024-03-21T18:15:00.378173118Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" grafana | logger=migrator t=2024-03-21T18:15:00.403711663Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=25.540005ms grafana | logger=migrator t=2024-03-21T18:15:00.410306441Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" grafana | logger=migrator t=2024-03-21T18:15:00.435711165Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=25.402624ms grafana | logger=migrator t=2024-03-21T18:15:00.441263096Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" grafana | logger=migrator t=2024-03-21T18:15:00.441981051Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=711.914µs grafana | logger=migrator t=2024-03-21T18:15:00.445645347Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" grafana | logger=migrator t=2024-03-21T18:15:00.447166498Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.520241ms grafana | logger=migrator t=2024-03-21T18:15:00.454257139Z level=info msg="Executing migration" id="add current_reason column related to current_state" grafana | logger=migrator t=2024-03-21T18:15:00.463590687Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=9.333788ms grafana | logger=migrator t=2024-03-21T18:15:00.468838565Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" grafana | logger=migrator t=2024-03-21T18:15:00.473603749Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=4.764334ms grafana | logger=migrator t=2024-03-21T18:15:00.476814802Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2024-03-21T18:15:00.47776598Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=950.818µs grafana | logger=migrator t=2024-03-21T18:15:00.480832432Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2024-03-21T18:15:00.481824119Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=991.017µs grafana | logger=migrator t=2024-03-21T18:15:00.487805252Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" grafana | logger=migrator t=2024-03-21T18:15:00.48877499Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=968.988µs grafana | logger=migrator t=2024-03-21T18:15:00.492100084Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" grafana | logger=migrator t=2024-03-21T18:15:00.493165581Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.068017ms grafana | logger=migrator t=2024-03-21T18:15:00.496100512Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2024-03-21T18:15:00.496169043Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=66.391µs grafana | logger=migrator t=2024-03-21T18:15:00.501411761Z level=info msg="Executing migration" id="add column for to alert_rule" grafana | logger=migrator t=2024-03-21T18:15:00.507376694Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=5.966723ms grafana | logger=migrator t=2024-03-21T18:15:00.512532311Z level=info msg="Executing migration" id="add column annotations to alert_rule" grafana | logger=migrator t=2024-03-21T18:15:00.518381633Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=5.848792ms grafana | logger=migrator t=2024-03-21T18:15:00.523045608Z level=info msg="Executing migration" id="add column labels to alert_rule" grafana | logger=migrator t=2024-03-21T18:15:00.529263063Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.215355ms grafana | logger=migrator t=2024-03-21T18:15:00.533410323Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" grafana | logger=migrator t=2024-03-21T18:15:00.53448198Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.071777ms grafana | logger=migrator t=2024-03-21T18:15:00.544487463Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" grafana | logger=migrator t=2024-03-21T18:15:00.546572747Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=2.085584ms grafana | logger=migrator t=2024-03-21T18:15:00.55246086Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" grafana | logger=migrator t=2024-03-21T18:15:00.558297183Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=5.835973ms grafana | logger=migrator t=2024-03-21T18:15:00.564176716Z level=info msg="Executing migration" id="add panel_id column to alert_rule" grafana | logger=migrator t=2024-03-21T18:15:00.570172489Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=5.979453ms grafana | logger=migrator t=2024-03-21T18:15:00.573381432Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" grafana | logger=migrator t=2024-03-21T18:15:00.574407229Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.025537ms grafana | logger=migrator t=2024-03-21T18:15:00.577459671Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2024-03-21T18:15:00.583401725Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=5.941744ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-sequence.sql policy-db-migrator | -------------- policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-toscatrigger.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscatrigger policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-toscaparameter.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaparameter policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-toscaproperty.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaproperty policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-03-21T18:15:00.590460786Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2024-03-21T18:15:00.596358568Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=5.897262ms grafana | logger=migrator t=2024-03-21T18:15:00.627862526Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" grafana | logger=migrator t=2024-03-21T18:15:00.628006807Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=143.701µs grafana | logger=migrator t=2024-03-21T18:15:00.631556814Z level=info msg="Executing migration" id="create alert_rule_version table" grafana | logger=migrator t=2024-03-21T18:15:00.633330356Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.772862ms grafana | logger=migrator t=2024-03-21T18:15:00.636832732Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" grafana | logger=migrator t=2024-03-21T18:15:00.638548944Z 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.715262ms grafana | logger=migrator t=2024-03-21T18:15:00.648473526Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" grafana | logger=migrator t=2024-03-21T18:15:00.650048447Z 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.573491ms grafana | logger=migrator t=2024-03-21T18:15:00.655635347Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" grafana | logger=migrator t=2024-03-21T18:15:00.655798908Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=167.111µs grafana | logger=migrator t=2024-03-21T18:15:00.658199786Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2024-03-21T18:15:00.664501041Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.299845ms grafana | logger=migrator t=2024-03-21T18:15:00.668747533Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" grafana | logger=migrator t=2024-03-21T18:15:00.674915397Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.167024ms grafana | logger=migrator t=2024-03-21T18:15:00.677884538Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2024-03-21T18:15:00.684136744Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.251526ms grafana | logger=migrator t=2024-03-21T18:15:00.687287807Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2024-03-21T18:15:00.693593473Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.305386ms grafana | logger=migrator t=2024-03-21T18:15:00.697944264Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2024-03-21T18:15:00.704105639Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.160985ms grafana | logger=migrator t=2024-03-21T18:15:00.707485993Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" grafana | logger=migrator t=2024-03-21T18:15:00.707573574Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=87.841µs grafana | logger=migrator t=2024-03-21T18:15:00.709989411Z level=info msg="Executing migration" id=create_alert_configuration_table grafana | logger=migrator t=2024-03-21T18:15:00.710798317Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=808.686µs grafana | logger=migrator t=2024-03-21T18:15:00.716125786Z level=info msg="Executing migration" id="Add column default in alert_configuration" grafana | logger=migrator t=2024-03-21T18:15:00.725600564Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=9.472668ms grafana | logger=migrator t=2024-03-21T18:15:00.731470406Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" grafana | logger=migrator t=2024-03-21T18:15:00.731591507Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=121.261µs grafana | logger=migrator t=2024-03-21T18:15:00.734280576Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2024-03-21T18:15:00.744741163Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=10.457107ms grafana | logger=migrator t=2024-03-21T18:15:00.748462949Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" grafana | logger=migrator t=2024-03-21T18:15:00.749207285Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=743.916µs grafana | logger=migrator t=2024-03-21T18:15:00.753772288Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" grafana | logger=migrator t=2024-03-21T18:15:00.763447948Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=9.67532ms grafana | logger=migrator t=2024-03-21T18:15:00.766758302Z level=info msg="Executing migration" id=create_ngalert_configuration_table grafana | logger=migrator t=2024-03-21T18:15:00.767337466Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=577.364µs grafana | logger=migrator t=2024-03-21T18:15:00.77072424Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" grafana | logger=migrator t=2024-03-21T18:15:00.772312542Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.586352ms grafana | logger=migrator t=2024-03-21T18:15:00.778678938Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" grafana | logger=migrator t=2024-03-21T18:15:00.786774617Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=8.096499ms grafana | logger=migrator t=2024-03-21T18:15:00.792294857Z level=info msg="Executing migration" id="create provenance_type table" grafana | logger=migrator t=2024-03-21T18:15:00.793134943Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=839.686µs grafana | logger=migrator t=2024-03-21T18:15:00.801623264Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" grafana | logger=migrator t=2024-03-21T18:15:00.802709283Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.086249ms grafana | logger=migrator t=2024-03-21T18:15:00.807299645Z level=info msg="Executing migration" id="create alert_image table" grafana | logger=migrator t=2024-03-21T18:15:00.808099132Z level=info msg="Migration successfully executed" id="create alert_image table" duration=799.327µs policy-db-migrator | policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-upgrade.sql policy-db-migrator | -------------- policy-db-migrator | select 'upgrade to 1100 completed' as msg policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | msg policy-db-migrator | upgrade to 1100 completed policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-audit_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) grafana | logger=migrator t=2024-03-21T18:15:00.81211975Z level=info msg="Executing migration" id="add unique index on token to alert_image table" grafana | logger=migrator t=2024-03-21T18:15:00.813134618Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.014358ms grafana | logger=migrator t=2024-03-21T18:15:00.849097348Z level=info msg="Executing migration" id="support longer URLs in alert_image table" grafana | logger=migrator t=2024-03-21T18:15:00.849250069Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=153.591µs grafana | logger=migrator t=2024-03-21T18:15:00.85764628Z level=info msg="Executing migration" id=create_alert_configuration_history_table grafana | logger=migrator t=2024-03-21T18:15:00.859167971Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.521041ms grafana | logger=migrator t=2024-03-21T18:15:00.863346751Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" grafana | logger=migrator t=2024-03-21T18:15:00.864997173Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.649322ms grafana | logger=migrator t=2024-03-21T18:15:00.869018042Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-03-21T18:15:00.869432676Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" grafana | logger=migrator t=2024-03-21T18:15:00.874948236Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" grafana | logger=migrator t=2024-03-21T18:15:00.875648721Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=699.975µs grafana | logger=migrator t=2024-03-21T18:15:00.879531158Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" grafana | logger=migrator t=2024-03-21T18:15:00.881163231Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.631653ms grafana | logger=migrator t=2024-03-21T18:15:00.885074149Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2024-03-21T18:15:00.892953286Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=7.878587ms grafana | logger=migrator t=2024-03-21T18:15:00.899967167Z level=info msg="Executing migration" id="create library_element table v1" grafana | logger=migrator t=2024-03-21T18:15:00.901071615Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.105308ms grafana | logger=migrator t=2024-03-21T18:15:00.905125503Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" grafana | logger=migrator t=2024-03-21T18:15:00.906256312Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.130609ms grafana | logger=migrator t=2024-03-21T18:15:00.909644687Z level=info msg="Executing migration" id="create library_element_connection table v1" grafana | logger=migrator t=2024-03-21T18:15:00.910479512Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=832.395µs grafana | logger=migrator t=2024-03-21T18:15:00.914835425Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2024-03-21T18:15:00.915904412Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.067677ms grafana | logger=migrator t=2024-03-21T18:15:00.920379465Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2024-03-21T18:15:00.922360609Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.980704ms grafana | logger=migrator t=2024-03-21T18:15:00.928963057Z level=info msg="Executing migration" id="increase max description length to 2048" grafana | logger=migrator t=2024-03-21T18:15:00.929052027Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=84.53µs grafana | logger=migrator t=2024-03-21T18:15:00.935026061Z level=info msg="Executing migration" id="alter library_element model to mediumtext" grafana | logger=migrator t=2024-03-21T18:15:00.935131031Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=105.27µs grafana | logger=migrator t=2024-03-21T18:15:00.94328492Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" grafana | logger=migrator t=2024-03-21T18:15:00.943846574Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=561.414µs grafana | logger=migrator t=2024-03-21T18:15:00.948018285Z level=info msg="Executing migration" id="create data_keys table" grafana | logger=migrator t=2024-03-21T18:15:00.949595246Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.576681ms grafana | logger=migrator t=2024-03-21T18:15:01.060185508Z level=info msg="Executing migration" id="create secrets table" grafana | logger=migrator t=2024-03-21T18:15:01.061699618Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.51516ms grafana | logger=migrator t=2024-03-21T18:15:01.068283686Z level=info msg="Executing migration" id="rename data_keys name column to id" grafana | logger=migrator t=2024-03-21T18:15:01.1006954Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=32.411654ms grafana | logger=migrator t=2024-03-21T18:15:01.104401157Z level=info msg="Executing migration" id="add name column into data_keys" grafana | logger=migrator t=2024-03-21T18:15:01.112933719Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=8.530602ms grafana | logger=migrator t=2024-03-21T18:15:01.116936348Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2024-03-21T18:15:01.117133139Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=196.981µs grafana | logger=migrator t=2024-03-21T18:15:01.122257616Z level=info msg="Executing migration" id="rename data_keys name column to label" grafana | logger=migrator t=2024-03-21T18:15:01.153687044Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=31.429738ms grafana | logger=migrator t=2024-03-21T18:15:01.161125698Z level=info msg="Executing migration" id="rename data_keys id column back to name" grafana | logger=migrator t=2024-03-21T18:15:01.189886666Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=28.762398ms grafana | logger=migrator t=2024-03-21T18:15:01.196922447Z level=info msg="Executing migration" id="create kv_store table v1" grafana | logger=migrator t=2024-03-21T18:15:01.197562332Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=639.715µs grafana | logger=migrator t=2024-03-21T18:15:01.201228958Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" grafana | logger=migrator t=2024-03-21T18:15:01.202393836Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.164328ms grafana | logger=migrator t=2024-03-21T18:15:01.209550778Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2024-03-21T18:15:01.2098206Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=269.762µs grafana | logger=migrator t=2024-03-21T18:15:01.213751239Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2024-03-21T18:15:01.215216789Z level=info msg="Migration successfully executed" id="create permission table" duration=1.46519ms grafana | logger=migrator t=2024-03-21T18:15:01.220181285Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2024-03-21T18:15:01.221205852Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.024407ms grafana | logger=migrator t=2024-03-21T18:15:01.225400473Z level=info msg="Executing migration" id="add unique index role_id_action_scope" grafana | logger=migrator t=2024-03-21T18:15:01.226473681Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.072528ms grafana | logger=migrator t=2024-03-21T18:15:01.230003546Z level=info msg="Executing migration" id="create role table" grafana | logger=migrator t=2024-03-21T18:15:01.230859063Z level=info msg="Migration successfully executed" id="create role table" duration=861.827µs grafana | logger=migrator t=2024-03-21T18:15:01.235659197Z level=info msg="Executing migration" id="add column display_name" grafana | logger=migrator t=2024-03-21T18:15:01.247221412Z level=info msg="Migration successfully executed" id="add column display_name" duration=11.564085ms grafana | logger=migrator t=2024-03-21T18:15:01.279892447Z level=info msg="Executing migration" id="add column group_name" grafana | logger=migrator t=2024-03-21T18:15:01.289678419Z level=info msg="Migration successfully executed" id="add column group_name" duration=9.789592ms grafana | logger=migrator t=2024-03-21T18:15:01.294350692Z level=info msg="Executing migration" id="add index role.org_id" grafana | logger=migrator t=2024-03-21T18:15:01.29541433Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.063328ms grafana | logger=migrator t=2024-03-21T18:15:01.299247778Z level=info msg="Executing migration" id="add unique index role_org_id_name" grafana | logger=migrator t=2024-03-21T18:15:01.300353535Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.105487ms grafana | logger=migrator t=2024-03-21T18:15:01.30509449Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2024-03-21T18:15:01.306879623Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.787373ms grafana | logger=migrator t=2024-03-21T18:15:01.310801901Z level=info msg="Executing migration" id="create team role table" grafana | logger=migrator t=2024-03-21T18:15:01.312105571Z level=info msg="Migration successfully executed" id="create team role table" duration=1.30318ms policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | TRUNCATE TABLE sequence policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0100-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE pdpstatistics policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-statistics_sequence.sql policy-db-migrator | -------------- policy-db-migrator | DROP TABLE statistics_sequence policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policyadmin: OK: upgrade (1300) policy-db-migrator | name version policy-db-migrator | policyadmin 1300 policy-db-migrator | ID script operation from_version to_version tag success atTime policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:00 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:00 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:00 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:00 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:00 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:00 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:00 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:00 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:00 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:00 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:00 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:00 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:00 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:00 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:00 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:01 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:01 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:01 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:01 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:01 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:01 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:01 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:01 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:01 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:01 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:01 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:01 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:01 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:01 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:01 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:01 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:01 grafana | logger=migrator t=2024-03-21T18:15:01.317003706Z level=info msg="Executing migration" id="add index team_role.org_id" grafana | logger=migrator t=2024-03-21T18:15:01.318131184Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.128558ms grafana | logger=migrator t=2024-03-21T18:15:01.322791908Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" grafana | logger=migrator t=2024-03-21T18:15:01.324622461Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.829583ms grafana | logger=migrator t=2024-03-21T18:15:01.331426731Z level=info msg="Executing migration" id="add index team_role.team_id" grafana | logger=migrator t=2024-03-21T18:15:01.333072112Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.644941ms grafana | logger=migrator t=2024-03-21T18:15:01.337757657Z level=info msg="Executing migration" id="create user role table" grafana | logger=migrator t=2024-03-21T18:15:01.338673073Z level=info msg="Migration successfully executed" id="create user role table" duration=914.136µs grafana | logger=migrator t=2024-03-21T18:15:01.343375508Z level=info msg="Executing migration" id="add index user_role.org_id" grafana | logger=migrator t=2024-03-21T18:15:01.344433555Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.057647ms grafana | logger=migrator t=2024-03-21T18:15:01.348197803Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" grafana | logger=migrator t=2024-03-21T18:15:01.34926788Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.069667ms grafana | logger=migrator t=2024-03-21T18:15:01.356397061Z level=info msg="Executing migration" id="add index user_role.user_id" grafana | logger=migrator t=2024-03-21T18:15:01.358130554Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.733223ms grafana | logger=migrator t=2024-03-21T18:15:01.366792306Z level=info msg="Executing migration" id="create builtin role table" grafana | logger=migrator t=2024-03-21T18:15:01.368474989Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.681623ms grafana | logger=migrator t=2024-03-21T18:15:01.374302031Z level=info msg="Executing migration" id="add index builtin_role.role_id" grafana | logger=migrator t=2024-03-21T18:15:01.376259276Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.956185ms grafana | logger=migrator t=2024-03-21T18:15:01.380391515Z level=info msg="Executing migration" id="add index builtin_role.name" grafana | logger=migrator t=2024-03-21T18:15:01.381704345Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.31406ms grafana | logger=migrator t=2024-03-21T18:15:01.386914912Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2024-03-21T18:15:01.394657529Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.741997ms grafana | logger=migrator t=2024-03-21T18:15:01.399276632Z level=info msg="Executing migration" id="add index builtin_role.org_id" grafana | logger=migrator t=2024-03-21T18:15:01.40035557Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.084898ms grafana | logger=migrator t=2024-03-21T18:15:01.408035666Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2024-03-21T18:15:01.409780159Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.743793ms grafana | logger=migrator t=2024-03-21T18:15:01.417331602Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2024-03-21T18:15:01.418989565Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.657163ms grafana | logger=migrator t=2024-03-21T18:15:01.423166775Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2024-03-21T18:15:01.424838537Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.671652ms grafana | logger=migrator t=2024-03-21T18:15:01.428849336Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:01 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:01 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:01 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:02 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:02 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:02 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:02 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:02 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:02 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:02 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:02 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:02 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:02 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:02 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:02 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:02 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:02 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:02 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:02 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:02 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:02 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:02 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:02 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:03 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:03 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:03 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:03 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:03 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:03 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:03 grafana | logger=migrator t=2024-03-21T18:15:01.429625792Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=774.526µs grafana | logger=migrator t=2024-03-21T18:15:01.434295895Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2024-03-21T18:15:01.436479181Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=2.183396ms grafana | logger=migrator t=2024-03-21T18:15:01.440362979Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2024-03-21T18:15:01.449297595Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=8.934536ms grafana | logger=migrator t=2024-03-21T18:15:01.455254778Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2024-03-21T18:15:01.462467949Z level=info msg="Migration successfully executed" id="permission kind migration" duration=7.209041ms grafana | logger=migrator t=2024-03-21T18:15:01.501702133Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2024-03-21T18:15:01.50944343Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=7.744477ms grafana | logger=migrator t=2024-03-21T18:15:01.513137156Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2024-03-21T18:15:01.52464166Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=11.505984ms grafana | logger=migrator t=2024-03-21T18:15:01.528087775Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2024-03-21T18:15:01.529769487Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.682052ms grafana | logger=migrator t=2024-03-21T18:15:01.534829493Z level=info msg="Executing migration" id="add permission action scope role_id index" grafana | logger=migrator t=2024-03-21T18:15:01.536754467Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=1.927594ms grafana | logger=migrator t=2024-03-21T18:15:01.540884387Z level=info msg="Executing migration" id="remove permission role_id action scope index" grafana | logger=migrator t=2024-03-21T18:15:01.542438119Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.553422ms grafana | logger=migrator t=2024-03-21T18:15:01.546537188Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2024-03-21T18:15:01.547432565Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=894.857µs grafana | logger=migrator t=2024-03-21T18:15:01.552143668Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2024-03-21T18:15:01.554016152Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.871734ms grafana | logger=migrator t=2024-03-21T18:15:01.561692578Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2024-03-21T18:15:01.561757169Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=65.631µs grafana | logger=migrator t=2024-03-21T18:15:01.566392662Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2024-03-21T18:15:01.566425232Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=33.44µs grafana | logger=migrator t=2024-03-21T18:15:01.571061896Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2024-03-21T18:15:01.57169138Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=629.444µs grafana | logger=migrator t=2024-03-21T18:15:01.575453758Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2024-03-21T18:15:01.576242843Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=790.245µs grafana | logger=migrator t=2024-03-21T18:15:01.579759179Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2024-03-21T18:15:01.580805677Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.046088ms grafana | logger=migrator t=2024-03-21T18:15:01.584630834Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2024-03-21T18:15:01.584956646Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=325.812µs grafana | logger=migrator t=2024-03-21T18:15:01.589323118Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2024-03-21T18:15:01.589752311Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=429.333µs grafana | logger=migrator t=2024-03-21T18:15:01.595467953Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2024-03-21T18:15:01.596693271Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.225118ms grafana | logger=migrator t=2024-03-21T18:15:01.601395545Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2024-03-21T18:15:01.603101238Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.702573ms grafana | logger=migrator t=2024-03-21T18:15:01.606800855Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2024-03-21T18:15:01.616283893Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=9.483628ms grafana | logger=migrator t=2024-03-21T18:15:01.621601322Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2024-03-21T18:15:01.621662502Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=61.72µs grafana | logger=migrator t=2024-03-21T18:15:01.657761924Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2024-03-21T18:15:01.659655218Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.892694ms grafana | logger=migrator t=2024-03-21T18:15:01.668392041Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:03 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:03 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:03 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:03 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:03 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:03 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:03 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:03 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:03 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:03 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:03 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:03 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:03 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:03 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:03 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:04 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:04 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:04 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:04 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:04 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:04 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:04 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:04 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:04 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:04 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:04 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:04 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:04 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:04 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:04 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:04 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:05 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:05 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2103241815000800u 1 2024-03-21 18:15:05 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2103241815000900u 1 2024-03-21 18:15:05 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2103241815000900u 1 2024-03-21 18:15:05 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2103241815000900u 1 2024-03-21 18:15:05 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2103241815000900u 1 2024-03-21 18:15:05 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2103241815000900u 1 2024-03-21 18:15:05 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2103241815000900u 1 2024-03-21 18:15:05 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2103241815000900u 1 2024-03-21 18:15:05 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2103241815000900u 1 2024-03-21 18:15:05 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2103241815000900u 1 2024-03-21 18:15:05 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2103241815000900u 1 2024-03-21 18:15:05 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2103241815000900u 1 2024-03-21 18:15:05 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2103241815000900u 1 2024-03-21 18:15:05 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2103241815000900u 1 2024-03-21 18:15:05 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2103241815001000u 1 2024-03-21 18:15:05 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2103241815001000u 1 2024-03-21 18:15:05 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2103241815001000u 1 2024-03-21 18:15:05 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2103241815001000u 1 2024-03-21 18:15:06 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2103241815001000u 1 2024-03-21 18:15:06 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2103241815001000u 1 2024-03-21 18:15:06 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2103241815001000u 1 2024-03-21 18:15:06 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2103241815001000u 1 2024-03-21 18:15:06 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2103241815001000u 1 2024-03-21 18:15:06 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2103241815001100u 1 2024-03-21 18:15:06 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2103241815001200u 1 2024-03-21 18:15:06 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2103241815001200u 1 2024-03-21 18:15:06 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2103241815001200u 1 2024-03-21 18:15:06 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2103241815001200u 1 2024-03-21 18:15:06 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 2103241815001300u 1 2024-03-21 18:15:06 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 2103241815001300u 1 2024-03-21 18:15:06 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 2103241815001300u 1 2024-03-21 18:15:06 policy-db-migrator | policyadmin: OK @ 1300 grafana | logger=migrator t=2024-03-21T18:15:01.670186453Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.794962ms grafana | logger=migrator t=2024-03-21T18:15:01.675638253Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2024-03-21T18:15:01.677135654Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.498741ms grafana | logger=migrator t=2024-03-21T18:15:01.681900859Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2024-03-21T18:15:01.690130399Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.22884ms grafana | logger=migrator t=2024-03-21T18:15:01.728619386Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2024-03-21T18:15:01.73039521Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.781723ms grafana | logger=migrator t=2024-03-21T18:15:01.737834794Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2024-03-21T18:15:01.739548216Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.712572ms grafana | logger=migrator t=2024-03-21T18:15:01.743636146Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2024-03-21T18:15:01.766007108Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=22.370812ms grafana | logger=migrator t=2024-03-21T18:15:01.771624558Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2024-03-21T18:15:01.772792066Z level=info msg="Migration successfully executed" id="create correlation v2" duration=1.167678ms grafana | logger=migrator t=2024-03-21T18:15:01.778267336Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2024-03-21T18:15:01.779900618Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.630602ms grafana | logger=migrator t=2024-03-21T18:15:01.783794236Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2024-03-21T18:15:01.785878862Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=2.089436ms grafana | logger=migrator t=2024-03-21T18:15:01.791303571Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2024-03-21T18:15:01.793532467Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=2.230846ms grafana | logger=migrator t=2024-03-21T18:15:01.798890275Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2024-03-21T18:15:01.799158488Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=270.093µs grafana | logger=migrator t=2024-03-21T18:15:01.804720878Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2024-03-21T18:15:01.805478443Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=756.785µs grafana | logger=migrator t=2024-03-21T18:15:01.810148377Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2024-03-21T18:15:01.820609223Z level=info msg="Migration successfully executed" id="add provisioning column" duration=10.461106ms grafana | logger=migrator t=2024-03-21T18:15:01.825488008Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2024-03-21T18:15:01.826517775Z level=info msg="Migration successfully executed" id="create entity_events table" duration=1.026427ms grafana | logger=migrator t=2024-03-21T18:15:01.831018708Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2024-03-21T18:15:01.832030495Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.011257ms grafana | logger=migrator t=2024-03-21T18:15:01.837923848Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-03-21T18:15:01.838349732Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-03-21T18:15:01.844543396Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-03-21T18:15:01.845263691Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-03-21T18:15:01.848997688Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2024-03-21T18:15:01.850305988Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.30468ms grafana | logger=migrator t=2024-03-21T18:15:01.855595846Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2024-03-21T18:15:01.856868745Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.272489ms grafana | logger=migrator t=2024-03-21T18:15:01.860643042Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-03-21T18:15:01.861787151Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.144629ms grafana | logger=migrator t=2024-03-21T18:15:01.866232113Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-03-21T18:15:01.867718364Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.483601ms grafana | logger=migrator t=2024-03-21T18:15:01.871513201Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-03-21T18:15:01.873193114Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.680213ms grafana | logger=migrator t=2024-03-21T18:15:01.877966139Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-03-21T18:15:01.879037266Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.070867ms grafana | logger=migrator t=2024-03-21T18:15:01.885903655Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2024-03-21T18:15:01.887368126Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.448061ms grafana | logger=migrator t=2024-03-21T18:15:01.891599387Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2024-03-21T18:15:01.893193098Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.595061ms grafana | logger=migrator t=2024-03-21T18:15:01.898111864Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-03-21T18:15:01.899327083Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.216279ms grafana | logger=migrator t=2024-03-21T18:15:01.903285202Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-03-21T18:15:01.90452835Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.243518ms grafana | logger=migrator t=2024-03-21T18:15:01.908298567Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2024-03-21T18:15:01.909480636Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.182869ms grafana | logger=migrator t=2024-03-21T18:15:01.971542375Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2024-03-21T18:15:02.000213493Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=28.671008ms grafana | logger=migrator t=2024-03-21T18:15:02.004250993Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2024-03-21T18:15:02.010615529Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.364516ms grafana | logger=migrator t=2024-03-21T18:15:02.015974288Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2024-03-21T18:15:02.02464053Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.665962ms grafana | logger=migrator t=2024-03-21T18:15:02.03009227Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2024-03-21T18:15:02.030587293Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=498.143µs grafana | logger=migrator t=2024-03-21T18:15:02.035859101Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2024-03-21T18:15:02.045840014Z level=info msg="Migration successfully executed" id="add share column" duration=9.982203ms grafana | logger=migrator t=2024-03-21T18:15:02.049926823Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2024-03-21T18:15:02.050073184Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=146.661µs grafana | logger=migrator t=2024-03-21T18:15:02.05774826Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2024-03-21T18:15:02.059481972Z level=info msg="Migration successfully executed" id="create file table" duration=1.733012ms grafana | logger=migrator t=2024-03-21T18:15:02.066091511Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2024-03-21T18:15:02.067872073Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.780712ms grafana | logger=migrator t=2024-03-21T18:15:02.072437906Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2024-03-21T18:15:02.07424086Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.802864ms grafana | logger=migrator t=2024-03-21T18:15:02.0785344Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2024-03-21T18:15:02.079416447Z level=info msg="Migration successfully executed" id="create file_meta table" duration=881.647µs grafana | logger=migrator t=2024-03-21T18:15:02.08538132Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2024-03-21T18:15:02.087253083Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.871433ms grafana | logger=migrator t=2024-03-21T18:15:02.094542746Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2024-03-21T18:15:02.094636127Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=75.301µs grafana | logger=migrator t=2024-03-21T18:15:02.101013393Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2024-03-21T18:15:02.101116574Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=104.571µs grafana | logger=migrator t=2024-03-21T18:15:02.106268361Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2024-03-21T18:15:02.107199868Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=932.356µs grafana | logger=migrator t=2024-03-21T18:15:02.112461656Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2024-03-21T18:15:02.112733198Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=271.322µs grafana | logger=migrator t=2024-03-21T18:15:02.117570893Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-03-21T18:15:02.119828129Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=2.259816ms grafana | logger=migrator t=2024-03-21T18:15:02.123938199Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-03-21T18:15:02.134035792Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=10.096833ms grafana | logger=migrator t=2024-03-21T18:15:02.139782404Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-03-21T18:15:02.139899035Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=116.901µs grafana | logger=migrator t=2024-03-21T18:15:02.144534589Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-03-21T18:15:02.146663424Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=2.128875ms grafana | logger=migrator t=2024-03-21T18:15:02.151079706Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-03-21T18:15:02.151852101Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=774.675µs grafana | logger=migrator t=2024-03-21T18:15:02.156120572Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-03-21T18:15:02.156403974Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=283.072µs grafana | logger=migrator t=2024-03-21T18:15:02.187081976Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-03-21T18:15:02.188078813Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=996.607µs grafana | logger=migrator t=2024-03-21T18:15:02.195003074Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-03-21T18:15:02.206824449Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=11.822835ms grafana | logger=migrator t=2024-03-21T18:15:02.210240394Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-03-21T18:15:02.218340663Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.098179ms grafana | logger=migrator t=2024-03-21T18:15:02.224892111Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2024-03-21T18:15:02.226042819Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.150788ms grafana | logger=migrator t=2024-03-21T18:15:02.28287208Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2024-03-21T18:15:02.363362933Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=80.487863ms grafana | logger=migrator t=2024-03-21T18:15:02.367257041Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-03-21T18:15:02.36844857Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.187419ms grafana | logger=migrator t=2024-03-21T18:15:02.374050181Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2024-03-21T18:15:02.375473561Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.42266ms grafana | logger=migrator t=2024-03-21T18:15:02.408334199Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-03-21T18:15:02.438733699Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=30.39917ms grafana | logger=migrator t=2024-03-21T18:15:02.443528194Z level=info msg="Executing migration" id="add origin column to seed_assignment" grafana | logger=migrator t=2024-03-21T18:15:02.455352289Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=11.818365ms grafana | logger=migrator t=2024-03-21T18:15:02.460212465Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" grafana | logger=migrator t=2024-03-21T18:15:02.460623248Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=407.523µs grafana | logger=migrator t=2024-03-21T18:15:02.464564446Z level=info msg="Executing migration" id="prevent seeding OnCall access" grafana | logger=migrator t=2024-03-21T18:15:02.464695897Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=130.651µs grafana | logger=migrator t=2024-03-21T18:15:02.468738807Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2024-03-21T18:15:02.469288011Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=548.224µs grafana | logger=migrator t=2024-03-21T18:15:02.47472358Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2024-03-21T18:15:02.475100462Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=378.012µs grafana | logger=migrator t=2024-03-21T18:15:02.478597187Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2024-03-21T18:15:02.479220342Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=623.155µs grafana | logger=migrator t=2024-03-21T18:15:02.486123052Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-03-21T18:15:02.487699363Z level=info msg="Migration successfully executed" id="create folder table" duration=1.577001ms grafana | logger=migrator t=2024-03-21T18:15:02.492488368Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2024-03-21T18:15:02.493857248Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.36567ms grafana | logger=migrator t=2024-03-21T18:15:02.497727406Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2024-03-21T18:15:02.499016375Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.288689ms grafana | logger=migrator t=2024-03-21T18:15:02.503684229Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-03-21T18:15:02.503710849Z level=info msg="Migration successfully executed" id="Update folder title length" duration=27.8µs grafana | logger=migrator t=2024-03-21T18:15:02.508449384Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-03-21T18:15:02.510237086Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.787062ms grafana | logger=migrator t=2024-03-21T18:15:02.513906504Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-03-21T18:15:02.515580795Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.673821ms grafana | logger=migrator t=2024-03-21T18:15:02.52035312Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-03-21T18:15:02.522657357Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=2.306057ms grafana | logger=migrator t=2024-03-21T18:15:02.529854888Z level=info msg="Executing migration" id="Sync dashboard and folder table" grafana | logger=migrator t=2024-03-21T18:15:02.530339823Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=488.315µs grafana | logger=migrator t=2024-03-21T18:15:02.533752597Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" grafana | logger=migrator t=2024-03-21T18:15:02.534036509Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=284.202µs grafana | logger=migrator t=2024-03-21T18:15:02.538697223Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" grafana | logger=migrator t=2024-03-21T18:15:02.540370035Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.672162ms grafana | logger=migrator t=2024-03-21T18:15:02.546512419Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" grafana | logger=migrator t=2024-03-21T18:15:02.547666008Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=1.153309ms grafana | logger=migrator t=2024-03-21T18:15:02.550989492Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" grafana | logger=migrator t=2024-03-21T18:15:02.552082289Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.092957ms grafana | logger=migrator t=2024-03-21T18:15:02.556847744Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" grafana | logger=migrator t=2024-03-21T18:15:02.558016562Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.168078ms grafana | logger=migrator t=2024-03-21T18:15:02.563796804Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" grafana | logger=migrator t=2024-03-21T18:15:02.565442647Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.645952ms grafana | logger=migrator t=2024-03-21T18:15:02.569027462Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-03-21T18:15:02.570852505Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.823783ms grafana | logger=migrator t=2024-03-21T18:15:02.574068729Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-03-21T18:15:02.575480509Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.41164ms grafana | logger=migrator t=2024-03-21T18:15:02.581848585Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-03-21T18:15:02.583008553Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.159718ms grafana | logger=migrator t=2024-03-21T18:15:02.586053285Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-03-21T18:15:02.587039343Z level=info msg="Migration successfully executed" id="create signing_key table" duration=985.738µs grafana | logger=migrator t=2024-03-21T18:15:02.626102376Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-03-21T18:15:02.628662015Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=2.559479ms grafana | logger=migrator t=2024-03-21T18:15:02.634338175Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-03-21T18:15:02.636245579Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.908064ms grafana | logger=migrator t=2024-03-21T18:15:02.640077997Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-03-21T18:15:02.640572101Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=495.954µs grafana | logger=migrator t=2024-03-21T18:15:02.64743832Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-03-21T18:15:02.657467453Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=10.026253ms grafana | logger=migrator t=2024-03-21T18:15:02.662331758Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-03-21T18:15:02.663123344Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=792.706µs grafana | logger=migrator t=2024-03-21T18:15:02.671271463Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-03-21T18:15:02.673407299Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=2.135526ms grafana | logger=migrator t=2024-03-21T18:15:02.678980819Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-03-21T18:15:02.680026276Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.045527ms grafana | logger=migrator t=2024-03-21T18:15:02.686287021Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-03-21T18:15:02.688172875Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=1.889274ms grafana | logger=migrator t=2024-03-21T18:15:02.692285285Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" grafana | logger=migrator t=2024-03-21T18:15:02.694174279Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=1.892354ms grafana | logger=migrator t=2024-03-21T18:15:02.701303311Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-03-21T18:15:02.703037623Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.732202ms grafana | logger=migrator t=2024-03-21T18:15:02.710362366Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-03-21T18:15:02.712051578Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.684372ms grafana | logger=migrator t=2024-03-21T18:15:02.718308174Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-03-21T18:15:02.719572952Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=1.265708ms grafana | logger=migrator t=2024-03-21T18:15:02.725775957Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-03-21T18:15:02.726259531Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=485.284µs grafana | logger=migrator t=2024-03-21T18:15:02.730449861Z level=info msg="Executing migration" id="alter kv_store.value to longtext" grafana | logger=migrator t=2024-03-21T18:15:02.730546852Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=98.071µs grafana | logger=migrator t=2024-03-21T18:15:02.73451456Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" grafana | logger=migrator t=2024-03-21T18:15:02.745985074Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=11.465084ms grafana | logger=migrator t=2024-03-21T18:15:02.750668917Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" grafana | logger=migrator t=2024-03-21T18:15:02.760475299Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=9.801042ms grafana | logger=migrator t=2024-03-21T18:15:02.764063725Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" grafana | logger=migrator t=2024-03-21T18:15:02.764278096Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=214.481µs grafana | logger=migrator t=2024-03-21T18:15:02.768560168Z level=info msg="migrations completed" performed=547 skipped=0 duration=6.335821296s grafana | logger=sqlstore t=2024-03-21T18:15:02.780668945Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-03-21T18:15:02.780867506Z level=info msg="Created default organization" grafana | logger=secrets t=2024-03-21T18:15:02.786198135Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2024-03-21T18:15:02.812257883Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2024-03-21T18:15:02.850813333Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-03-21T18:15:02.850994644Z level=info msg="Plugins loaded" count=55 duration=38.738071ms grafana | logger=query_data t=2024-03-21T18:15:02.853495313Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-03-21T18:15:02.857753213Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2024-03-21T18:15:02.863892418Z level=info msg=Starting grafana | logger=ngalert.migration t=2024-03-21T18:15:02.864347951Z level=info msg="Applying transition" currentType=Legacy desiredType=UnifiedAlerting cleanOnDowngrade=false cleanOnUpgrade=false grafana | logger=ngalert.migration orgID=1 t=2024-03-21T18:15:02.864818194Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-03-21T18:15:02.865474019Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration t=2024-03-21T18:15:02.867299693Z level=info msg="Completed alerting migration" grafana | logger=ngalert.state.manager t=2024-03-21T18:15:02.97321617Z level=info msg="Running in alternative execution of Error/NoData mode" grafana | logger=infra.usagestats.collector t=2024-03-21T18:15:02.9748037Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-03-21T18:15:02.976447463Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-03-21T18:15:02.990726066Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-03-21T18:15:02.990740596Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2024-03-21T18:15:02.990829777Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2024-03-21T18:15:02.999432379Z level=info msg="Warming state cache for startup" grafana | logger=ngalert.multiorg.alertmanager t=2024-03-21T18:15:02.999947443Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=http.server t=2024-03-21T18:15:03.003034765Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=ngalert.state.manager t=2024-03-21T18:15:03.07275373Z level=info msg="State cache has been initialized" states=0 duration=73.316091ms grafana | logger=ngalert.scheduler t=2024-03-21T18:15:03.072853801Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 grafana | logger=ticker t=2024-03-21T18:15:03.072926161Z level=info msg=starting first_tick=2024-03-21T18:15:10Z grafana | logger=provisioning.dashboard t=2024-03-21T18:15:03.081897806Z level=info msg="starting to provision dashboards" grafana | logger=plugins.update.checker t=2024-03-21T18:15:03.094974671Z level=info msg="Update check succeeded" duration=103.818552ms grafana | logger=grafana.update.checker t=2024-03-21T18:15:03.120492685Z level=info msg="Update check succeeded" duration=128.072407ms grafana | logger=sqlstore.transactions t=2024-03-21T18:15:03.208034949Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2024-03-21T18:15:03.218929878Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" grafana | logger=sqlstore.transactions t=2024-03-21T18:15:03.238210158Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=2 code="database is locked" grafana | logger=sqlstore.transactions t=2024-03-21T18:15:03.248911036Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=3 code="database is locked" grafana | logger=sqlstore.transactions t=2024-03-21T18:15:03.260281248Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=4 code="database is locked" grafana | logger=provisioning.dashboard t=2024-03-21T18:15:03.344431668Z level=info msg="finished to provision dashboards" grafana | logger=grafana-apiserver t=2024-03-21T18:15:03.437741723Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" grafana | logger=grafana-apiserver t=2024-03-21T18:15:03.438367418Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" grafana | logger=infra.usagestats t=2024-03-21T18:15:55.008934945Z level=info msg="Usage stats are ready to report" ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping grafana ... Stopping policy-api ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing grafana ... Removing policy-api ... Removing policy-db-migrator ... Removing mariadb ... Removing prometheus ... Removing policy-api ... done Removing 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.GzhFkxsiXs ]] + rsync -av /tmp/tmp.GzhFkxsiXs/ /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,345,190 bytes received 95 bytes 2,690,570.00 bytes/sec total size is 1,344,540 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 2089 killed; [ssh-agent] Stopped. Robot results publisher started... INFO: Checking test criticality is deprecated and will be dropped in a future release! -Parsing output xml: Done! WARNING! Could not find file: **/log.html WARNING! Could not find file: **/report.html -Copying log files to build dir: Done! -Assigning results to build: Done! -Checking thresholds: Done! Done publishing Robot results. [PostBuildScript] - [INFO] Executing post build scripts. [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins16680199351396996695.sh ---> sysstat.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins13289307967219877182.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/jenkins15908808841378083096.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-ZT4j from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-ZT4j/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins8909292654341756534.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-montreal-project-csit-api@tmp/config12258756676841126422tmp 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/jenkins7671141268411635103.sh ---> create-netrc.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins12638926465655187209.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-ZT4j from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-ZT4j/bin to PATH [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins16133679529439721652.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins15335638790691244554.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-ZT4j 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-ZT4j/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/jenkins4881928574967194896.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-ZT4j from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-ZT4j/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-montreal-project-csit-api/131 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-14917 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 827 27319 0 4021 30884 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:80:db:3a brd ff:ff:ff:ff:ff:ff inet 10.30.107.102/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86062sec preferred_lft 86062sec inet6 fe80::f816:3eff:fe80:db3a/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:17:01:45:f2 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-14917) 03/21/24 _x86_64_ (8 CPU) 18:11:55 LINUX RESTART (8 CPU) 18:12:01 tps rtps wtps bread/s bwrtn/s 18:13:02 167.41 81.29 86.12 6052.25 75237.99 18:14:01 120.62 20.17 100.46 1369.80 45668.19 18:15:01 384.57 21.48 363.09 2425.06 102038.13 18:16:01 98.35 0.37 97.98 27.33 36253.27 18:17:01 40.09 0.85 39.24 42.66 12475.39 Average: 162.35 24.85 137.50 1985.61 54364.27 18:12:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:13:02 30218540 31678116 2720680 8.26 56016 1723088 1458244 4.29 873088 1574748 91052 18:14:01 29876200 31706780 3063020 9.30 81796 2048108 1485740 4.37 884452 1862616 185432 18:15:01 27857272 31538968 5081948 15.43 125408 3781668 3163256 9.31 1168056 3462332 1744 18:16:01 26950596 30641952 5988624 18.18 129284 3784024 4173976 12.28 2103324 3428604 220 18:17:01 27928992 31580676 5010228 15.21 130124 3754292 1514720 4.46 1195212 3385012 15248 Average: 28566320 31429298 4372900 13.28 104526 3018236 2359187 6.94 1244826 2742662 58739 18:12:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:13:02 ens3 428.46 268.79 1547.67 63.74 0.00 0.00 0.00 0.00 18:13:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:13:02 lo 1.87 1.87 0.19 0.19 0.00 0.00 0.00 0.00 18:14:01 ens3 49.03 34.82 708.93 7.17 0.00 0.00 0.00 0.00 18:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:14:01 lo 1.36 1.36 0.14 0.14 0.00 0.00 0.00 0.00 18:15:01 veth6b2c7da 9.43 12.26 0.87 1.40 0.00 0.00 0.00 0.00 18:15:01 ens3 322.55 204.95 9629.33 16.59 0.00 0.00 0.00 0.00 18:15:01 veth283317e 0.25 0.35 0.02 0.02 0.00 0.00 0.00 0.00 18:15:01 br-0e02b2b46e67 0.05 0.08 0.00 0.01 0.00 0.00 0.00 0.00 18:16:01 veth6b2c7da 122.20 147.71 113.76 37.57 0.00 0.00 0.00 0.01 18:16:01 ens3 10.90 6.95 7.08 2.43 0.00 0.00 0.00 0.00 18:16:01 veth283317e 124.71 105.48 41.37 113.92 0.00 0.00 0.00 0.01 18:16:01 br-0e02b2b46e67 3.57 4.00 6.17 2.51 0.00 0.00 0.00 0.00 18:17:01 ens3 61.06 45.96 68.49 22.21 0.00 0.00 0.00 0.00 18:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:01 lo 33.18 33.18 10.57 10.57 0.00 0.00 0.00 0.00 Average: ens3 174.82 112.56 2397.90 22.48 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: lo 6.06 6.06 2.07 2.07 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-14917) 03/21/24 _x86_64_ (8 CPU) 18:11:55 LINUX RESTART (8 CPU) 18:12:01 CPU %user %nice %system %iowait %steal %idle 18:13:02 all 8.45 0.00 1.11 4.18 0.04 86.21 18:13:02 0 1.58 0.00 0.55 16.36 0.03 81.48 18:13:02 1 17.06 0.00 1.64 8.06 0.07 73.18 18:13:02 2 5.03 0.00 0.58 0.82 0.03 93.54 18:13:02 3 3.67 0.00 0.83 0.47 0.02 95.01 18:13:02 4 10.39 0.00 0.78 4.60 0.03 84.19 18:13:02 5 5.49 0.00 1.82 0.60 0.02 92.08 18:13:02 6 3.26 0.00 1.14 0.30 0.08 95.23 18:13:02 7 21.22 0.00 1.52 2.21 0.07 74.98 18:14:01 all 10.34 0.00 0.74 3.16 0.03 85.73 18:14:01 0 9.73 0.00 0.70 18.24 0.03 71.30 18:14:01 1 12.37 0.00 0.98 0.56 0.03 86.05 18:14:01 2 15.65 0.00 0.66 1.29 0.02 82.38 18:14:01 3 2.80 0.00 0.41 0.05 0.02 96.73 18:14:01 4 0.68 0.00 0.25 0.46 0.03 98.58 18:14:01 5 1.61 0.00 0.34 0.05 0.02 97.98 18:14:01 6 5.91 0.00 0.58 2.45 0.03 91.03 18:14:01 7 34.00 0.00 2.04 2.22 0.07 61.67 18:15:01 all 9.63 0.00 3.61 6.32 0.06 80.39 18:15:01 0 7.22 0.00 2.67 8.87 0.05 81.18 18:15:01 1 13.53 0.00 4.36 2.22 0.05 79.84 18:15:01 2 7.30 0.00 3.52 2.22 0.05 86.91 18:15:01 3 12.80 0.00 3.75 4.05 0.07 79.33 18:15:01 4 9.42 0.00 2.82 1.51 0.05 86.19 18:15:01 5 8.05 0.00 3.17 0.73 0.05 88.01 18:15:01 6 9.30 0.00 4.28 3.59 0.05 82.79 18:15:01 7 9.45 0.00 4.31 27.40 0.08 58.75 18:16:01 all 14.48 0.00 1.56 2.29 0.04 81.62 18:16:01 0 10.23 0.00 1.20 0.27 0.03 88.27 18:16:01 1 17.14 0.00 2.03 0.00 0.03 80.80 18:16:01 2 20.30 0.00 1.99 14.46 0.05 63.20 18:16:01 3 11.73 0.00 1.27 1.50 0.07 85.43 18:16:01 4 13.48 0.00 1.44 0.12 0.03 84.93 18:16:01 5 13.69 0.00 1.54 0.52 0.03 84.22 18:16:01 6 11.67 0.00 1.20 0.79 0.03 86.31 18:16:01 7 17.62 0.00 1.86 0.70 0.03 79.79 18:17:01 all 3.20 0.00 0.45 1.03 0.02 95.31 18:17:01 0 1.13 0.00 0.48 0.05 0.02 98.32 18:17:01 1 2.59 0.00 0.35 0.08 0.03 96.95 18:17:01 2 3.44 0.00 0.48 6.34 0.02 89.72 18:17:01 3 1.70 0.00 0.40 0.23 0.03 97.63 18:17:01 4 8.01 0.00 0.62 0.63 0.03 90.70 18:17:01 5 6.84 0.00 0.47 0.60 0.03 92.06 18:17:01 6 1.07 0.00 0.33 0.23 0.02 98.35 18:17:01 7 0.80 0.00 0.42 0.07 0.02 98.70 Average: all 9.21 0.00 1.49 3.39 0.04 85.87 Average: 0 5.96 0.00 1.12 8.72 0.03 84.17 Average: 1 12.51 0.00 1.87 2.18 0.04 83.40 Average: 2 10.33 0.00 1.45 5.04 0.03 83.15 Average: 3 6.54 0.00 1.33 1.26 0.04 90.83 Average: 4 8.42 0.00 1.18 1.47 0.04 88.89 Average: 5 7.15 0.00 1.47 0.50 0.03 90.85 Average: 6 6.23 0.00 1.50 1.46 0.04 90.76 Average: 7 16.57 0.00 2.02 6.49 0.05 74.87