Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-21012 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-master-project-csit-api [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-XXDYlY34sSn6/agent.2063 SSH_AGENT_PID=2065 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-master-project-csit-api@tmp/private_key_2496288478464516546.key (/w/workspace/policy-api-master-project-csit-api@tmp/private_key_2496288478464516546.key) [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) The recommended git tool is: NONE using credential onap-jenkins-ssh Wiping out workspace first. Cloning the remote Git repository Cloning repository git://cloud.onap.org/mirror/policy/docker.git > git init /w/workspace/policy-api-master-project-csit-api # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_SSH to set credentials Gerrit user Verifying host key using manually-configured host key entries > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision cebb4172163dc04b43be7e34d9a4b374370492f8 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f cebb4172163dc04b43be7e34d9a4b374370492f8 # timeout=30 Commit message: "Update db-migrator version in policy helm" > git rev-list --no-walk cebb4172163dc04b43be7e34d9a4b374370492f8 # timeout=10 provisioning config files... copy managed file [npmrc] to file:/home/jenkins/.npmrc copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins12921561210772757328.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-ns88 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-ns88/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-ns88/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.79 botocore==1.34.79 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.3 future==1.0.0 gitdb==4.0.11 GitPython==3.1.43 google-auth==2.29.0 httplib2==0.22.0 identify==2.5.35 idna==3.6 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.6.0 kubernetes==29.0.0 lftools==0.37.10 lxml==5.2.1 MarkupSafe==2.1.5 msgpack==1.0.8 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.2.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==3.0.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.1 oslo.config==9.4.0 oslo.context==5.5.0 oslo.i18n==6.3.0 oslo.log==5.5.1 oslo.serialization==5.4.0 oslo.utils==7.1.0 packaging==24.0 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.10.0 pyasn1==0.6.0 pyasn1_modules==0.4.0 pycparser==2.22 pygerrit2==2.0.15 PyGithub==2.3.0 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.5.0 python-dateutil==2.9.0.post0 python-heatclient==3.5.0 python-jenkins==1.8.2 python-keystoneclient==5.4.0 python-magnumclient==4.4.0 python-novaclient==18.6.0 python-openstackclient==6.6.0 python-swiftclient==4.5.0 PyYAML==6.0.1 referencing==0.34.0 requests==2.31.0 requests-oauthlib==2.0.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.18.0 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.1 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.2.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.4 tqdm==4.66.2 typing_extensions==4.11.0 tzdata==2024.1 urllib3==1.26.18 virtualenv==20.25.1 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-master-project-csit-api] $ /bin/sh /tmp/jenkins13065875630637411050.sh ---> update-java-alternatives.sh ---> Updating Java version ---> Ubuntu/Debian system detected update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode openjdk version "17.0.4" 2022-07-19 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' [EnvInject] - Variables injected successfully. [policy-api-master-project-csit-api] $ /bin/sh -xe /tmp/jenkins2885101641094693668.sh + /w/workspace/policy-api-master-project-csit-api/csit/run-project-csit.sh api + set +u + save_set + RUN_CSIT_SAVE_SET=ehxB + RUN_CSIT_SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail:xtrace + '[' 1 -eq 0 ']' + '[' -z /w/workspace/policy-api-master-project-csit-api ']' + export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin + export SCRIPTS=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts + SCRIPTS=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts + export ROBOT_VARIABLES= + ROBOT_VARIABLES= + export PROJECT=api + PROJECT=api + cd /w/workspace/policy-api-master-project-csit-api + rm -rf /w/workspace/policy-api-master-project-csit-api/csit/archives/api + mkdir -p /w/workspace/policy-api-master-project-csit-api/csit/archives/api + source_safely /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh + '[' -z /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' +++ mktemp -d ++ ROBOT_VENV=/tmp/tmp.96OlHnsZdx ++ echo ROBOT_VENV=/tmp/tmp.96OlHnsZdx +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.96OlHnsZdx ++ source /tmp/tmp.96OlHnsZdx/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.96OlHnsZdx +++ export VIRTUAL_ENV +++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin +++ PATH=/tmp/tmp.96OlHnsZdx/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin +++ export PATH +++ '[' -n '' ']' +++ '[' -z '' ']' +++ _OLD_VIRTUAL_PS1= +++ '[' 'x(tmp.96OlHnsZdx) ' '!=' x ']' +++ PS1='(tmp.96OlHnsZdx) ' +++ export PS1 +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r ++ set -exu ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' ++ echo 'Installing Python Requirements' Installing Python Requirements ++ python3 -m pip install -qq -r /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2024.2.2 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==5.2.1 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.2 python-dateutil==2.9.0.post0 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.96OlHnsZdx/src/onap ++ rm -rf /tmp/tmp.96OlHnsZdx/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Installing python confluent-kafka library' Installing python confluent-kafka library ++ python3 -m pip install -qq confluent-kafka ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2024.2.2 cffi==1.15.1 charset-normalizer==2.0.12 confluent-kafka==2.3.0 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==1.0.0 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==5.2.1 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.2 python-dateutil==2.9.0.post0 PyYAML==6.0.1 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==0.6.0.dev105 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.96OlHnsZdx/bin/activate + '[' -z /tmp/tmp.96OlHnsZdx/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.96OlHnsZdx/bin/activate ++ deactivate nondestructive ++ '[' -n /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin ']' ++ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin ++ export PATH ++ unset _OLD_VIRTUAL_PATH ++ '[' -n '' ']' ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r ++ '[' -n '' ']' ++ unset VIRTUAL_ENV ++ '[' '!' nondestructive = nondestructive ']' ++ VIRTUAL_ENV=/tmp/tmp.96OlHnsZdx ++ export VIRTUAL_ENV ++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin ++ PATH=/tmp/tmp.96OlHnsZdx/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin ++ export PATH ++ '[' -n '' ']' ++ '[' -z '' ']' ++ _OLD_VIRTUAL_PS1='(tmp.96OlHnsZdx) ' ++ '[' 'x(tmp.96OlHnsZdx) ' '!=' x ']' ++ PS1='(tmp.96OlHnsZdx) (tmp.96OlHnsZdx) ' ++ export PS1 ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + export TEST_PLAN_DIR=/w/workspace/policy-api-master-project-csit-api/csit/resources/tests + TEST_PLAN_DIR=/w/workspace/policy-api-master-project-csit-api/csit/resources/tests + export TEST_OPTIONS= + TEST_OPTIONS= ++ mktemp -d + WORKDIR=/tmp/tmp.g2EoUSsT1M + cd /tmp/tmp.g2EoUSsT1M + docker login -u docker -p docker nexus3.onap.org:10001 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded + SETUP=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-master-project-csit-api/.gitreview +++ GERRIT_BRANCH=master +++ echo GERRIT_BRANCH=master GERRIT_BRANCH=master +++ rm -rf /w/workspace/policy-api-master-project-csit-api/models +++ mkdir /w/workspace/policy-api-master-project-csit-api/models +++ git clone -b master --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-master-project-csit-api/models Cloning into '/w/workspace/policy-api-master-project-csit-api/models'... +++ export DATA=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json +++ sed -e 's!"version": "1.0.0"!"version": "2.0.0"!' -e 's!"policy-version": 1!"policy-version": 2!' /w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-master-project-csit-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-api/compose +++ grafana=false +++ gui=false +++ [[ 2 -gt 0 ]] +++ key=api +++ case $key in +++ echo api api +++ component=api +++ shift +++ [[ 1 -gt 0 ]] +++ key=--grafana +++ case $key in +++ grafana=true +++ shift +++ [[ 0 -gt 0 ]] +++ cd /w/workspace/policy-api-master-project-csit-api/compose +++ echo 'Configuring docker compose...' Configuring docker compose... +++ source export-ports.sh +++ source get-versions.sh +++ '[' -z api ']' +++ '[' -n api ']' +++ '[' api == logs ']' +++ '[' true = true ']' +++ echo 'Starting api application with Grafana' Starting api application with Grafana +++ docker-compose up -d api grafana Creating network "compose_default" with the default driver Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 10.10.2: Pulling from mariadb Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:3.1.2-SNAPSHOT)... 3.1.2-SNAPSHOT: Pulling from onap/policy-db-migrator Digest: sha256:0199fbc8d522d470f3560bff9f935d19e3a1cda5d8c37457053c4708a1ce3230 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.1.2-SNAPSHOT Pulling api (nexus3.onap.org:10001/onap/policy-api:3.1.1)... 3.1.1: Pulling from onap/policy-api Digest: sha256:73823c235d74d2500efd44b527f0e010b15469552561a2052fab717e6646a352 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.1.1 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:dec2018ae55885fed717f25c289b8c9cff0bf5fbb9e619fb49b6161ac493c016 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... latest: Pulling from grafana/grafana Digest: sha256:753bbb971071480d6630d3aa0d55345188c02f39456664f67c1ea443593638d0 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating prometheus ... Creating mariadb ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-master-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 10 seconds policy-db-migrator Up 11 seconds grafana Up 13 seconds mariadb Up 12 seconds prometheus Up 14 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds mariadb Up 17 seconds prometheus Up 19 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds mariadb Up 22 seconds prometheus Up 24 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/policy-api-master-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:22:55 up 3 min, 0 users, load average: 2.28, 0.92, 0.35 Tasks: 178 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 11.3 us, 2.3 sy, 0.0 ni, 82.6 id, 3.7 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.5G 25G 1.0M 4.1G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 44f2b0c942b2 policy-api 0.99% 519.2MiB / 31.41GiB 1.61% 999kB / 711kB 0B / 0B 58 a4fc1f511ce7 grafana 0.06% 54.46MiB / 31.41GiB 0.17% 18.6kB / 3.25kB 0B / 24.9MB 18 d3d5b12f71a6 mariadb 0.02% 100.1MiB / 31.41GiB 0.31% 985kB / 1.18MB 11MB / 67.9MB 25 90b7323f8695 prometheus 0.00% 18.8MiB / 31.41GiB 0.06% 1.52kB / 158B 229kB / 0B 13 + echo + cd /tmp/tmp.g2EoUSsT1M + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + sed 's|^|/w/workspace/policy-api-master-project-csit-api/csit/resources/tests/|' + cat testplan.txt /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot' + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates' ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ... + relax_set + set +e + set +o pipefail + python3 -m robot.run -N api -v WORKSPACE:/tmp -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ============================================================================== api ============================================================================== api.Api-Test ============================================================================== Healthcheck :: Verify policy api health check | PASS | ------------------------------------------------------------------------------ RetrievePolicyTypes :: Retrieve all policy types | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | ------------------------------------------------------------------------------ RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNodeTemplates :: Create node templates in database using spe... | PASS | ------------------------------------------------------------------------------ RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | ------------------------------------------------------------------------------ RetrieveAllPolicies :: Retrieve all policies | PASS | ------------------------------------------------------------------------------ RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | ------------------------------------------------------------------------------ RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | ------------------------------------------------------------------------------ RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | ------------------------------------------------------------------------------ DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ Metrics :: Verify policy-api is exporting prometheus metrics | PASS | ------------------------------------------------------------------------------ api.Api-Test | PASS | 22 tests, 22 passed, 0 failed ============================================================================== api.Api-Slas ============================================================================== WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ api.Api-Slas | PASS | 9 tests, 9 passed, 0 failed ============================================================================== api | PASS | 31 tests, 31 passed, 0 failed ============================================================================== Output: /tmp/tmp.g2EoUSsT1M/output.xml Log: /tmp/tmp.g2EoUSsT1M/log.html Report: /tmp/tmp.g2EoUSsT1M/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-master-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:24:07 up 4 min, 0 users, load average: 1.02, 0.85, 0.37 Tasks: 176 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.5 us, 1.9 sy, 0.0 ni, 85.5 id, 3.0 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 2.2G 25G 1.0M 4.2G 28G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 44f2b0c942b2 policy-api 0.12% 1.182GiB / 31.41GiB 3.76% 7MB / 2.55MB 0B / 0B 60 a4fc1f511ce7 grafana 0.03% 60.89MiB / 31.41GiB 0.19% 19.6kB / 4.48kB 0B / 24.9MB 18 d3d5b12f71a6 mariadb 0.01% 101.4MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 11MB / 68.2MB 18 90b7323f8695 prometheus 0.00% 25.11MiB / 31.41GiB 0.08% 55.4kB / 6.49kB 229kB / 0B 13 + echo + source_safely /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-api/compose ++ cd /w/workspace/policy-api-master-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-api, policy-db-migrator, grafana, mariadb, prometheus mariadb | 2024-04-06 11:22:27+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-04-06 11:22:28+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-04-06 11:22:28+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-04-06 11:22:28+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-04-06 11:22:28 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-04-06 11:22:28 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-04-06 11:22:28 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2024-04-06 11:22:29+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-04-06 11:22:29+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-04-06 11:22:29+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-04-06 11:22:29 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 100 ... mariadb | 2024-04-06 11:22:29 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-04-06 11:22:29 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-04-06 11:22:29 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-04-06 11:22:29 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-04-06 11:22:29 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-04-06 11:22:29 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-04-06 11:22:29 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-04-06 11:22:29 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-04-06 11:22:29 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-04-06 11:22:30 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-04-06 11:22:30 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-04-06 11:22:30 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. grafana | logger=settings t=2024-04-06T11:22:26.890575257Z level=info msg="Starting Grafana" version=10.4.1 commit=d94d597d847c05085542c29dfad6b3f469cc77e1 branch=v10.4.x compiled=2024-04-06T11:22:26Z grafana | logger=settings t=2024-04-06T11:22:26.891702393Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-04-06T11:22:26.891736503Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-04-06T11:22:26.891741703Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-04-06T11:22:26.891745713Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-04-06T11:22:26.891750103Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-04-06T11:22:26.891753523Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-04-06T11:22:26.891765633Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-04-06T11:22:26.891770793Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-04-06T11:22:26.891774793Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-04-06T11:22:26.891795903Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-04-06T11:22:26.891807334Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-04-06T11:22:26.891811954Z level=info msg=Target target=[all] grafana | logger=settings t=2024-04-06T11:22:26.891821114Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-04-06T11:22:26.891825494Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-04-06T11:22:26.891829654Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-04-06T11:22:26.891835334Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-04-06T11:22:26.891841304Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-04-06T11:22:26.891849574Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-04-06T11:22:26.892678988Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-04-06T11:22:26.892705118Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-04-06T11:22:26.893893215Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-04-06T11:22:26.895249132Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-04-06T11:22:26.896277268Z level=info msg="Migration successfully executed" id="create migration_log table" duration=1.023106ms grafana | logger=migrator t=2024-04-06T11:22:26.902212421Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-04-06T11:22:26.903633778Z level=info msg="Migration successfully executed" id="create user table" duration=1.421177ms grafana | logger=migrator t=2024-04-06T11:22:26.907128138Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-04-06T11:22:26.908325314Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.197767ms grafana | logger=migrator t=2024-04-06T11:22:26.911477891Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-04-06T11:22:26.912244106Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=767.495µs grafana | logger=migrator t=2024-04-06T11:22:26.917514154Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-04-06T11:22:26.918620321Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.106127ms grafana | logger=migrator t=2024-04-06T11:22:26.922640823Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-04-06T11:22:26.923661318Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.023145ms grafana | logger=migrator t=2024-04-06T11:22:26.927190418Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-04-06T11:22:26.929650581Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.457003ms grafana | logger=migrator t=2024-04-06T11:22:26.935133031Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-04-06T11:22:26.93668406Z level=info msg="Migration successfully executed" id="create user table v2" duration=1.550869ms grafana | logger=migrator t=2024-04-06T11:22:26.940272479Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-04-06T11:22:26.941012903Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=739.804µs grafana | logger=migrator t=2024-04-06T11:22:26.944181321Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-04-06T11:22:26.944888605Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=706.584µs grafana | logger=migrator t=2024-04-06T11:22:26.950503605Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-04-06T11:22:26.951232269Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=729.104µs grafana | logger=migrator t=2024-04-06T11:22:26.95502148Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-04-06T11:22:26.955950525Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=928.775µs grafana | logger=migrator t=2024-04-06T11:22:26.959506075Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-04-06T11:22:26.960731181Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.222696ms grafana | logger=migrator t=2024-04-06T11:22:26.963958449Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-04-06T11:22:26.963988769Z level=info msg="Migration successfully executed" id="Update user table charset" duration=30.65µs grafana | logger=migrator t=2024-04-06T11:22:26.969907892Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-04-06T11:22:26.971910523Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=2.001901ms grafana | logger=migrator t=2024-04-06T11:22:26.975950855Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-04-06T11:22:26.976291277Z level=info msg="Migration successfully executed" id="Add missing user data" duration=339.982µs grafana | logger=migrator t=2024-04-06T11:22:26.980003227Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-04-06T11:22:26.981088603Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.085336ms mariadb | 2024-04-06 11:22:30 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-04-06 11:22:30 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-04-06 11:22:30 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-04-06 11:22:30 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-04-06 11:22:30 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-04-06 11:22:30 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2024-04-06 11:22:30+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-04-06 11:22:32+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-04-06 11:22:32+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2024-04-06 11:22:32+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2024-04-06 11:22:32+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-04-06T11:22:26.98414232Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-04-06T11:22:26.984859474Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=711.604µs grafana | logger=migrator t=2024-04-06T11:22:26.990244183Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-04-06T11:22:26.991364199Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.116766ms grafana | logger=migrator t=2024-04-06T11:22:26.99519125Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-04-06T11:22:27.006125655Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=10.934745ms grafana | logger=migrator t=2024-04-06T11:22:27.010127139Z level=info msg="Executing migration" id="Add uid column to user" grafana | logger=migrator t=2024-04-06T11:22:27.012507783Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=2.383094ms grafana | logger=migrator t=2024-04-06T11:22:27.017408312Z level=info msg="Executing migration" id="Update uid column values for users" grafana | logger=migrator t=2024-04-06T11:22:27.017751944Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=344.882µs grafana | logger=migrator t=2024-04-06T11:22:27.022828384Z level=info msg="Executing migration" id="Add unique index user_uid" grafana | logger=migrator t=2024-04-06T11:22:27.023591669Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=762.395µs grafana | logger=migrator t=2024-04-06T11:22:27.026550356Z level=info msg="Executing migration" id="update login field with orgid to allow for multiple service accounts with same name across orgs" grafana | logger=migrator t=2024-04-06T11:22:27.026845768Z level=info msg="Migration successfully executed" id="update login field with orgid to allow for multiple service accounts with same name across orgs" duration=295.522µs grafana | logger=migrator t=2024-04-06T11:22:27.029478754Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-04-06T11:22:27.030710381Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.231387ms grafana | logger=migrator t=2024-04-06T11:22:27.036037273Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-04-06T11:22:27.03718813Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.150117ms grafana | logger=migrator t=2024-04-06T11:22:27.04052328Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-04-06T11:22:27.041258794Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=734.654µs grafana | logger=migrator t=2024-04-06T11:22:27.044384523Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-04-06T11:22:27.045175598Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=790.684µs grafana | logger=migrator t=2024-04-06T11:22:27.049993566Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-04-06T11:22:27.051141533Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.141927ms grafana | logger=migrator t=2024-04-06T11:22:27.054568373Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-04-06T11:22:27.054610584Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=43.291µs grafana | logger=migrator t=2024-04-06T11:22:27.057141699Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-04-06T11:22:27.057826963Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=680.244µs grafana | logger=migrator t=2024-04-06T11:22:27.062900623Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-04-06T11:22:27.063669528Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=764.375µs grafana | logger=migrator t=2024-04-06T11:22:27.066893857Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-04-06T11:22:27.067927093Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.032156ms grafana | logger=migrator t=2024-04-06T11:22:27.071338353Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-04-06T11:22:27.072343619Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.004876ms grafana | logger=migrator t=2024-04-06T11:22:27.078101694Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-04-06T11:22:27.081233822Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.131358ms grafana | logger=migrator t=2024-04-06T11:22:27.084706613Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-04-06T11:22:27.085613879Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=906.416µs grafana | logger=migrator t=2024-04-06T11:22:27.089076409Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-04-06T11:22:27.089812114Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=735.235µs grafana | logger=migrator t=2024-04-06T11:22:27.095112815Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-04-06T11:22:27.096350093Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.236418ms grafana | logger=migrator t=2024-04-06T11:22:27.099986874Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-04-06T11:22:27.101173921Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.182147ms grafana | logger=migrator t=2024-04-06T11:22:27.104713582Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-04-06T11:22:27.10590911Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.194437ms grafana | logger=migrator t=2024-04-06T11:22:27.146432441Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-04-06T11:22:27.149171737Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=3.300689ms grafana | logger=migrator t=2024-04-06T11:22:27.155305344Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-04-06T11:22:27.155790267Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=484.953µs grafana | logger=migrator t=2024-04-06T11:22:27.158890965Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2024-04-06 11:22:33+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-04-06 11:22:33 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-04-06 11:22:33 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-04-06 11:22:33 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-04-06 11:22:33 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-04-06 11:22:33 0 [Note] InnoDB: Buffer pool(s) dump completed at 240406 11:22:33 mariadb | 2024-04-06 11:22:33 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-04-06 11:22:33 0 [Note] InnoDB: Shutdown completed; log sequence number 339898; transaction id 298 mariadb | 2024-04-06 11:22:33 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-04-06 11:22:33+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-04-06 11:22:33+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-04-06 11:22:33 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-04-06 11:22:33 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-04-06 11:22:33 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-04-06 11:22:33 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-04-06 11:22:33 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-04-06 11:22:33 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-04-06 11:22:33 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-04-06 11:22:33 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-04-06 11:22:33 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-04-06 11:22:34 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-04-06 11:22:34 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-04-06 11:22:34 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-04-06 11:22:34 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-04-06 11:22:34 0 [Note] InnoDB: log sequence number 339898; transaction id 299 mariadb | 2024-04-06 11:22:34 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-04-06 11:22:34 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-04-06 11:22:34 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-04-06 11:22:34 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-04-06 11:22:34 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-04-06 11:22:34 0 [Note] Server socket created on IP: '::'. mariadb | 2024-04-06 11:22:34 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mariadb | 2024-04-06 11:22:34 0 [Note] InnoDB: Buffer pool(s) load completed at 240406 11:22:34 mariadb | 2024-04-06 11:22:34 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) mariadb | 2024-04-06 11:22:34 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) grafana | logger=migrator t=2024-04-06T11:22:27.159183717Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=295.902µs grafana | logger=migrator t=2024-04-06T11:22:27.162834889Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-04-06T11:22:27.163903035Z level=info msg="Migration successfully executed" id="create star table" duration=1.067766ms grafana | logger=migrator t=2024-04-06T11:22:27.169580779Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-04-06T11:22:27.170786826Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.204877ms grafana | logger=migrator t=2024-04-06T11:22:27.17485055Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-04-06T11:22:27.176080328Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.229818ms grafana | logger=migrator t=2024-04-06T11:22:27.179564179Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-04-06T11:22:27.180319783Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=754.694µs grafana | logger=migrator t=2024-04-06T11:22:27.184024585Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-04-06T11:22:27.185044461Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.018176ms grafana | logger=migrator t=2024-04-06T11:22:27.190565134Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-04-06T11:22:27.191784821Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.219297ms grafana | logger=migrator t=2024-04-06T11:22:27.195174922Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-04-06T11:22:27.195975776Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=800.814µs grafana | logger=migrator t=2024-04-06T11:22:27.199220076Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-04-06T11:22:27.20000083Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=779.914µs grafana | logger=migrator t=2024-04-06T11:22:27.203085269Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-04-06T11:22:27.203108879Z level=info msg="Migration successfully executed" id="Update org table charset" duration=24.53µs grafana | logger=migrator t=2024-04-06T11:22:27.20831127Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-04-06T11:22:27.2083395Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=28.43µs grafana | logger=migrator t=2024-04-06T11:22:27.212058382Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-04-06T11:22:27.212330824Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=276.702µs grafana | logger=migrator t=2024-04-06T11:22:27.215885315Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-04-06T11:22:27.217119352Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.238397ms grafana | logger=migrator t=2024-04-06T11:22:27.220338952Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-04-06T11:22:27.221210257Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=867.055µs grafana | logger=migrator t=2024-04-06T11:22:27.226425728Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-04-06T11:22:27.227249643Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=818.915µs grafana | logger=migrator t=2024-04-06T11:22:27.230958815Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-04-06T11:22:27.232036301Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.076326ms grafana | logger=migrator t=2024-04-06T11:22:27.235493302Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-04-06T11:22:27.236637899Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.144567ms grafana | logger=migrator t=2024-04-06T11:22:27.241530138Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-04-06T11:22:27.242255872Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=724.464µs grafana | logger=migrator t=2024-04-06T11:22:27.245838114Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-04-06T11:22:27.251106715Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=5.267371ms grafana | logger=migrator t=2024-04-06T11:22:27.254333474Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-04-06T11:22:27.255113599Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=779.605µs grafana | logger=migrator t=2024-04-06T11:22:27.259846807Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-04-06T11:22:27.260588351Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=740.344µs grafana | logger=migrator t=2024-04-06T11:22:27.264280113Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-04-06T11:22:27.265626851Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.342548ms grafana | logger=migrator t=2024-04-06T11:22:27.269250273Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-04-06T11:22:27.269764146Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=518.703µs grafana | logger=migrator t=2024-04-06T11:22:27.273084046Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-04-06T11:22:27.274335383Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.251217ms grafana | logger=migrator t=2024-04-06T11:22:27.279446724Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-04-06T11:22:27.279514604Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=68.09µs grafana | logger=migrator t=2024-04-06T11:22:27.282897464Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-04-06T11:22:27.284739835Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.840721ms grafana | logger=migrator t=2024-04-06T11:22:27.290001077Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-04-06T11:22:27.291805938Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.804111ms grafana | logger=migrator t=2024-04-06T11:22:27.295391919Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-04-06T11:22:27.298293846Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=2.900807ms grafana | logger=migrator t=2024-04-06T11:22:27.302013908Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-04-06T11:22:27.303257796Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.245818ms grafana | logger=migrator t=2024-04-06T11:22:27.308556047Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-04-06T11:22:27.310369788Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.813441ms grafana | logger=migrator t=2024-04-06T11:22:27.313898969Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2024-04-06T11:22:27.315144277Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.243948ms grafana | logger=migrator t=2024-04-06T11:22:27.319229781Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-04-06T11:22:27.320428068Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.199107ms grafana | logger=migrator t=2024-04-06T11:22:27.325547359Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-04-06T11:22:27.325572339Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=25.01µs grafana | logger=migrator t=2024-04-06T11:22:27.329566443Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-04-06T11:22:27.329608673Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=43.13µs grafana | logger=migrator t=2024-04-06T11:22:27.333787728Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-04-06T11:22:27.337429319Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.959587ms grafana | logger=migrator t=2024-04-06T11:22:27.342227738Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-04-06T11:22:27.344103259Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.873321ms grafana | logger=migrator t=2024-04-06T11:22:27.347782921Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-04-06T11:22:27.350772829Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.989528ms grafana | logger=migrator t=2024-04-06T11:22:27.354629202Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-04-06T11:22:27.356802275Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.176423ms grafana | logger=migrator t=2024-04-06T11:22:27.361097701Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-04-06T11:22:27.361312692Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=215.061µs grafana | logger=migrator t=2024-04-06T11:22:27.364702712Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-04-06T11:22:27.365454937Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=751.544µs grafana | logger=migrator t=2024-04-06T11:22:27.369009388Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-04-06T11:22:27.369725902Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=715.584µs grafana | logger=migrator t=2024-04-06T11:22:27.373190513Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-04-06T11:22:27.373229923Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=40.3µs grafana | logger=migrator t=2024-04-06T11:22:27.378141902Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-04-06T11:22:27.379317149Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.174407ms grafana | logger=migrator t=2024-04-06T11:22:27.382985651Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-04-06T11:22:27.383682285Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=695.954µs grafana | logger=migrator t=2024-04-06T11:22:27.387138476Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-04-06T11:22:27.392217176Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=5.07991ms grafana | logger=migrator t=2024-04-06T11:22:27.396915664Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-04-06T11:22:27.397651798Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=736.224µs grafana | logger=migrator t=2024-04-06T11:22:27.40120013Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-04-06T11:22:27.402477507Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.276067ms grafana | logger=migrator t=2024-04-06T11:22:27.406696562Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-04-06T11:22:27.40791393Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.216628ms grafana | logger=migrator t=2024-04-06T11:22:27.414976462Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-04-06T11:22:27.415321184Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=345.592µs grafana | logger=migrator t=2024-04-06T11:22:27.419161997Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-04-06T11:22:27.420071522Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=908.795µs grafana | logger=migrator t=2024-04-06T11:22:27.424220567Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-04-06T11:22:27.427446776Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.225639ms grafana | logger=migrator t=2024-04-06T11:22:27.432586647Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-04-06T11:22:27.433376971Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=789.844µs grafana | logger=migrator t=2024-04-06T11:22:27.438689923Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-04-06T11:22:27.438958025Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=263.772µs grafana | logger=migrator t=2024-04-06T11:22:27.443022529Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-04-06T11:22:27.44328812Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=261.531µs grafana | logger=migrator t=2024-04-06T11:22:27.447524486Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-04-06T11:22:27.448800943Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.274787ms grafana | logger=migrator t=2024-04-06T11:22:27.454594408Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-04-06T11:22:27.458018208Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.42403ms grafana | logger=migrator t=2024-04-06T11:22:27.491423687Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2024-04-06T11:22:27.493116647Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.69196ms grafana | logger=migrator t=2024-04-06T11:22:27.497189992Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-04-06T11:22:27.498467129Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.276267ms grafana | logger=migrator t=2024-04-06T11:22:27.503969872Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-04-06T11:22:27.504784007Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=813.125µs grafana | logger=migrator t=2024-04-06T11:22:27.508524099Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-04-06T11:22:27.509728606Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.201967ms grafana | logger=migrator t=2024-04-06T11:22:27.513494559Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-04-06T11:22:27.514596495Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.101766ms grafana | logger=migrator t=2024-04-06T11:22:27.519440894Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-04-06T11:22:27.525612291Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=6.166487ms grafana | logger=migrator t=2024-04-06T11:22:27.529111822Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-04-06T11:22:27.530085478Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=972.576µs grafana | logger=migrator t=2024-04-06T11:22:27.534925417Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-04-06T11:22:27.536060363Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.132726ms grafana | logger=migrator t=2024-04-06T11:22:27.539901236Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-04-06T11:22:27.541253994Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.351968ms grafana | logger=migrator t=2024-04-06T11:22:27.545431619Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-04-06T11:22:27.545971862Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=539.723µs grafana | logger=migrator t=2024-04-06T11:22:27.550944192Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-04-06T11:22:27.553263936Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.307754ms grafana | logger=migrator t=2024-04-06T11:22:27.556955678Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-04-06T11:22:27.559251522Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.295674ms grafana | logger=migrator t=2024-04-06T11:22:27.562964634Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-04-06T11:22:27.562992064Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=27.57µs grafana | logger=migrator t=2024-04-06T11:22:27.567500521Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-04-06T11:22:27.567731362Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=230.911µs grafana | logger=migrator t=2024-04-06T11:22:27.571626225Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-04-06T11:22:27.574905435Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.27671ms grafana | logger=migrator t=2024-04-06T11:22:27.578659867Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-04-06T11:22:27.578989909Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=326.602µs grafana | logger=migrator t=2024-04-06T11:22:27.582940023Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-04-06T11:22:27.583100374Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=159.601µs grafana | logger=migrator t=2024-04-06T11:22:27.587738571Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-04-06T11:22:27.591167492Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.424851ms grafana | logger=migrator t=2024-04-06T11:22:27.595030905Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-04-06T11:22:27.595344297Z level=info msg="Migration successfully executed" id="Update uid value" duration=312.942µs grafana | logger=migrator t=2024-04-06T11:22:27.599050189Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-04-06T11:22:27.599862604Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=811.955µs grafana | logger=migrator t=2024-04-06T11:22:27.604411191Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-04-06T11:22:27.605197045Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=784.744µs grafana | logger=migrator t=2024-04-06T11:22:27.608800737Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-04-06T11:22:27.610083245Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.281018ms grafana | logger=migrator t=2024-04-06T11:22:27.614181069Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-04-06T11:22:27.615433816Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.246687ms grafana | logger=migrator t=2024-04-06T11:22:27.620163905Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-04-06T11:22:27.621430752Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.264897ms grafana | logger=migrator t=2024-04-06T11:22:27.625152184Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-04-06T11:22:27.625977889Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=824.205µs grafana | logger=migrator t=2024-04-06T11:22:27.629688961Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-04-06T11:22:27.630426566Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=737.205µs grafana | logger=migrator t=2024-04-06T11:22:27.635043463Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-04-06T11:22:27.63619241Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.148067ms grafana | logger=migrator t=2024-04-06T11:22:27.639960483Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-04-06T11:22:27.64114637Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.184987ms grafana | logger=migrator t=2024-04-06T11:22:27.644915552Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-04-06T11:22:27.65288254Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=7.966968ms grafana | logger=migrator t=2024-04-06T11:22:27.65791779Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-04-06T11:22:27.658682874Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=764.774µs grafana | logger=migrator t=2024-04-06T11:22:27.662244956Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-04-06T11:22:27.66300658Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=761.485µs grafana | logger=migrator t=2024-04-06T11:22:27.66810515Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-04-06T11:22:27.669331918Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.227958ms grafana | logger=migrator t=2024-04-06T11:22:27.67309643Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-04-06T11:22:27.674297067Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.199447ms grafana | logger=migrator t=2024-04-06T11:22:27.677839288Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-04-06T11:22:27.678212041Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=371.783µs grafana | logger=migrator t=2024-04-06T11:22:27.681687961Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-04-06T11:22:27.682212935Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=524.274µs grafana | logger=migrator t=2024-04-06T11:22:27.686994573Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-04-06T11:22:27.687033633Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=40.08µs grafana | logger=migrator t=2024-04-06T11:22:27.691019587Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-04-06T11:22:27.694963431Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=3.939983ms grafana | logger=migrator t=2024-04-06T11:22:27.699311136Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-04-06T11:22:27.702215914Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.908548ms grafana | logger=migrator t=2024-04-06T11:22:27.706746731Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-04-06T11:22:27.706906142Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=158.541µs grafana | logger=migrator t=2024-04-06T11:22:27.710499303Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-04-06T11:22:27.712969378Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.469725ms grafana | logger=migrator t=2024-04-06T11:22:27.716547799Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-04-06T11:22:27.719041174Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.492965ms grafana | logger=migrator t=2024-04-06T11:22:27.723481591Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-04-06T11:22:27.724254415Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=772.065µs grafana | logger=migrator t=2024-04-06T11:22:27.727768216Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-04-06T11:22:27.728326699Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=557.283µs grafana | logger=migrator t=2024-04-06T11:22:27.738008987Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-04-06T11:22:27.739491046Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.482789ms grafana | logger=migrator t=2024-04-06T11:22:27.744005123Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-04-06T11:22:27.744775927Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=768.454µs grafana | logger=migrator t=2024-04-06T11:22:27.748205658Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-04-06T11:22:27.749056523Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=850.365µs grafana | logger=migrator t=2024-04-06T11:22:27.752386393Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-04-06T11:22:27.753202918Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=816.885µs grafana | logger=migrator t=2024-04-06T11:22:27.757588414Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-04-06T11:22:27.757653974Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=65.72µs grafana | logger=migrator t=2024-04-06T11:22:27.761041304Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-04-06T11:22:27.761068005Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=28.481µs grafana | logger=migrator t=2024-04-06T11:22:27.764500495Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb (172.17.0.3) 3306 port [tcp/mysql] succeeded! policy-db-migrator | 321 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Preparing upgrade release version: 1300 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 policy-db-migrator | upgrade: 0 -> 1300 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:27.768846441Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.344666ms grafana | logger=migrator t=2024-04-06T11:22:27.772605533Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-04-06T11:22:27.775245659Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.639746ms grafana | logger=migrator t=2024-04-06T11:22:27.78204492Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-04-06T11:22:27.78212131Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=76.9µs grafana | logger=migrator t=2024-04-06T11:22:27.787001669Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-04-06T11:22:27.787776504Z level=info msg="Migration successfully executed" id="create quota table v1" duration=774.505µs grafana | logger=migrator t=2024-04-06T11:22:27.791178344Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2024-04-06T11:22:27.792039239Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=860.465µs grafana | logger=migrator t=2024-04-06T11:22:27.796655507Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2024-04-06T11:22:27.796688767Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=32.61µs grafana | logger=migrator t=2024-04-06T11:22:27.800128987Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2024-04-06T11:22:27.801467145Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.336508ms grafana | logger=migrator t=2024-04-06T11:22:27.805486919Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2024-04-06T11:22:27.806307924Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=820.235µs grafana | logger=migrator t=2024-04-06T11:22:27.810767801Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2024-04-06T11:22:27.814390712Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=3.622571ms grafana | logger=migrator t=2024-04-06T11:22:27.854663551Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2024-04-06T11:22:27.854706632Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=44.301µs grafana | logger=migrator t=2024-04-06T11:22:27.858688755Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2024-04-06T11:22:27.859614881Z level=info msg="Migration successfully executed" id="create session table" duration=926.076µs grafana | logger=migrator t=2024-04-06T11:22:27.864384479Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2024-04-06T11:22:27.864471589Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=89.09µs grafana | logger=migrator t=2024-04-06T11:22:27.867828559Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2024-04-06T11:22:27.86796091Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=132.671µs grafana | logger=migrator t=2024-04-06T11:22:27.872038965Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-04-06T11:22:27.873159981Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.118736ms grafana | logger=migrator t=2024-04-06T11:22:27.877322916Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2024-04-06T11:22:27.87805838Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=735.754µs grafana | logger=migrator t=2024-04-06T11:22:27.883675183Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2024-04-06T11:22:27.885317713Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=1.64301ms grafana | logger=migrator t=2024-04-06T11:22:27.889612869Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2024-04-06T11:22:27.889643759Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=32.15µs grafana | logger=migrator t=2024-04-06T11:22:27.893076329Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2024-04-06T11:22:27.896462699Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=3.38652ms grafana | logger=migrator t=2024-04-06T11:22:27.900230322Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2024-04-06T11:22:27.904282326Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=4.051234ms grafana | logger=migrator t=2024-04-06T11:22:27.909127715Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2024-04-06T11:22:27.909250805Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=122.48µs grafana | logger=migrator t=2024-04-06T11:22:27.912881747Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2024-04-06T11:22:27.913063498Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=204.122µs grafana | logger=migrator t=2024-04-06T11:22:27.91680528Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2024-04-06T11:22:27.917674325Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=868.935µs grafana | logger=migrator t=2024-04-06T11:22:27.923912802Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2024-04-06T11:22:27.923945612Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=32.9µs grafana | logger=migrator t=2024-04-06T11:22:27.927484243Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2024-04-06T11:22:27.930638602Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.154589ms grafana | logger=migrator t=2024-04-06T11:22:27.934282974Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-04-06T11:22:27.934462965Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=180.051µs grafana | logger=migrator t=2024-04-06T11:22:27.941860889Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2024-04-06T11:22:27.949943307Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=8.082457ms grafana | logger=migrator t=2024-04-06T11:22:27.955662881Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2024-04-06T11:22:27.95886557Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.202009ms policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:27.962113149Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2024-04-06T11:22:27.962181359Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=68.71µs grafana | logger=migrator t=2024-04-06T11:22:27.96573112Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2024-04-06T11:22:27.966657416Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=926.246µs grafana | logger=migrator t=2024-04-06T11:22:27.971139462Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2024-04-06T11:22:27.972142258Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.002246ms grafana | logger=migrator t=2024-04-06T11:22:27.97585573Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2024-04-06T11:22:27.977087888Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.231048ms grafana | logger=migrator t=2024-04-06T11:22:27.986122261Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2024-04-06T11:22:27.989746503Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=3.650602ms grafana | logger=migrator t=2024-04-06T11:22:27.996460622Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-04-06T11:22:27.997582789Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.122327ms grafana | logger=migrator t=2024-04-06T11:22:28.002147025Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-04-06T11:22:28.004492527Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=2.347432ms grafana | logger=migrator t=2024-04-06T11:22:28.010207735Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-04-06T11:22:28.011353247Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=1.147842ms grafana | logger=migrator t=2024-04-06T11:22:28.017466701Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-04-06T11:22:28.019351481Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.88913ms grafana | logger=migrator t=2024-04-06T11:22:28.025608917Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-04-06T11:22:28.026426095Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=817.548µs grafana | logger=migrator t=2024-04-06T11:22:28.033965345Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-04-06T11:22:28.045129592Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=11.161847ms grafana | logger=migrator t=2024-04-06T11:22:28.047933991Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2024-04-06T11:22:28.048557748Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=624.187µs grafana | logger=migrator t=2024-04-06T11:22:28.051842152Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" grafana | logger=migrator t=2024-04-06T11:22:28.052531299Z 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=688.197µs grafana | logger=migrator t=2024-04-06T11:22:28.057647253Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2024-04-06T11:22:28.057946826Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=299.643µs grafana | logger=migrator t=2024-04-06T11:22:28.060743225Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2024-04-06T11:22:28.061326492Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=582.897µs grafana | logger=migrator t=2024-04-06T11:22:28.064259662Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2024-04-06T11:22:28.065256843Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=996.901µs grafana | logger=migrator t=2024-04-06T11:22:28.071461628Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2024-04-06T11:22:28.075628722Z level=info msg="Migration successfully executed" id="Add column is_default" duration=4.164694ms grafana | logger=migrator t=2024-04-06T11:22:28.078926716Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2024-04-06T11:22:28.082719466Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.7948ms grafana | logger=migrator t=2024-04-06T11:22:28.086532106Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2024-04-06T11:22:28.089109533Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=2.577227ms grafana | logger=migrator t=2024-04-06T11:22:28.094635331Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2024-04-06T11:22:28.098677333Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=4.023502ms grafana | logger=migrator t=2024-04-06T11:22:28.104311412Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-04-06T11:22:28.105169091Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=857.469µs grafana | logger=migrator t=2024-04-06T11:22:28.108453216Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2024-04-06T11:22:28.108480996Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=28.19µs grafana | logger=migrator t=2024-04-06T11:22:28.112304096Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2024-04-06T11:22:28.112344417Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=41.381µs grafana | logger=migrator t=2024-04-06T11:22:28.118578002Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2024-04-06T11:22:28.119396271Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=822.909µs grafana | logger=migrator t=2024-04-06T11:22:28.122906688Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-04-06T11:22:28.123628635Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=721.987µs grafana | logger=migrator t=2024-04-06T11:22:28.130090883Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2024-04-06T11:22:28.130649869Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=558.666µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.3:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.5:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v3.1.8) policy-api | policy-api | [2024-04-06T11:22:43.271+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.10 with PID 22 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-04-06T11:22:43.272+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-04-06T11:22:45.100+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-04-06T11:22:45.197+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 87 ms. Found 6 JPA repository interfaces. policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql grafana | logger=migrator t=2024-04-06T11:22:28.133815062Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2024-04-06T11:22:28.134423308Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=608.606µs grafana | logger=migrator t=2024-04-06T11:22:28.137388549Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-04-06T11:22:28.138052036Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=662.917µs grafana | logger=migrator t=2024-04-06T11:22:28.143222641Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2024-04-06T11:22:28.145932069Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=2.709178ms grafana | logger=migrator t=2024-04-06T11:22:28.149107932Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2024-04-06T11:22:28.151682409Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=2.574397ms grafana | logger=migrator t=2024-04-06T11:22:28.15455601Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2024-04-06T11:22:28.154711711Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=154.921µs grafana | logger=migrator t=2024-04-06T11:22:28.159677723Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2024-04-06T11:22:28.160365821Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=687.717µs grafana | logger=migrator t=2024-04-06T11:22:28.163693335Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2024-04-06T11:22:28.164332952Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=641.877µs grafana | logger=migrator t=2024-04-06T11:22:28.198864894Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2024-04-06T11:22:28.202053468Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.187804ms grafana | logger=migrator t=2024-04-06T11:22:28.207150442Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2024-04-06T11:22:28.207250313Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=100.651µs grafana | logger=migrator t=2024-04-06T11:22:28.210316385Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2024-04-06T11:22:28.211254115Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=937.74µs grafana | logger=migrator t=2024-04-06T11:22:28.21364644Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2024-04-06T11:22:28.214652101Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.005431ms grafana | logger=migrator t=2024-04-06T11:22:28.219882006Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2024-04-06T11:22:28.219995677Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=113.601µs grafana | logger=migrator t=2024-04-06T11:22:28.22305704Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2024-04-06T11:22:28.22403297Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=975.7µs grafana | logger=migrator t=2024-04-06T11:22:28.227617478Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2024-04-06T11:22:28.229052393Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.435785ms grafana | logger=migrator t=2024-04-06T11:22:28.236035188Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2024-04-06T11:22:28.237447533Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.411774ms grafana | logger=migrator t=2024-04-06T11:22:28.243040182Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2024-04-06T11:22:28.244014972Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=974.59µs grafana | logger=migrator t=2024-04-06T11:22:28.248787083Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2024-04-06T11:22:28.249840324Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.052611ms grafana | logger=migrator t=2024-04-06T11:22:28.255089469Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2024-04-06T11:22:28.256162451Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.072372ms grafana | logger=migrator t=2024-04-06T11:22:28.261126263Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2024-04-06T11:22:28.261158684Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=33.601µs grafana | logger=migrator t=2024-04-06T11:22:28.264452219Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2024-04-06T11:22:28.268646813Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.193654ms grafana | logger=migrator t=2024-04-06T11:22:28.277092823Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2024-04-06T11:22:28.279060274Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=1.97455ms grafana | logger=migrator t=2024-04-06T11:22:28.291170042Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2024-04-06T11:22:28.297261027Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=6.092075ms grafana | logger=migrator t=2024-04-06T11:22:28.303826566Z level=info msg="Executing migration" id="Create annotation_tag table v2" policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0450-pdpgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0460-pdppolicystatus.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0470-pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0480-pdpstatistics.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | prometheus | ts=2024-04-06T11:22:25.819Z caller=main.go:573 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2024-04-06T11:22:25.819Z caller=main.go:617 level=info msg="Starting Prometheus Server" mode=server version="(version=2.51.1, branch=HEAD, revision=855b5ac4b80956874eb1790a04c92327f2f99e38)" prometheus | ts=2024-04-06T11:22:25.819Z caller=main.go:622 level=info build_context="(go=go1.22.1, platform=linux/amd64, user=root@d3785d7783f2, date=20240328-09:27:30, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2024-04-06T11:22:25.819Z caller=main.go:623 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" prometheus | ts=2024-04-06T11:22:25.819Z caller=main.go:624 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2024-04-06T11:22:25.819Z caller=main.go:625 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2024-04-06T11:22:25.829Z caller=web.go:568 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-04-06T11:22:25.830Z caller=main.go:1129 level=info msg="Starting TSDB ..." prometheus | ts=2024-04-06T11:22:25.833Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-04-06T11:22:25.833Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2024-04-06T11:22:25.837Z caller=head.go:616 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-04-06T11:22:25.837Z caller=head.go:698 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.26µs prometheus | ts=2024-04-06T11:22:25.837Z caller=head.go:706 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-04-06T11:22:25.838Z caller=head.go:778 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2024-04-06T11:22:25.838Z caller=head.go:815 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=24.6µs wal_replay_duration=841.443µs wbl_replay_duration=190ns total_replay_duration=893.823µs prometheus | ts=2024-04-06T11:22:25.842Z caller=main.go:1150 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2024-04-06T11:22:25.842Z caller=main.go:1153 level=info msg="TSDB started" prometheus | ts=2024-04-06T11:22:25.842Z caller=main.go:1335 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2024-04-06T11:22:25.844Z caller=main.go:1372 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.247684ms db_storage=2.34µs remote_storage=2.61µs web_handler=920ns query_engine=1.41µs scrape=451.171µs scrape_sd=139.8µs notify=37.831µs notify_sd=13.68µs rules=1.88µs tracing=6.44µs prometheus | ts=2024-04-06T11:22:25.844Z caller=main.go:1114 level=info msg="Server is ready to receive web requests." prometheus | ts=2024-04-06T11:22:25.844Z caller=manager.go:163 level=info component="rule manager" msg="Starting rule manager..." policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:28.304522804Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=696.048µs grafana | logger=migrator t=2024-04-06T11:22:28.309778149Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2024-04-06T11:22:28.31075523Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=976.721µs grafana | logger=migrator t=2024-04-06T11:22:28.317936746Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2024-04-06T11:22:28.319589984Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.653137ms grafana | logger=migrator t=2024-04-06T11:22:28.323781798Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" policy-api | [2024-04-06T11:22:45.615+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler policy-api | [2024-04-06T11:22:45.616+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler policy-api | [2024-04-06T11:22:46.297+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-04-06T11:22:46.308+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-04-06T11:22:46.310+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-04-06T11:22:46.310+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.18] policy-api | [2024-04-06T11:22:46.414+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-04-06T11:22:46.415+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 3072 ms policy-api | [2024-04-06T11:22:46.906+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-04-06T11:22:46.985+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-api | [2024-04-06T11:22:46.989+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-api | [2024-04-06T11:22:47.040+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-api | [2024-04-06T11:22:47.434+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-api | [2024-04-06T11:22:47.457+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-04-06T11:22:47.560+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@63b3ee82 policy-api | [2024-04-06T11:22:47.562+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-04-06T11:22:49.601+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-api | [2024-04-06T11:22:49.606+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-04-06T11:22:50.773+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-04-06T11:22:51.753+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-04-06T11:22:53.058+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2024-04-06T11:22:53.338+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@543d242e, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@5f967ad3, org.springframework.security.web.context.SecurityContextHolderFilter@19bd1f98, org.springframework.security.web.header.HeaderWriterFilter@7b3d759f, org.springframework.security.web.authentication.logout.LogoutFilter@276961df, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@c7a7d3, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@69cf9acb, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@5f160f9c, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@5c1348c6, org.springframework.security.web.access.ExceptionTranslationFilter@15200332, org.springframework.security.web.access.intercept.AuthorizationFilter@607c7f58] policy-api | [2024-04-06T11:22:54.297+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-04-06T11:22:54.404+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-04-06T11:22:54.427+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-04-06T11:22:54.447+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.99 seconds (process running for 12.638) policy-api | [2024-04-06T11:22:58.336+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-04-06T11:22:58.337+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2024-04-06T11:22:58.339+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 2 ms policy-api | [2024-04-06T11:23:01.486+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2024-04-06T11:23:01.632+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes policy-api | [2024-04-06T11:23:01.920+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2024-04-06T11:23:03.433+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-api | [2024-04-06T11:23:05.682+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-04-06T11:23:06.045+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-04-06T11:23:06.278+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2024-04-06T11:23:06.518+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-04-06T11:23:06.778+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 grafana | logger=migrator t=2024-04-06T11:22:28.33525726Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=11.474742ms grafana | logger=migrator t=2024-04-06T11:22:28.33999174Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2024-04-06T11:22:28.340735778Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=744.808µs grafana | logger=migrator t=2024-04-06T11:22:28.34850296Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" grafana | logger=migrator t=2024-04-06T11:22:28.349858865Z level=info msg="Migration successfully executed" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" duration=1.354175ms grafana | logger=migrator t=2024-04-06T11:22:28.35696462Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2024-04-06T11:22:28.357248743Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=281.373µs grafana | logger=migrator t=2024-04-06T11:22:28.360343136Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2024-04-06T11:22:28.360924432Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=580.676µs grafana | logger=migrator t=2024-04-06T11:22:28.367012077Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2024-04-06T11:22:28.3673457Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=334.103µs grafana | logger=migrator t=2024-04-06T11:22:28.371032079Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2024-04-06T11:22:28.375420906Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.388717ms grafana | logger=migrator t=2024-04-06T11:22:28.37957433Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2024-04-06T11:22:28.386625705Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=7.051615ms grafana | logger=migrator t=2024-04-06T11:22:28.391215793Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2024-04-06T11:22:28.392495177Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.279604ms grafana | logger=migrator t=2024-04-06T11:22:28.39843447Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2024-04-06T11:22:28.399338799Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=903.839µs grafana | logger=migrator t=2024-04-06T11:22:28.402774836Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2024-04-06T11:22:28.40318828Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=413.054µs grafana | logger=migrator t=2024-04-06T11:22:28.407407645Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2024-04-06T11:22:28.413920164Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=6.511929ms grafana | logger=migrator t=2024-04-06T11:22:28.419720605Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2024-04-06T11:22:28.420401033Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=680.468µs grafana | logger=migrator t=2024-04-06T11:22:28.425477926Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2024-04-06T11:22:28.425623258Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=147.022µs grafana | logger=migrator t=2024-04-06T11:22:28.429729002Z level=info msg="Executing migration" id="Move region to single row" grafana | logger=migrator t=2024-04-06T11:22:28.43050823Z level=info msg="Migration successfully executed" id="Move region to single row" duration=778.978µs grafana | logger=migrator t=2024-04-06T11:22:28.435152639Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2024-04-06T11:22:28.436734006Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.580607ms grafana | logger=migrator t=2024-04-06T11:22:28.441999442Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" grafana | logger=migrator t=2024-04-06T11:22:28.443390507Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.389794ms grafana | logger=migrator t=2024-04-06T11:22:28.447007825Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-04-06T11:22:28.447983215Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=974.45µs grafana | logger=migrator t=2024-04-06T11:22:28.453772717Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-04-06T11:22:28.455273143Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.499406ms grafana | logger=migrator t=2024-04-06T11:22:28.459961572Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2024-04-06T11:22:28.461231586Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.270204ms grafana | logger=migrator t=2024-04-06T11:22:28.467359151Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2024-04-06T11:22:28.468555234Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.194822ms grafana | logger=migrator t=2024-04-06T11:22:28.472810869Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2024-04-06T11:22:28.47292348Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=114.461µs grafana | logger=migrator t=2024-04-06T11:22:28.478048524Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2024-04-06T11:22:28.478903143Z level=info msg="Migration successfully executed" id="create test_data table" duration=854.579µs grafana | logger=migrator t=2024-04-06T11:22:28.484422342Z level=info msg="Executing migration" id="create dashboard_version table v1" policy-api | [2024-04-06T11:23:07.027+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-04-06T11:22:28.485785136Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.363474ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:28.491377216Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:28.493232875Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.855169ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:28.497759793Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" policy-db-migrator | > upgrade 0670-toscapolicies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) grafana | logger=migrator t=2024-04-06T11:22:28.499393141Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.632818ms grafana | logger=migrator t=2024-04-06T11:22:28.507015762Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:28.507217824Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=202.922µs policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:28.511932644Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:28.51250223Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=569.616µs policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2024-04-06T11:22:28.517737515Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:28.517882227Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=145.832µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-04-06T11:22:28.559229525Z level=info msg="Executing migration" id="create team table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:28.560468478Z level=info msg="Migration successfully executed" id="create team table" duration=1.237073ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:28.566813906Z level=info msg="Executing migration" id="add index team.org_id" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:28.568502343Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.687678ms policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2024-04-06T11:22:28.572045251Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:28.573035212Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=988.82µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) grafana | logger=migrator t=2024-04-06T11:22:28.577810942Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:28.582206899Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.394947ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:28.591162614Z level=info msg="Executing migration" id="Update uid column values in team" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:28.591545328Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=382.574µs policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2024-04-06T11:22:28.596135937Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:28.597672993Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.536306ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) grafana | logger=migrator t=2024-04-06T11:22:28.605527196Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:28.606769409Z level=info msg="Migration successfully executed" id="create team member table" duration=1.241823ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:28.614077157Z level=info msg="Executing migration" id="add index team_member.org_id" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:28.615773605Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.693078ms policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2024-04-06T11:22:28.618759247Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:28.619740257Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=979.9µ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-04-06T11:22:28.625121594Z level=info msg="Executing migration" id="add index team_member.team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:28.626372057Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.250463ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:28.631394611Z level=info msg="Executing migration" id="Add column email to team table" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:28.638475316Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=7.080145ms policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2024-04-06T11:22:28.645940725Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:28.650586584Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.645989ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-04-06T11:22:28.65488259Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:28.659388348Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.504698ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:28.665341451Z level=info msg="Executing migration" id="create dashboard acl table" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:28.66714252Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.809719ms policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2024-04-06T11:22:28.673128273Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:28.674093494Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=965.641µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-04-06T11:22:28.677960455Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:28.678997916Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.037461ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:28.685161921Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:28.686098601Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=936.43µs policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2024-04-06T11:22:28.690658919Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:28.691599159Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=940.04µs 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-04-06T11:22:28.694779023Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:28.695658032Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=878.659µs policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:28.701185721Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:28.702568716Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.382235ms policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2024-04-06T11:22:28.705770269Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:28.706669299Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=901.11µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) grafana | logger=migrator t=2024-04-06T11:22:28.709949004Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:28.710411709Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=462.845µs policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:28.71623881Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" policy-db-migrator | policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:28.716717325Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=478.645µ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-04-06T11:22:28.720380524Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:28.721510086Z level=info msg="Migration successfully executed" id="create tag table" duration=1.129192ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:28.726800102Z level=info msg="Executing migration" id="add index tag.key_value" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:28.72940305Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=2.601248ms policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2024-04-06T11:22:28.7340682Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:28.735261762Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.194703ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) grafana | logger=migrator t=2024-04-06T11:22:28.738621358Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:28.740333556Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.710968ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:28.74546011Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:28.74632749Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=868.17µs policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2024-04-06T11:22:28.750561405Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:28.764208889Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=13.646975ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) grafana | logger=migrator t=2024-04-06T11:22:28.767409243Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:28.768112981Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=703.318µs policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:28.773041633Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:28.773932332Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=890.439µs policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2024-04-06T11:22:28.779413041Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:28.779893126Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=480.175µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-04-06T11:22:28.784764307Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:28.78590958Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=1.146632ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:28.793395059Z level=info msg="Executing migration" id="create user auth table" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:28.794791014Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.396155ms policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2024-04-06T11:22:28.801627576Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:28.80294148Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.252354ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) grafana | logger=migrator t=2024-04-06T11:22:28.80667986Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:28.806769541Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=90.491µs policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:28.816392683Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:28.821542408Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.149855ms policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2024-04-06T11:22:28.825386198Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:28.830580433Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.191575ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-04-06T11:22:28.834482215Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:28.839829502Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.343207ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:28.846498422Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:28.851603126Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.104264ms grafana | logger=migrator t=2024-04-06T11:22:28.858144545Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" grafana | logger=migrator t=2024-04-06T11:22:28.860040166Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.90165ms policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2024-04-06T11:22:28.925750313Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:28.935713238Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=9.962405ms 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-04-06T11:22:28.942313998Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:28.94337788Z level=info msg="Migration successfully executed" id="create server_lock table" duration=1.065052ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:28.947687855Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:28.948849218Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.161483ms policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-04-06T11:22:28.953972192Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:28.95567956Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.707408ms policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2024-04-06T11:22:28.964775757Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:28.96881879Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=4.042893ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:28.974575761Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:28.977434531Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=2.86201ms policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-04-06T11:22:28.986353326Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:28.987336296Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=979.52µs policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-04-06T11:22:28.992588702Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.000813189Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=8.233047ms policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-04-06T11:22:29.009479443Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.01048601Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.006837ms policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-04-06T11:22:29.019427109Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.020330185Z level=info msg="Migration successfully executed" id="create cache_data table" duration=903.896µs policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.025770252Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.026696068Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=924.456µs policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-04-06T11:22:29.032279525Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.033693265Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.41351ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2024-04-06T11:22:29.039932656Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.040910063Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=977.167µs policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.048519064Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.048625394Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=106.56µs policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-04-06T11:22:29.053783349Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.0539199Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=137.321µs policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2024-04-06T11:22:29.060614574Z level=info msg="Executing migration" id="recreate alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.061532631Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=917.817µs policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.066161951Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.067135958Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=975.297µs policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-04-06T11:22:29.073828053Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.074804839Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=973.156µs policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2024-04-06T11:22:29.083112665Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.083180245Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=67.69µs policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.088736122Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.089669688Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=933.286µs policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-04-06T11:22:29.095714489Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.09735854Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.644051ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2024-04-06T11:22:29.102709805Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.104292146Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.581421ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.108803996Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.110314896Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.51521ms policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-04-06T11:22:29.118996614Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.125165545Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=6.170491ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2024-04-06T11:22:29.130173369Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.131065375Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=892.516µs policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.134330297Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.134410457Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=81.921µs policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-04-06T11:22:29.141353753Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.143261926Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.905193ms policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2024-04-06T11:22:29.150056762Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.151416101Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.35962ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.156060332Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.15729756Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.236208ms policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-04-06T11:22:29.163898244Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.163993935Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=98.531µs policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2024-04-06T11:22:29.170695789Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.172649942Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.958473ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.178508431Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.180851917Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=2.345956ms policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2024-04-06T11:22:29.186481785Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.187542972Z 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.059727ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.192003362Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.193031498Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.027076ms policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-04-06T11:22:29.199772893Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.206007885Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=6.234162ms policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2024-04-06T11:22:29.211751963Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.21268837Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=934.607µs policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.21727932Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.219241663Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.966493ms policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-04-06T11:22:29.224233457Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.253167059Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=28.925442ms policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-04-06T11:22:29.285752346Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.313125869Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=27.381633ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.318228083Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.31922898Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.000247ms policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-04-06T11:22:29.324629956Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.325780394Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.148738ms policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-04-06T11:22:29.334108809Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.344385218Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=10.273459ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.349522902Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.353547049Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=4.025157ms policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-04-06T11:22:29.35821013Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.358936285Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=726.045µ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-04-06T11:22:29.363472215Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.36421086Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=732.685µs policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.371839231Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.373950975Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=2.111194ms policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-04-06T11:22:29.379875875Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.381064053Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.187678ms policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-04-06T11:22:29.386966192Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.387018992Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=52.87µs policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.391540933Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.395737491Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=4.195928ms policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-04-06T11:22:29.401162687Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.405468466Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=4.307209ms 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-04-06T11:22:29.410952742Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.415297091Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=4.342829ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.420600297Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.421312591Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=711.964µs policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-04-06T11:22:29.427455712Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.428276738Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=820.376µs 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-04-06T11:22:29.436969656Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.441955909Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=4.985623ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.445175461Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.449488279Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=4.312258ms policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-04-06T11:22:29.457542553Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" 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 grafana | logger=migrator t=2024-04-06T11:22:29.458285098Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=741.625µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.465514766Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.473404039Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=7.894223ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.480111174Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-04-06T11:22:29.487141361Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=7.025667ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.492726968Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-04-06T11:22:29.492795319Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=69.011µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.500668181Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.502441903Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.772592ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.507834299Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-04-06T11:22:29.510057664Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" duration=2.222195ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.513833509Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-04-06T11:22:29.514928346Z 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.094107ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.521321989Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.521386059Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=65.67µs policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.526919496Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-04-06T11:22:29.535890516Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=8.97485ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.541464813Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-04-06T11:22:29.546289076Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=4.824223ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.552752409Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.559636285Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.883316ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.567551598Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" grafana | logger=migrator t=2024-04-06T11:22:29.577253812Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=9.704334ms grafana | logger=migrator t=2024-04-06T11:22:29.581888913Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-04-06T11:22:29.588045954Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.156591ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.594344056Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-04-06T11:22:29.594408777Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=65.211µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.598588135Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.59941557Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=827.875µs policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.603335996Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-04-06T11:22:29.613466424Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=10.130438ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.634201763Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-04-06T11:22:29.634307653Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=106.601µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.639304507Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.649418434Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=10.114957ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.653155229Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-04-06T11:22:29.65479801Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.643471ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.658648266Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-04-06T11:22:29.667351254Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=8.700838ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.671773663Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.672564159Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=790.236µs policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.675857201Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-04-06T11:22:29.676910778Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.052877ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.680492392Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-04-06T11:22:29.686881314Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.388372ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.691423864Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.69221598Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=791.946µs policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.697259313Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" 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 grafana | logger=migrator t=2024-04-06T11:22:29.698892374Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.631111ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.702463148Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.704056749Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.592421ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.708334657Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-04-06T11:22:29.709426265Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.089898ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.714383038Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num grafana | logger=migrator t=2024-04-06T11:22:29.714475418Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=92.32µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.718222443Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.719207949Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=982.106µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.723034455Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2024-04-06T11:22:29.724462415Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.42342ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.729349857Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.730204853Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.734052308Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-04-06T11:22:29.734497611Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=444.653µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.739318343Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-04-06T11:22:29.740475861Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.157618ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.745450084Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.753557658Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=8.108724ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.757301762Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-04-06T11:22:29.75842326Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.121268ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.763123621Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-04-06T11:22:29.764346319Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.221588ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.769859496Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.771331656Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.47157ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.777809649Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-04-06T11:22:29.780109244Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=2.306235ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.79466849Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-04-06T11:22:29.797155667Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=2.490767ms policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-04-06T11:22:29.806871111Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-04-06T11:22:29.806906132Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=36.631µs policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-04-06T11:22:29.817744813Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.818088946Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=350.723µs policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.829534732Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.830306777Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=772.615µs policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-04-06T11:22:29.840858757Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.84276186Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.902583ms policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2024-04-06T11:22:29.852380954Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.853936994Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.55534ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.863975371Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.905429406Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=41.446464ms policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-04-06T11:22:29.913236198Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.923993959Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=10.755171ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) grafana | logger=migrator t=2024-04-06T11:22:29.927975145Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:29.928100186Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=125.681µs policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.932348054Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:29.966646192Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=34.301938ms policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2024-04-06T11:22:29.995171481Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.02847832Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=33.308259ms policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2024-04-06T11:22:30.032657734Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.033814876Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=1.156462ms policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-04-06T11:22:30.040629796Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.041871309Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.236093ms policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-04-06T11:22:30.048945423Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.049278366Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=333.153µs policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.053584361Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.055103186Z level=info msg="Migration successfully executed" id="create permission table" duration=1.517045ms policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-04-06T11:22:30.061545093Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.063806127Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=2.260074ms policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2024-04-06T11:22:30.069665187Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.071305194Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.639787ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.078070475Z level=info msg="Executing migration" id="create role table" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.079059445Z level=info msg="Migration successfully executed" id="create role table" duration=988.64µs policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-04-06T11:22:30.085180008Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.092675006Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.493588ms policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) grafana | logger=migrator t=2024-04-06T11:22:30.096452955Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.101844141Z level=info msg="Migration successfully executed" id="add column group_name" duration=5.391656ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.10555469Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.106710372Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.157572ms policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-04-06T11:22:30.112071147Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.114407951Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=2.335104ms policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) grafana | logger=migrator t=2024-04-06T11:22:30.118776667Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.120203822Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.427275ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.124174493Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.125157573Z level=info msg="Migration successfully executed" id="create team role table" duration=982.3µs policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2024-04-06T11:22:30.129067164Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.130268306Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.200782ms policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-04-06T11:22:30.134736952Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.136023456Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.285974ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.139767444Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.140881086Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.112672ms policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-04-06T11:22:30.145455363Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.147590056Z level=info msg="Migration successfully executed" id="create user role table" duration=2.133873ms policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-04-06T11:22:30.151726059Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.152748169Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.021851ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.156109024Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.157172245Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.062571ms policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-04-06T11:22:30.163283708Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.164316369Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.027971ms policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-04-06T11:22:30.167933087Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.169274511Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.340313ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.173518455Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.175762808Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=2.240383ms policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-04-06T11:22:30.180885741Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.18272483Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.840359ms policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-04-06T11:22:30.186737552Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.194955947Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=8.217495ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.198863407Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.199753547Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=812.829µs policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2024-04-06T11:22:30.203429555Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2024-04-06T11:22:30.204256463Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=826.638µs grafana | logger=migrator t=2024-04-06T11:22:30.208826851Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.209890752Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.063631ms policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2024-04-06T11:22:30.213304687Z level=info msg="Executing migration" id="add unique index role.uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.214320438Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.015221ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.218623142Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.21939439Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=770.618µs policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2024-04-06T11:22:30.223150979Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.224336252Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.184393ms policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY grafana | logger=migrator t=2024-04-06T11:22:30.227700856Z level=info msg="Executing migration" id="add column hidden to role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.235654589Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=7.952133ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.239478779Z level=info msg="Executing migration" id="permission kind migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.25024895Z level=info msg="Migration successfully executed" id="permission kind migration" duration=10.770991ms policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2024-04-06T11:22:30.254517975Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.26080984Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=6.291865ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.264152305Z level=info msg="Executing migration" id="permission identifier migration" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.269721612Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=5.569138ms policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2024-04-06T11:22:30.273062917Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.273845975Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=785.148µs policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-04-06T11:22:30.27818532Z level=info msg="Executing migration" id="add permission action scope role_id index" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.27909725Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=886.949µs policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.282541295Z level=info msg="Executing migration" id="remove permission role_id action scope index" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.283381064Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=838.919µs policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=migrator t=2024-04-06T11:22:30.287760829Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.288447756Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=687.707µs policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.291917452Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.292987364Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.066692ms policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-04-06T11:22:30.297003035Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.297105736Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=102.921µs policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=migrator t=2024-04-06T11:22:30.301717004Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.301810665Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=91.581µs policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.306643115Z level=info msg="Executing migration" id="teams permissions migration" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.307728386Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=1.085091ms policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=migrator t=2024-04-06T11:22:30.345594159Z level=info msg="Executing migration" id="dashboard permissions" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.346788192Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.171962ms policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2024-04-06T11:22:30.350708972Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.351862414Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.152502ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.355576973Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | msg grafana | logger=migrator t=2024-04-06T11:22:30.355782765Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=204.982µs policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2024-04-06T11:22:30.360306292Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.360821177Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=514.445µs policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2024-04-06T11:22:30.364609206Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.36596116Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.351264ms policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2024-04-06T11:22:30.369653289Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.37075332Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.099911ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.375275547Z level=info msg="Executing migration" id="add column org_id in query_history_star" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.38329726Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.021103ms policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-04-06T11:22:30.387008179Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.387089309Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=81.8µs policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-04-06T11:22:30.390569416Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.391343514Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=775.588µs policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.397849541Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.399518258Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.668397ms policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-04-06T11:22:30.403374658Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.405078696Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.703158ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.408761094Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | policy-db-migrator | > upgrade 0120-audit_sequence.sql grafana | logger=migrator t=2024-04-06T11:22:30.416905919Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.144065ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.422024952Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-04-06T11:22:30.423334105Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.308743ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.426931623Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.427981264Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.048541ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.431554771Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" 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-04-06T11:22:30.453515748Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=21.959637ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.458269488Z level=info msg="Executing migration" id="create correlation v2" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.460070366Z level=info msg="Migration successfully executed" id="create correlation v2" duration=1.800258ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.463779365Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | > upgrade 0130-statistics_sequence.sql grafana | logger=migrator t=2024-04-06T11:22:30.464908967Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.129672ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.468351322Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-04-06T11:22:30.469560085Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.208133ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.474507186Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.475579627Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.065911ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.479138694Z level=info msg="Executing migration" id="copy correlation v1 to v2" policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2024-04-06T11:22:30.47966879Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=524.816µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.483839853Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.485307178Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.472325ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.490159838Z level=info msg="Executing migration" id="add provisioning column" policy-db-migrator | TRUNCATE TABLE sequence grafana | logger=migrator t=2024-04-06T11:22:30.498449224Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.288646ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.502270354Z level=info msg="Executing migration" id="create entity_events table" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.503134503Z level=info msg="Migration successfully executed" id="create entity_events table" duration=863.299µs policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.507611029Z level=info msg="Executing migration" id="create dashboard public config v1" policy-db-migrator | > upgrade 0100-pdpstatistics.sql grafana | logger=migrator t=2024-04-06T11:22:30.509332877Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.719928ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.51342897Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-04-06T11:22:30.514118237Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.517779035Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.518219559Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.521877657Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-db-migrator | DROP TABLE pdpstatistics grafana | logger=migrator t=2024-04-06T11:22:30.522651705Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=773.458µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.528356835Z level=info msg="Executing migration" id="recreate dashboard public config v1" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.529985271Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.629266ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.533858692Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-04-06T11:22:30.536207406Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=2.347884ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.54136615Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats grafana | logger=migrator t=2024-04-06T11:22:30.542511071Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.144882ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.546429492Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.548255331Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.825899ms policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.552656707Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | > upgrade 0120-statistics_sequence.sql grafana | logger=migrator t=2024-04-06T11:22:30.554426395Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.769008ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.559142344Z level=info msg="Executing migration" id="Drop public config table" policy-db-migrator | DROP TABLE statistics_sequence grafana | logger=migrator t=2024-04-06T11:22:30.560069993Z level=info msg="Migration successfully executed" id="Drop public config table" duration=927.239µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-06T11:22:30.563705531Z level=info msg="Executing migration" id="Recreate dashboard public config v2" policy-db-migrator | grafana | logger=migrator t=2024-04-06T11:22:30.564989745Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.284263ms policy-db-migrator | policyadmin: OK: upgrade (1300) grafana | logger=migrator t=2024-04-06T11:22:30.56936815Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" policy-db-migrator | name version grafana | logger=migrator t=2024-04-06T11:22:30.570452421Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.083281ms policy-db-migrator | policyadmin 1300 grafana | logger=migrator t=2024-04-06T11:22:30.573719615Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | ID script operation from_version to_version tag success atTime grafana | logger=migrator t=2024-04-06T11:22:30.574881657Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.161272ms policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:35 grafana | logger=migrator t=2024-04-06T11:22:30.578130961Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:35 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:35 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:35 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:35 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:35 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:35 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:35 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:35 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:35 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:35 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:35 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:35 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:35 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:35 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:35 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:35 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:35 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:36 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:36 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:36 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:36 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:36 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:36 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:36 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:36 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:36 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:36 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:36 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:36 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:36 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:36 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:36 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:36 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:36 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:36 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:36 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:36 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:36 grafana | logger=migrator t=2024-04-06T11:22:30.579208862Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.076651ms grafana | logger=migrator t=2024-04-06T11:22:30.583532487Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2024-04-06T11:22:30.608434475Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=24.904248ms grafana | logger=migrator t=2024-04-06T11:22:30.612002682Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2024-04-06T11:22:30.62046756Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=8.462058ms grafana | logger=migrator t=2024-04-06T11:22:30.624434901Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2024-04-06T11:22:30.633741968Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=9.306087ms grafana | logger=migrator t=2024-04-06T11:22:30.638471157Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2024-04-06T11:22:30.63875979Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=290.283µs grafana | logger=migrator t=2024-04-06T11:22:30.641510858Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2024-04-06T11:22:30.649725233Z level=info msg="Migration successfully executed" id="add share column" duration=8.214095ms grafana | logger=migrator t=2024-04-06T11:22:30.653482342Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2024-04-06T11:22:30.653806136Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=323.484µs grafana | logger=migrator t=2024-04-06T11:22:30.657955719Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2024-04-06T11:22:30.6589997Z level=info msg="Migration successfully executed" id="create file table" duration=1.04411ms grafana | logger=migrator t=2024-04-06T11:22:30.701346579Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2024-04-06T11:22:30.704085587Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=2.732978ms grafana | logger=migrator t=2024-04-06T11:22:30.708465003Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2024-04-06T11:22:30.709562864Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.097182ms grafana | logger=migrator t=2024-04-06T11:22:30.713148611Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2024-04-06T11:22:30.713950099Z level=info msg="Migration successfully executed" id="create file_meta table" duration=801.118µs grafana | logger=migrator t=2024-04-06T11:22:30.718734299Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2024-04-06T11:22:30.719945242Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.209433ms grafana | logger=migrator t=2024-04-06T11:22:30.725020034Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2024-04-06T11:22:30.725088665Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=69.611µs grafana | logger=migrator t=2024-04-06T11:22:30.728851594Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2024-04-06T11:22:30.729017076Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=165.942µs grafana | logger=migrator t=2024-04-06T11:22:30.733083638Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2024-04-06T11:22:30.734112649Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=1.028321ms grafana | logger=migrator t=2024-04-06T11:22:30.739122821Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2024-04-06T11:22:30.739318773Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=196.172µs grafana | logger=migrator t=2024-04-06T11:22:30.742725799Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-04-06T11:22:30.744159534Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.433495ms grafana | logger=migrator t=2024-04-06T11:22:30.747857162Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-04-06T11:22:30.759838897Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=11.981515ms grafana | logger=migrator t=2024-04-06T11:22:30.764681447Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-04-06T11:22:30.764913639Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=231.562µs grafana | logger=migrator t=2024-04-06T11:22:30.768322095Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-04-06T11:22:30.769687119Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.364154ms grafana | logger=migrator t=2024-04-06T11:22:30.773142845Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-04-06T11:22:30.77355846Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=413.674µs grafana | logger=migrator t=2024-04-06T11:22:30.776862344Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-04-06T11:22:30.777090196Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=227.392µs grafana | logger=migrator t=2024-04-06T11:22:30.781747125Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-04-06T11:22:30.78224033Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=492.075µs grafana | logger=migrator t=2024-04-06T11:22:30.785889868Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-04-06T11:22:30.7976301Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=11.739742ms grafana | logger=migrator t=2024-04-06T11:22:30.801355399Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-04-06T11:22:30.808817867Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=7.461778ms grafana | logger=migrator t=2024-04-06T11:22:30.813513755Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2024-04-06T11:22:30.81590029Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=2.385105ms policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:36 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:36 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:36 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:37 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:37 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:37 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:37 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:37 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:37 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:37 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:37 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:37 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:37 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:37 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:37 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:37 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:37 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:37 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:37 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:37 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:37 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:37 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:37 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:37 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:37 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:37 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:37 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:38 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:38 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:38 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:38 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:38 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:38 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:38 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:38 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:38 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:38 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:38 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:38 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:38 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:38 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:38 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:38 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:38 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:38 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:38 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:38 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:38 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:39 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:39 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:39 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:39 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:39 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:39 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:39 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:39 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0604241122350800u 1 2024-04-06 11:22:39 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 0604241122350900u 1 2024-04-06 11:22:39 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 0604241122350900u 1 2024-04-06 11:22:39 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 0604241122350900u 1 2024-04-06 11:22:39 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 0604241122350900u 1 2024-04-06 11:22:39 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 0604241122350900u 1 2024-04-06 11:22:39 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 0604241122350900u 1 2024-04-06 11:22:39 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0604241122350900u 1 2024-04-06 11:22:39 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0604241122350900u 1 2024-04-06 11:22:39 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0604241122350900u 1 2024-04-06 11:22:39 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 0604241122350900u 1 2024-04-06 11:22:40 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 0604241122350900u 1 2024-04-06 11:22:40 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 0604241122350900u 1 2024-04-06 11:22:40 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 0604241122350900u 1 2024-04-06 11:22:40 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 0604241122351000u 1 2024-04-06 11:22:40 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 0604241122351000u 1 2024-04-06 11:22:40 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 0604241122351000u 1 2024-04-06 11:22:40 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 0604241122351000u 1 2024-04-06 11:22:40 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 0604241122351000u 1 2024-04-06 11:22:40 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 0604241122351000u 1 2024-04-06 11:22:40 grafana | logger=migrator t=2024-04-06T11:22:30.81970695Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2024-04-06T11:22:30.895434528Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=75.726258ms grafana | logger=migrator t=2024-04-06T11:22:30.899353879Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-04-06T11:22:30.900243208Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=886.079µs grafana | logger=migrator t=2024-04-06T11:22:30.904887886Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2024-04-06T11:22:30.905877587Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=988.831µs grafana | logger=migrator t=2024-04-06T11:22:30.909480334Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-04-06T11:22:30.935211102Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=25.730058ms grafana | logger=migrator t=2024-04-06T11:22:30.943248806Z level=info msg="Executing migration" id="add origin column to seed_assignment" grafana | logger=migrator t=2024-04-06T11:22:30.95327566Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=10.029014ms grafana | logger=migrator t=2024-04-06T11:22:30.959273573Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" grafana | logger=migrator t=2024-04-06T11:22:30.95997093Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=699.257µs grafana | logger=migrator t=2024-04-06T11:22:30.964877081Z level=info msg="Executing migration" id="prevent seeding OnCall access" grafana | logger=migrator t=2024-04-06T11:22:30.965085583Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=208.122µs grafana | logger=migrator t=2024-04-06T11:22:30.971659752Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2024-04-06T11:22:30.972016165Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=356.944µs grafana | logger=migrator t=2024-04-06T11:22:30.978784136Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2024-04-06T11:22:30.979125789Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=342.363µs grafana | logger=migrator t=2024-04-06T11:22:30.984827628Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2024-04-06T11:22:30.985316763Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=489.545µs grafana | logger=migrator t=2024-04-06T11:22:30.989524927Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-04-06T11:22:30.990573068Z level=info msg="Migration successfully executed" id="create folder table" duration=1.050881ms grafana | logger=migrator t=2024-04-06T11:22:30.994068505Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2024-04-06T11:22:30.995309477Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.240122ms grafana | logger=migrator t=2024-04-06T11:22:30.999841445Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2024-04-06T11:22:31.001022277Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.179942ms grafana | logger=migrator t=2024-04-06T11:22:31.004440783Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-04-06T11:22:31.004476604Z level=info msg="Migration successfully executed" id="Update folder title length" duration=36.541µs grafana | logger=migrator t=2024-04-06T11:22:31.00789459Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-04-06T11:22:31.00981533Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.92004ms grafana | logger=migrator t=2024-04-06T11:22:31.04765281Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-04-06T11:22:31.049881404Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=2.227924ms grafana | logger=migrator t=2024-04-06T11:22:31.053996067Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-04-06T11:22:31.055956248Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.957611ms grafana | logger=migrator t=2024-04-06T11:22:31.060675928Z level=info msg="Executing migration" id="Sync dashboard and folder table" grafana | logger=migrator t=2024-04-06T11:22:31.061030312Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=354.794µs grafana | logger=migrator t=2024-04-06T11:22:31.064284086Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" grafana | logger=migrator t=2024-04-06T11:22:31.064504888Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=220.472µs grafana | logger=migrator t=2024-04-06T11:22:31.068908815Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" grafana | logger=migrator t=2024-04-06T11:22:31.070571303Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.662718ms grafana | logger=migrator t=2024-04-06T11:22:31.075377924Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" grafana | logger=migrator t=2024-04-06T11:22:31.07789042Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=2.511176ms grafana | logger=migrator t=2024-04-06T11:22:31.082762892Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" grafana | logger=migrator t=2024-04-06T11:22:31.083976345Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.212693ms grafana | logger=migrator t=2024-04-06T11:22:31.087809186Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" grafana | logger=migrator t=2024-04-06T11:22:31.089069519Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.259533ms grafana | logger=migrator t=2024-04-06T11:22:31.092284073Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" grafana | logger=migrator t=2024-04-06T11:22:31.093416165Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.132162ms grafana | logger=migrator t=2024-04-06T11:22:31.09673342Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-04-06T11:22:31.09772511Z level=info msg="Migration successfully executed" id="create anon_device table" duration=991.29µs policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 0604241122351000u 1 2024-04-06 11:22:40 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 0604241122351000u 1 2024-04-06 11:22:40 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 0604241122351000u 1 2024-04-06 11:22:40 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 0604241122351100u 1 2024-04-06 11:22:40 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 0604241122351200u 1 2024-04-06 11:22:40 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 0604241122351200u 1 2024-04-06 11:22:40 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 0604241122351200u 1 2024-04-06 11:22:40 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 0604241122351200u 1 2024-04-06 11:22:40 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 0604241122351300u 1 2024-04-06 11:22:40 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 0604241122351300u 1 2024-04-06 11:22:40 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 0604241122351300u 1 2024-04-06 11:22:41 policy-db-migrator | policyadmin: OK @ 1300 grafana | logger=migrator t=2024-04-06T11:22:31.100774253Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-04-06T11:22:31.10240269Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.628407ms grafana | logger=migrator t=2024-04-06T11:22:31.105968608Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-04-06T11:22:31.107838308Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.8694ms grafana | logger=migrator t=2024-04-06T11:22:31.111212493Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-04-06T11:22:31.112376646Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.163933ms grafana | logger=migrator t=2024-04-06T11:22:31.115880063Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-04-06T11:22:31.117004185Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.123822ms grafana | logger=migrator t=2024-04-06T11:22:31.12033173Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-04-06T11:22:31.121692925Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.361784ms grafana | logger=migrator t=2024-04-06T11:22:31.124949839Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-04-06T11:22:31.125245872Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=293.393µs grafana | logger=migrator t=2024-04-06T11:22:31.128598737Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-04-06T11:22:31.138616344Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=10.017667ms grafana | logger=migrator t=2024-04-06T11:22:31.141823518Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-04-06T11:22:31.142329153Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=507.635µs grafana | logger=migrator t=2024-04-06T11:22:31.145701919Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-04-06T11:22:31.148095984Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=2.374265ms grafana | logger=migrator t=2024-04-06T11:22:31.151682972Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-04-06T11:22:31.152827294Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.143732ms grafana | logger=migrator t=2024-04-06T11:22:31.155909667Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-04-06T11:22:31.157052889Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=1.142562ms grafana | logger=migrator t=2024-04-06T11:22:31.160135932Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" grafana | logger=migrator t=2024-04-06T11:22:31.161437405Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=1.300164ms grafana | logger=migrator t=2024-04-06T11:22:31.16474935Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-04-06T11:22:31.165949053Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.198833ms grafana | logger=migrator t=2024-04-06T11:22:31.169300539Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-04-06T11:22:31.17037997Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.078581ms grafana | logger=migrator t=2024-04-06T11:22:31.176653967Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-04-06T11:22:31.177651797Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=998.03µs grafana | logger=migrator t=2024-04-06T11:22:31.18075469Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-04-06T11:22:31.181115564Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=361.444µs grafana | logger=migrator t=2024-04-06T11:22:31.184601571Z level=info msg="Executing migration" id="alter kv_store.value to longtext" grafana | logger=migrator t=2024-04-06T11:22:31.184677431Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=73.09µs grafana | logger=migrator t=2024-04-06T11:22:31.189448122Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" grafana | logger=migrator t=2024-04-06T11:22:31.199113375Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=9.664743ms grafana | logger=migrator t=2024-04-06T11:22:31.202846724Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" grafana | logger=migrator t=2024-04-06T11:22:31.210195002Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=7.344318ms grafana | logger=migrator t=2024-04-06T11:22:31.213503347Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" grafana | logger=migrator t=2024-04-06T11:22:31.213835081Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=331.734µs grafana | logger=migrator t=2024-04-06T11:22:31.217099285Z level=info msg="migrations completed" performed=548 skipped=0 duration=4.321911603s grafana | logger=sqlstore t=2024-04-06T11:22:31.22702582Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-04-06T11:22:31.227323213Z level=info msg="Created default organization" grafana | logger=secrets t=2024-04-06T11:22:31.231175524Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2024-04-06T11:22:31.252225497Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2024-04-06T11:22:31.304832715Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-04-06T11:22:31.304876145Z level=info msg="Plugins loaded" count=55 duration=52.651338ms grafana | logger=query_data t=2024-04-06T11:22:31.307688795Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-04-06T11:22:31.311437064Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2024-04-06T11:22:31.316970973Z level=info msg=Starting grafana | logger=ngalert.migration t=2024-04-06T11:22:31.31760193Z level=info msg="Applying transition" currentType=Legacy desiredType=UnifiedAlerting cleanOnDowngrade=false cleanOnUpgrade=false grafana | logger=ngalert.migration orgID=1 t=2024-04-06T11:22:31.318271527Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-04-06T11:22:31.319290588Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration t=2024-04-06T11:22:31.321569152Z level=info msg="Completed alerting migration" grafana | logger=ngalert.state.manager t=2024-04-06T11:22:31.348301815Z level=info msg="Running in alternative execution of Error/NoData mode" grafana | logger=infra.usagestats.collector t=2024-04-06T11:22:31.351184856Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-04-06T11:22:31.353682902Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-04-06T11:22:31.404140336Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-04-06T11:22:31.404218137Z level=info msg="finished to provision alerting" grafana | logger=ngalert.state.manager t=2024-04-06T11:22:31.404726033Z level=info msg="Warming state cache for startup" grafana | logger=ngalert.multiorg.alertmanager t=2024-04-06T11:22:31.404871184Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=grafanaStorageLogger t=2024-04-06T11:22:31.405096527Z level=info msg="Storage starting" grafana | logger=http.server t=2024-04-06T11:22:31.408969058Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=provisioning.dashboard t=2024-04-06T11:22:31.489230258Z level=info msg="starting to provision dashboards" grafana | logger=plugins.update.checker t=2024-04-06T11:22:31.496399754Z level=info msg="Update check succeeded" duration=90.683931ms grafana | logger=ngalert.state.manager t=2024-04-06T11:22:31.497445215Z level=info msg="State cache has been initialized" states=0 duration=92.717722ms grafana | logger=ngalert.scheduler t=2024-04-06T11:22:31.497484835Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 grafana | logger=ticker t=2024-04-06T11:22:31.497535896Z level=info msg=starting first_tick=2024-04-06T11:22:40Z grafana | logger=sqlstore.transactions t=2024-04-06T11:22:31.512436804Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=grafana.update.checker t=2024-04-06T11:22:31.516879511Z level=info msg="Update check succeeded" duration=112.114118ms grafana | logger=sqlstore.transactions t=2024-04-06T11:22:31.532215983Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2024-04-06T11:22:31.642760685Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2024-04-06T11:22:31.653775851Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" grafana | logger=sqlstore.transactions t=2024-04-06T11:22:31.673146667Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=2 code="database is locked" grafana | logger=sqlstore.transactions t=2024-04-06T11:22:31.69427969Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=3 code="database is locked" grafana | logger=sqlstore.transactions t=2024-04-06T11:22:31.713790807Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=4 code="database is locked" grafana | logger=provisioning.dashboard t=2024-04-06T11:22:31.810148718Z level=info msg="finished to provision dashboards" grafana | logger=grafana-apiserver t=2024-04-06T11:22:31.839973124Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" grafana | logger=grafana-apiserver t=2024-04-06T11:22:31.84056901Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" grafana | logger=infra.usagestats t=2024-04-06T11:23:35.426602585Z level=info msg="Usage stats are ready to report" ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing mariadb ... Removing prometheus ... Removing policy-api ... done Removing prometheus ... done Removing grafana ... done Removing policy-db-migrator ... done Removing mariadb ... done Removing network compose_default ++ cd /w/workspace/policy-api-master-project-csit-api + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.g2EoUSsT1M ]] + rsync -av /tmp/tmp.g2EoUSsT1M/ /w/workspace/policy-api-master-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,357,348 bytes received 95 bytes 2,714,886.00 bytes/sec total size is 1,356,698 speedup is 1.00 + rm -rf /w/workspace/policy-api-master-project-csit-api/models + exit 0 $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2065 killed; [ssh-agent] Stopped. Robot results publisher started... INFO: Checking test criticality is deprecated and will be dropped in a future release! -Parsing output xml: Done! WARNING! Could not find file: **/log.html WARNING! Could not find file: **/report.html -Copying log files to build dir: Done! -Assigning results to build: Done! -Checking thresholds: Done! Done publishing Robot results. [PostBuildScript] - [INFO] Executing post build scripts. [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins5094968533467767011.sh ---> sysstat.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins16478422219226939091.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/policy-api-master-project-csit-api + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/policy-api-master-project-csit-api ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/policy-api-master-project-csit-api ']' + mkdir -p /w/workspace/policy-api-master-project-csit-api/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-master-project-csit-api/archives/ [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins6595667165829889407.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ns88 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-ns88/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins4487417701119181991.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-master-project-csit-api@tmp/config8841794782519043109tmp Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] Run condition [Regular expression match] preventing perform for step [Provide Configuration files] [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SERVER_ID=logs [EnvInject] - Variables injected successfully. [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins14750006635232854989.sh ---> create-netrc.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins7218898653706021308.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ns88 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-ns88/bin to PATH [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins2937324165172988937.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins15655784867559053103.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ns88 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-ns88/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [policy-api-master-project-csit-api] $ /bin/bash -l /tmp/jenkins13469134921503148477.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ns88 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-ns88/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-master-project-csit-api/1590 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-21012 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2800.000 BogoMIPS: 5600.00 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 867 27090 0 4209 30844 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:af:98:16 brd ff:ff:ff:ff:ff:ff inet 10.30.106.45/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86053sec preferred_lft 86053sec inet6 fe80::f816:3eff:feaf:9816/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:b6:e9:9c:40 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-21012) 04/06/24 _x86_64_ (8 CPU) 11:19:24 LINUX RESTART (8 CPU) 11:20:02 tps rtps wtps bread/s bwrtn/s 11:21:01 121.21 36.77 84.45 1718.47 29234.97 11:22:01 125.90 23.05 102.85 2768.07 34280.69 11:23:01 393.53 12.83 380.70 830.03 92660.71 11:24:01 18.08 0.00 18.08 0.00 22943.64 11:25:01 60.32 2.02 58.31 122.78 25105.42 Average: 143.88 14.86 129.02 1085.78 40883.52 11:20:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:21:01 30052284 31632760 2886936 8.76 70220 1820828 1461772 4.30 936484 1657540 149480 11:22:01 28588340 31621676 4350880 13.21 104468 3195320 1564012 4.60 1030908 2934760 1196356 11:23:01 26697612 30580988 6241608 18.95 129876 3968160 4191540 12.33 2164144 3613560 328 11:24:01 26312552 30197024 6626668 20.12 129996 3968864 4622604 13.60 2549392 3613448 280 11:25:01 27736772 31579540 5202448 15.79 131972 3935832 1474964 4.34 1202304 3564484 24516 Average: 27877512 31122398 5061708 15.37 113306 3377801 2662978 7.84 1576646 3076758 274192 11:20:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:21:01 ens3 76.87 52.85 899.48 11.02 0.00 0.00 0.00 0.00 11:21:01 lo 1.63 1.63 0.19 0.19 0.00 0.00 0.00 0.00 11:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:22:01 ens3 253.17 159.22 7530.70 15.96 0.00 0.00 0.00 0.00 11:22:01 lo 6.93 6.93 0.66 0.66 0.00 0.00 0.00 0.00 11:22:01 br-31ede7a58c4b 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:23:01 ens3 114.18 74.85 3644.61 6.10 0.00 0.00 0.00 0.00 11:23:01 vethcaacf1a 0.47 0.70 0.05 0.30 0.00 0.00 0.00 0.00 11:23:01 lo 3.90 3.90 0.35 0.35 0.00 0.00 0.00 0.00 11:23:01 vethd58faac 33.59 30.31 13.07 23.60 0.00 0.00 0.00 0.00 11:24:01 ens3 4.55 4.32 1.01 1.20 0.00 0.00 0.00 0.00 11:24:01 vethcaacf1a 0.17 0.18 0.01 0.01 0.00 0.00 0.00 0.00 11:24:01 lo 9.83 9.83 8.47 8.47 0.00 0.00 0.00 0.00 11:24:01 vethd58faac 91.35 75.24 28.32 90.33 0.00 0.00 0.00 0.01 11:25:01 ens3 73.87 54.19 78.01 26.64 0.00 0.00 0.00 0.00 11:25:01 lo 7.17 7.17 0.63 0.63 0.00 0.00 0.00 0.00 11:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: ens3 104.62 69.14 2435.83 12.19 0.00 0.00 0.00 0.00 Average: lo 5.91 5.91 2.06 2.06 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-21012) 04/06/24 _x86_64_ (8 CPU) 11:19:24 LINUX RESTART (8 CPU) 11:20:02 CPU %user %nice %system %iowait %steal %idle 11:21:01 all 10.34 0.00 0.90 2.27 0.04 86.46 11:21:01 0 14.68 0.00 1.44 8.60 0.03 75.24 11:21:01 1 2.26 0.00 0.32 0.00 0.02 97.40 11:21:01 2 7.29 0.00 0.78 0.25 0.03 91.65 11:21:01 3 3.22 0.00 0.49 0.61 0.02 95.66 11:21:01 4 26.18 0.00 1.76 1.98 0.05 70.02 11:21:01 5 16.99 0.00 1.12 6.19 0.05 75.65 11:21:01 6 2.02 0.00 0.24 0.20 0.07 97.47 11:21:01 7 10.10 0.00 1.04 0.27 0.03 88.56 11:22:01 all 11.74 0.00 2.12 2.40 0.04 83.70 11:22:01 0 8.33 0.00 1.59 9.04 0.03 81.01 11:22:01 1 16.54 0.00 2.78 0.94 0.03 79.72 11:22:01 2 7.33 0.00 1.84 0.07 0.03 90.73 11:22:01 3 8.10 0.00 2.38 0.55 0.03 88.94 11:22:01 4 5.40 0.00 2.23 0.00 0.03 92.34 11:22:01 5 18.12 0.00 2.36 0.90 0.05 78.56 11:22:01 6 4.40 0.00 1.44 2.42 0.07 91.67 11:22:01 7 25.71 0.00 2.33 5.20 0.05 66.72 11:23:01 all 17.11 0.00 3.87 5.24 0.07 73.71 11:23:01 0 16.22 0.00 3.64 3.70 0.07 76.38 11:23:01 1 14.48 0.00 3.49 3.52 0.07 78.45 11:23:01 2 16.79 0.00 3.60 1.03 0.07 78.51 11:23:01 3 21.12 0.00 4.27 2.25 0.08 72.28 11:23:01 4 23.16 0.00 4.24 3.07 0.07 69.46 11:23:01 5 15.20 0.00 3.56 1.08 0.07 80.09 11:23:01 6 10.62 0.00 3.89 21.22 0.07 64.21 11:23:01 7 19.26 0.00 4.29 6.12 0.05 70.28 11:24:01 all 2.80 0.00 0.26 1.16 0.03 95.75 11:24:01 0 2.27 0.00 0.23 8.82 0.03 88.64 11:24:01 1 2.20 0.00 0.22 0.00 0.00 97.58 11:24:01 2 4.10 0.00 0.28 0.00 0.00 95.61 11:24:01 3 2.05 0.00 0.37 0.35 0.05 97.18 11:24:01 4 1.48 0.00 0.17 0.00 0.02 98.33 11:24:01 5 4.04 0.00 0.33 0.00 0.07 95.56 11:24:01 6 1.82 0.00 0.22 0.12 0.05 97.80 11:24:01 7 4.45 0.00 0.35 0.00 0.00 95.20 11:25:01 all 7.44 0.00 0.73 1.33 0.04 90.46 11:25:01 0 15.58 0.00 0.82 7.82 0.05 75.73 11:25:01 1 15.85 0.00 0.90 0.38 0.03 82.83 11:25:01 2 3.06 0.00 0.62 0.30 0.02 96.01 11:25:01 3 3.68 0.00 0.90 1.15 0.03 94.23 11:25:01 4 5.46 0.00 0.45 0.23 0.02 93.84 11:25:01 5 10.78 0.00 0.82 0.30 0.07 88.03 11:25:01 6 1.97 0.00 0.72 0.28 0.03 96.99 11:25:01 7 3.12 0.00 0.60 0.17 0.05 96.06 Average: all 9.87 0.00 1.58 2.48 0.04 86.03 Average: 0 11.40 0.00 1.55 7.60 0.04 79.41 Average: 1 10.28 0.00 1.54 0.97 0.03 87.18 Average: 2 7.70 0.00 1.42 0.33 0.03 90.52 Average: 3 7.63 0.00 1.68 0.98 0.04 89.67 Average: 4 12.27 0.00 1.76 1.05 0.04 84.88 Average: 5 13.01 0.00 1.64 1.68 0.06 83.61 Average: 6 4.16 0.00 1.30 4.83 0.06 89.66 Average: 7 12.52 0.00 1.72 2.35 0.04 83.38