Triggered by Gerrit: https://gerrit.onap.org/r/c/policy/docker/+/137538 Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-14651 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-master-project-csit-verify-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-5kEkYnchNQ2E/agent.2056 SSH_AGENT_PID=2058 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-master-project-csit-verify-api@tmp/private_key_17411558139716974322.key (/w/workspace/policy-api-master-project-csit-verify-api@tmp/private_key_17411558139716974322.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-verify-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 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git 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/changes/38/137538/1 # timeout=30 > git rev-parse 6f8a8fdf2815ab5354b15c3fa6c076c09cf62b27^{commit} # timeout=10 JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://plugins.jenkins.io/git/#remove-git-plugin-buildsbybranch-builddata-script Checking out Revision 6f8a8fdf2815ab5354b15c3fa6c076c09cf62b27 (refs/changes/38/137538/1) > git config core.sparsecheckout # timeout=10 > git checkout -f 6f8a8fdf2815ab5354b15c3fa6c076c09cf62b27 # timeout=30 Commit message: "Fix jenkins merge job failure in policy-docker" > git rev-parse FETCH_HEAD^{commit} # timeout=10 > git rev-list --no-walk 3e1c1491c4aa260fda04d13cd7ad97056e43c02a # 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-verify-api] $ /bin/bash /tmp/jenkins10158156474676793931.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-DRc8 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-DRc8/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-DRc8/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.66 botocore==1.34.66 bs4==0.0.2 cachetools==5.3.3 certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.6.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.6.1 docker==4.2.2 dogpile.cache==1.3.2 email_validator==2.1.1 filelock==3.13.1 future==1.0.0 gitdb==4.0.11 GitPython==3.1.42 google-auth==2.28.2 httplib2==0.22.0 identify==2.5.35 idna==3.6 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.6.0 kubernetes==29.0.0 lftools==0.37.10 lxml==5.1.0 MarkupSafe==2.1.5 msgpack==1.0.8 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.2.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==3.0.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.1 oslo.config==9.4.0 oslo.context==5.5.0 oslo.i18n==6.3.0 oslo.log==5.5.0 oslo.serialization==5.4.0 oslo.utils==7.1.0 packaging==24.0 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.10.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.2.0 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.5.0 python-dateutil==2.9.0.post0 python-heatclient==3.5.0 python-jenkins==1.8.2 python-keystoneclient==5.4.0 python-magnumclient==4.4.0 python-novaclient==18.6.0 python-openstackclient==6.6.0 python-swiftclient==4.5.0 PyYAML==6.0.1 referencing==0.34.0 requests==2.31.0 requests-oauthlib==1.4.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.18.0 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.1 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.2.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.4 tqdm==4.66.2 typing_extensions==4.10.0 tzdata==2024.1 urllib3==1.26.18 virtualenv==20.25.1 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-master-project-csit-verify-api] $ /bin/sh /tmp/jenkins7018449932735232172.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-verify-api] $ /bin/sh -xe /tmp/jenkins5768181701317670078.sh + /w/workspace/policy-api-master-project-csit-verify-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-verify-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-verify-api/csit:/w/workspace/policy-api-master-project-csit-verify-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-verify-api/csit:/w/workspace/policy-api-master-project-csit-verify-api/scripts:/bin + export SCRIPTS=/w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts + SCRIPTS=/w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts + export ROBOT_VARIABLES= + ROBOT_VARIABLES= + export PROJECT=api + PROJECT=api + cd /w/workspace/policy-api-master-project-csit-verify-api + rm -rf /w/workspace/policy-api-master-project-csit-verify-api/csit/archives/api + mkdir -p /w/workspace/policy-api-master-project-csit-verify-api/csit/archives/api + source_safely /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/prepare-robot-env.sh + '[' -z /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/prepare-robot-env.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/prepare-robot-env.sh ++ '[' -z /w/workspace/policy-api-master-project-csit-verify-api ']' +++ mktemp -d ++ ROBOT_VENV=/tmp/tmp.UFoqEpDfpi ++ echo ROBOT_VENV=/tmp/tmp.UFoqEpDfpi +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.UFoqEpDfpi ++ source /tmp/tmp.UFoqEpDfpi/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.UFoqEpDfpi +++ 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-verify-api/csit:/w/workspace/policy-api-master-project-csit-verify-api/scripts:/bin +++ PATH=/tmp/tmp.UFoqEpDfpi/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-verify-api/csit:/w/workspace/policy-api-master-project-csit-verify-api/scripts:/bin +++ export PATH +++ '[' -n '' ']' +++ '[' -z '' ']' +++ _OLD_VIRTUAL_PS1= +++ '[' 'x(tmp.UFoqEpDfpi) ' '!=' x ']' +++ PS1='(tmp.UFoqEpDfpi) ' +++ 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-verify-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2024.2.2 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==5.1.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.2 python-dateutil==2.9.0.post0 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.UFoqEpDfpi/src/onap ++ rm -rf /tmp/tmp.UFoqEpDfpi/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.1.0 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.2 python-dateutil==2.9.0.post0 PyYAML==6.0.1 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==0.6.0.dev105 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.UFoqEpDfpi/bin/activate + '[' -z /tmp/tmp.UFoqEpDfpi/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.UFoqEpDfpi/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-verify-api/csit:/w/workspace/policy-api-master-project-csit-verify-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-verify-api/csit:/w/workspace/policy-api-master-project-csit-verify-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.UFoqEpDfpi ++ 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-verify-api/csit:/w/workspace/policy-api-master-project-csit-verify-api/scripts:/bin ++ PATH=/tmp/tmp.UFoqEpDfpi/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-verify-api/csit:/w/workspace/policy-api-master-project-csit-verify-api/scripts:/bin ++ export PATH ++ '[' -n '' ']' ++ '[' -z '' ']' ++ _OLD_VIRTUAL_PS1='(tmp.UFoqEpDfpi) ' ++ '[' 'x(tmp.UFoqEpDfpi) ' '!=' x ']' ++ PS1='(tmp.UFoqEpDfpi) (tmp.UFoqEpDfpi) ' ++ 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-verify-api/csit/resources/tests + TEST_PLAN_DIR=/w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests + export TEST_OPTIONS= + TEST_OPTIONS= ++ mktemp -d + WORKDIR=/tmp/tmp.15rvSbGlht + cd /tmp/tmp.15rvSbGlht + 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-verify-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-master-project-csit-verify-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-master-project-csit-verify-api/.gitreview +++ GERRIT_BRANCH=master +++ echo GERRIT_BRANCH=master GERRIT_BRANCH=master +++ rm -rf /w/workspace/policy-api-master-project-csit-verify-api/models +++ mkdir /w/workspace/policy-api-master-project-csit-verify-api/models +++ git clone -b master --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-master-project-csit-verify-api/models Cloning into '/w/workspace/policy-api-master-project-csit-verify-api/models'... +++ export DATA=/w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-master-project-csit-verify-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-verify-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-master-project-csit-verify-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-master-project-csit-verify-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-verify-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-verify-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:ab0a3a1ee55f1bb0f1d1fd16687dc5c3f589ad75c369848b1db1aef2f7ab963c 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.2-SNAPSHOT)... 3.1.2-SNAPSHOT: Pulling from onap/policy-api Digest: sha256:fdc9aa26830be0af882248f5f576f0e9466b8e17ff432e8618d01432efa85803 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.1.2-SNAPSHOT Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:5ccad477d0057e62a7cd1981ffcc43785ac10c5a35522dc207466ff7e7ec845f Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... latest: Pulling from grafana/grafana Digest: sha256:f9811e4e687ffecf1a43adb9b64096c50bc0d7a782f8608530f478b6542de7d5 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating mariadb ... Creating prometheus ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-master-project-csit-verify-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 10 seconds policy-db-migrator Up 11 seconds grafana Up 13 seconds prometheus Up 14 seconds mariadb Up 11 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds prometheus Up 19 seconds mariadb Up 16 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds prometheus Up 24 seconds mariadb Up 22 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds prometheus Up 29 seconds mariadb Up 27 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-verify-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-verify-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 16:11:54 up 3 min, 0 users, load average: 2.27, 0.99, 0.39 Tasks: 179 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.7 us, 2.1 sy, 0.0 ni, 83.1 id, 4.0 wa, 0.0 hi, 0.1 si, 0.1 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.5G 25G 1.0M 4.2G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds prometheus Up 29 seconds mariadb Up 27 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 8fb1a2f27113 policy-api 0.45% 504.7MiB / 31.41GiB 1.57% 999kB / 710kB 0B / 0B 54 959807626a9a grafana 0.06% 56MiB / 31.41GiB 0.17% 18.5kB / 3.25kB 0B / 24.8MB 18 9bd5e50b5f8d prometheus 0.24% 18.97MiB / 31.41GiB 0.06% 1.52kB / 158B 229kB / 0B 12 226e1799c777 mariadb 0.02% 100.6MiB / 31.41GiB 0.31% 986kB / 1.18MB 11MB / 70.4MB 27 + echo + cd /tmp/tmp.15rvSbGlht + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + sed 's|^|/w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests/|' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + cat testplan.txt /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-verify-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-verify-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-verify-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-verify-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-verify-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-verify-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-verify-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-master-project-csit-verify-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-verify-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.15rvSbGlht/output.xml Log: /tmp/tmp.15rvSbGlht/log.html Report: /tmp/tmp.15rvSbGlht/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-verify-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute prometheus Up About a minute mariadb Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 16:13:06 up 4 min, 0 users, load average: 0.90, 0.88, 0.40 Tasks: 177 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.0 us, 1.7 sy, 0.0 ni, 86.0 id, 3.2 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 2.1G 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 prometheus Up About a minute mariadb Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 8fb1a2f27113 policy-api 0.12% 1.185GiB / 31.41GiB 3.77% 7MB / 2.55MB 0B / 0B 55 959807626a9a grafana 0.04% 61.11MiB / 31.41GiB 0.19% 19.4kB / 4.39kB 0B / 24.8MB 18 9bd5e50b5f8d prometheus 0.00% 24.86MiB / 31.41GiB 0.08% 55.3kB / 6.35kB 229kB / 0B 13 226e1799c777 mariadb 0.02% 101.8MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 11MB / 70.8MB 18 + echo + source_safely /w/workspace/policy-api-master-project-csit-verify-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-master-project-csit-verify-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-verify-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-master-project-csit-verify-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-verify-api/compose ++ cd /w/workspace/policy-api-master-project-csit-verify-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-api, policy-db-migrator, grafana, prometheus, mariadb grafana | logger=settings t=2024-03-20T16:11:25.784637999Z level=info msg="Starting Grafana" version=10.4.0 commit=03f502a94d17f7dc4e6c34acdf8428aedd986e4c branch=HEAD compiled=2024-03-20T16:11:25Z grafana | logger=settings t=2024-03-20T16:11:25.785044172Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-03-20T16:11:25.785059672Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-03-20T16:11:25.785063832Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-03-20T16:11:25.785067392Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-03-20T16:11:25.785070663Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-03-20T16:11:25.785073613Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-03-20T16:11:25.785076403Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-03-20T16:11:25.785079933Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-03-20T16:11:25.785085053Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-03-20T16:11:25.785087793Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-03-20T16:11:25.785091133Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-03-20T16:11:25.785197954Z level=info msg=Target target=[all] grafana | logger=settings t=2024-03-20T16:11:25.785217404Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-03-20T16:11:25.785221974Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-03-20T16:11:25.785227874Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-03-20T16:11:25.785230534Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-03-20T16:11:25.785233264Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-03-20T16:11:25.785236254Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-03-20T16:11:25.785596697Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-03-20T16:11:25.785617777Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-03-20T16:11:25.786411955Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-03-20T16:11:25.787546326Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-03-20T16:11:25.788532745Z level=info msg="Migration successfully executed" id="create migration_log table" duration=985.779µs grafana | logger=migrator t=2024-03-20T16:11:25.797245728Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-03-20T16:11:25.798146056Z level=info msg="Migration successfully executed" id="create user table" duration=900.038µs grafana | logger=migrator t=2024-03-20T16:11:25.804308415Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-03-20T16:11:25.805582857Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=1.274122ms grafana | logger=migrator t=2024-03-20T16:11:25.810882006Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-03-20T16:11:25.812086098Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.203582ms grafana | logger=migrator t=2024-03-20T16:11:25.816853213Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-03-20T16:11:25.817874262Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.020589ms grafana | logger=migrator t=2024-03-20T16:11:25.823424305Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-03-20T16:11:25.824035311Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=611.436µs grafana | logger=migrator t=2024-03-20T16:11:25.82812612Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-03-20T16:11:25.831766954Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=3.641984ms grafana | logger=migrator t=2024-03-20T16:11:25.835756301Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-03-20T16:11:25.836833532Z level=info msg="Migration successfully executed" id="create user table v2" duration=1.078851ms grafana | logger=migrator t=2024-03-20T16:11:25.842212673Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-03-20T16:11:25.842875989Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=662.856µs grafana | logger=migrator t=2024-03-20T16:11:25.849942195Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-03-20T16:11:25.850623572Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=681.137µs grafana | logger=migrator t=2024-03-20T16:11:25.856532858Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-03-20T16:11:25.857095533Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=560.585µs grafana | logger=migrator t=2024-03-20T16:11:25.862716696Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-03-20T16:11:25.863499364Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=784.818µs grafana | logger=migrator t=2024-03-20T16:11:25.867809315Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-03-20T16:11:25.869520491Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.710426ms grafana | logger=migrator t=2024-03-20T16:11:25.873998573Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-03-20T16:11:25.874039453Z level=info msg="Migration successfully executed" id="Update user table charset" duration=42.35µs grafana | logger=migrator t=2024-03-20T16:11:25.879137612Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-03-20T16:11:25.880252163Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.114241ms grafana | logger=migrator t=2024-03-20T16:11:25.887789503Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-03-20T16:11:25.888144346Z level=info msg="Migration successfully executed" id="Add missing user data" duration=354.813µs grafana | logger=migrator t=2024-03-20T16:11:25.892841512Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-03-20T16:11:25.894509927Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.668045ms grafana | logger=migrator t=2024-03-20T16:11:25.89911189Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-03-20T16:11:25.899768967Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=656.467µs grafana | logger=migrator t=2024-03-20T16:11:25.904010267Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-03-20T16:11:25.905493811Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.479374ms grafana | logger=migrator t=2024-03-20T16:11:25.911034833Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-03-20T16:11:25.919330332Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=8.290729ms grafana | logger=migrator t=2024-03-20T16:11:25.923150787Z level=info msg="Executing migration" id="Add uid column to user" grafana | logger=migrator t=2024-03-20T16:11:25.924239688Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=1.088871ms grafana | logger=migrator t=2024-03-20T16:11:25.928399047Z level=info msg="Executing migration" id="Update uid column values for users" grafana | logger=migrator t=2024-03-20T16:11:25.928577839Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=178.872µs grafana | logger=migrator t=2024-03-20T16:11:25.932660358Z level=info msg="Executing migration" id="Add unique index user_uid" grafana | logger=migrator t=2024-03-20T16:11:25.934436965Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=1.769837ms grafana | logger=migrator t=2024-03-20T16:11:25.941138208Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-03-20T16:11:25.94242098Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.282222ms grafana | logger=migrator t=2024-03-20T16:11:25.947047824Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-03-20T16:11:25.948142054Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.09359ms grafana | logger=migrator t=2024-03-20T16:11:25.952320893Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-03-20T16:11:25.95299099Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=669.737µs grafana | logger=migrator t=2024-03-20T16:11:25.958730564Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-03-20T16:11:25.959963526Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.233942ms grafana | logger=migrator t=2024-03-20T16:11:25.96462477Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-03-20T16:11:25.965879882Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.255022ms grafana | logger=migrator t=2024-03-20T16:11:25.970296464Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-03-20T16:11:25.970324584Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=28.99µs grafana | logger=migrator t=2024-03-20T16:11:25.975837876Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-03-20T16:11:25.976528003Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=690.537µs grafana | logger=migrator t=2024-03-20T16:11:26.036117215Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-03-20T16:11:26.037202196Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.082731ms grafana | logger=migrator t=2024-03-20T16:11:26.043535615Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-03-20T16:11:26.044616546Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.080331ms grafana | logger=migrator t=2024-03-20T16:11:26.05242491Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-03-20T16:11:26.0534807Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.05512ms grafana | logger=migrator t=2024-03-20T16:11:26.059475787Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-03-20T16:11:26.064448314Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=4.954496ms grafana | logger=migrator t=2024-03-20T16:11:26.071710683Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-03-20T16:11:26.072673032Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=963.159µs grafana | logger=migrator t=2024-03-20T16:11:26.080033282Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-03-20T16:11:26.081191492Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=1.1572ms grafana | logger=migrator t=2024-03-20T16:11:26.085346511Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-03-20T16:11:26.086528503Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.181802ms grafana | logger=migrator t=2024-03-20T16:11:26.090655172Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-03-20T16:11:26.091774342Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.11578ms grafana | logger=migrator t=2024-03-20T16:11:26.098394256Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-03-20T16:11:26.099529995Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.135389ms grafana | logger=migrator t=2024-03-20T16:11:26.104108049Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-03-20T16:11:26.104517203Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=409.154µs grafana | logger=migrator t=2024-03-20T16:11:26.109794423Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-03-20T16:11:26.11056887Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=773.767µs grafana | logger=migrator t=2024-03-20T16:11:26.11582517Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-03-20T16:11:26.116483427Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=658.177µs grafana | logger=migrator t=2024-03-20T16:11:26.121662855Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-03-20T16:11:26.122652905Z level=info msg="Migration successfully executed" id="create star table" duration=988.77µs policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.3:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.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-03-20T16:11:42.111+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-03-20T16:11:42.113+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-03-20T16:11:43.816+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-03-20T16:11:43.905+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 81 ms. Found 6 JPA repository interfaces. policy-api | [2024-03-20T16:11:44.308+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-03-20T16:11:44.309+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-03-20T16:11:44.957+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-03-20T16:11:44.967+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-03-20T16:11:44.969+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-03-20T16:11:44.969+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.18] policy-api | [2024-03-20T16:11:45.052+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-03-20T16:11:45.052+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2877 ms policy-api | [2024-03-20T16:11:45.470+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-03-20T16:11:45.548+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-api | [2024-03-20T16:11:45.551+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-api | [2024-03-20T16:11:45.599+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-api | [2024-03-20T16:11:45.968+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer grafana | logger=migrator t=2024-03-20T16:11:26.127068126Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-03-20T16:11:26.127785684Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=717.327µs grafana | logger=migrator t=2024-03-20T16:11:26.13167225Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-03-20T16:11:26.132427277Z level=info msg="Migration successfully executed" id="create org table v1" duration=754.627µs grafana | logger=migrator t=2024-03-20T16:11:26.136062812Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-03-20T16:11:26.136778328Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=731.476µs grafana | logger=migrator t=2024-03-20T16:11:26.141492582Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-03-20T16:11:26.14219242Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=700.128µs grafana | logger=migrator t=2024-03-20T16:11:26.146838603Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-03-20T16:11:26.148019674Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.180661ms grafana | logger=migrator t=2024-03-20T16:11:26.152311075Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-03-20T16:11:26.153050652Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=738.987µs grafana | logger=migrator t=2024-03-20T16:11:26.156681836Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-03-20T16:11:26.157556395Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=873.539µs grafana | logger=migrator t=2024-03-20T16:11:26.163560301Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-03-20T16:11:26.163585752Z level=info msg="Migration successfully executed" id="Update org table charset" duration=26.951µs grafana | logger=migrator t=2024-03-20T16:11:26.16974712Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-03-20T16:11:26.169781061Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=35.001µs grafana | logger=migrator t=2024-03-20T16:11:26.176342492Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-03-20T16:11:26.176607085Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=265.243µs grafana | logger=migrator t=2024-03-20T16:11:26.180570862Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-03-20T16:11:26.181753823Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.182471ms grafana | logger=migrator t=2024-03-20T16:11:26.186820702Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-03-20T16:11:26.187629289Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=804.887µs grafana | logger=migrator t=2024-03-20T16:11:26.192193083Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-03-20T16:11:26.193276452Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.081649ms grafana | logger=migrator t=2024-03-20T16:11:26.19823308Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-03-20T16:11:26.19928456Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.05049ms grafana | logger=migrator t=2024-03-20T16:11:26.204977964Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-03-20T16:11:26.206348657Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.370653ms grafana | logger=migrator t=2024-03-20T16:11:26.211187852Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-03-20T16:11:26.212267892Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.07956ms grafana | logger=migrator t=2024-03-20T16:11:26.217597223Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-03-20T16:11:26.222461418Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=4.863845ms grafana | logger=migrator t=2024-03-20T16:11:26.229614476Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-03-20T16:11:26.230382254Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=767.248µs grafana | logger=migrator t=2024-03-20T16:11:26.234363261Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-03-20T16:11:26.235459652Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.094261ms grafana | logger=migrator t=2024-03-20T16:11:26.240714631Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-03-20T16:11:26.241955383Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.242082ms grafana | logger=migrator t=2024-03-20T16:11:26.249250952Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-03-20T16:11:26.249829028Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=577.546µs grafana | logger=migrator t=2024-03-20T16:11:26.255410361Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-03-20T16:11:26.256708953Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.297882ms grafana | logger=migrator t=2024-03-20T16:11:26.260873263Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-03-20T16:11:26.260936073Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=61.471µs grafana | logger=migrator t=2024-03-20T16:11:26.265680997Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-03-20T16:11:26.26803995Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.357343ms grafana | logger=migrator t=2024-03-20T16:11:26.272088068Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-03-20T16:11:26.274859665Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.771287ms grafana | logger=migrator t=2024-03-20T16:11:26.279119565Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-03-20T16:11:26.280852081Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.732096ms grafana | logger=migrator t=2024-03-20T16:11:26.28717024Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" policy-api | [2024-03-20T16:11:45.990+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-03-20T16:11:46.086+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@63b3ee82 policy-api | [2024-03-20T16:11:46.089+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-03-20T16:11:47.931+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-api | [2024-03-20T16:11:47.934+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-03-20T16:11:48.968+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-03-20T16:11:49.801+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-03-20T16:11:50.975+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-03-20T16:11:51.209+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@5f967ad3, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@5c1348c6, org.springframework.security.web.context.SecurityContextHolderFilter@9bc10bd, org.springframework.security.web.header.HeaderWriterFilter@6e11d059, org.springframework.security.web.authentication.logout.LogoutFilter@56b5de49, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@79462469, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@2e26841f, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@36c6d53b, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@4f3eddc0, org.springframework.security.web.access.ExceptionTranslationFilter@1d123972, org.springframework.security.web.access.intercept.AuthorizationFilter@4bbb00a4] policy-api | [2024-03-20T16:11:52.021+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-03-20T16:11:52.141+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-03-20T16:11:52.164+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-03-20T16:11:52.184+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.795 seconds (process running for 11.418) policy-api | [2024-03-20T16:11:57.161+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-03-20T16:11:57.161+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2024-03-20T16:11:57.162+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-api | [2024-03-20T16:12:00.073+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2024-03-20T16:12:00.202+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes policy-api | [2024-03-20T16:12:00.449+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2024-03-20T16:12:01.866+00:00|WARN|CommonRestController|http-nio-6969-exec-8] POST /policies policy-api | [2024-03-20T16:12:04.214+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-03-20T16:12:04.515+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-03-20T16:12:04.758+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2024-03-20T16:12:05.032+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-03-20T16:12:05.328+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2024-03-20T16:12:05.582+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2024-03-20T16:11:26.288348742Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.178062ms grafana | logger=migrator t=2024-03-20T16:11:26.292928846Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-03-20T16:11:26.295796623Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.866377ms grafana | logger=migrator t=2024-03-20T16:11:26.302429655Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2024-03-20T16:11:26.303192872Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=762.777µs grafana | logger=migrator t=2024-03-20T16:11:26.308636754Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-03-20T16:11:26.30935075Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=713.826µs grafana | logger=migrator t=2024-03-20T16:11:26.315451869Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-03-20T16:11:26.315489369Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=38.5µs grafana | logger=migrator t=2024-03-20T16:11:26.328817645Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-03-20T16:11:26.328888015Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=69.89µs grafana | logger=migrator t=2024-03-20T16:11:26.333256896Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-03-20T16:11:26.336601709Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.345023ms grafana | logger=migrator t=2024-03-20T16:11:26.34204365Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-03-20T16:11:26.34519293Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=3.14916ms grafana | logger=migrator t=2024-03-20T16:11:26.349335139Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-03-20T16:11:26.351215997Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.887028ms grafana | logger=migrator t=2024-03-20T16:11:26.355117284Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-03-20T16:11:26.356494856Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.377023ms grafana | logger=migrator t=2024-03-20T16:11:26.361678526Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-03-20T16:11:26.361890478Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=212.222µs grafana | logger=migrator t=2024-03-20T16:11:26.365887176Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-03-20T16:11:26.366449291Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=562.445µs grafana | logger=migrator t=2024-03-20T16:11:26.370763822Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-03-20T16:11:26.371680881Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=916.629µs grafana | logger=migrator t=2024-03-20T16:11:26.377168782Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-03-20T16:11:26.377196233Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=21.901µs grafana | logger=migrator t=2024-03-20T16:11:26.380572594Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-03-20T16:11:26.38112548Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=553.296µs grafana | logger=migrator t=2024-03-20T16:11:26.384527232Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-03-20T16:11:26.385045886Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=518.404µs grafana | logger=migrator t=2024-03-20T16:11:26.394113643Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-03-20T16:11:26.397864818Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=3.755355ms grafana | logger=migrator t=2024-03-20T16:11:26.401944176Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-03-20T16:11:26.402459541Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=514.245µs grafana | logger=migrator t=2024-03-20T16:11:26.406078165Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-03-20T16:11:26.406648131Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=571.766µs grafana | logger=migrator t=2024-03-20T16:11:26.410303855Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-03-20T16:11:26.410857861Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=553.506µs grafana | logger=migrator t=2024-03-20T16:11:26.416666066Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-03-20T16:11:26.416881288Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=215.482µs grafana | logger=migrator t=2024-03-20T16:11:26.420388771Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-03-20T16:11:26.420768125Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=383.564µs grafana | logger=migrator t=2024-03-20T16:11:26.427568289Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-03-20T16:11:26.429287545Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=1.718466ms grafana | logger=migrator t=2024-03-20T16:11:26.435938248Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-03-20T16:11:26.436531704Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=592.696µs grafana | logger=migrator t=2024-03-20T16:11:26.440269189Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-03-20T16:11:26.44039776Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=128.281µs grafana | logger=migrator t=2024-03-20T16:11:26.444368448Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-03-20T16:11:26.444495539Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=125.241µs grafana | logger=migrator t=2024-03-20T16:11:26.450175813Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-03-20T16:11:26.450790848Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=623.695µs grafana | logger=migrator t=2024-03-20T16:11:26.454458003Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-03-20T16:11:26.455980378Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=1.521755ms grafana | logger=migrator t=2024-03-20T16:11:26.493643764Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2024-03-20T16:11:26.494380351Z level=info msg="Migration successfully executed" id="create data_source table" duration=736.547µs grafana | logger=migrator t=2024-03-20T16:11:26.499995193Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-03-20T16:11:26.50059167Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=596.067µs grafana | logger=migrator t=2024-03-20T16:11:26.504358976Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-03-20T16:11:26.504962481Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=604.095µs grafana | logger=migrator t=2024-03-20T16:11:26.509178451Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-03-20T16:11:26.509737816Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=559.165µs grafana | logger=migrator t=2024-03-20T16:11:26.514668523Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-03-20T16:11:26.515204888Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=535.015µs grafana | logger=migrator t=2024-03-20T16:11:26.518869723Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-03-20T16:11:26.523150133Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=4.27918ms grafana | logger=migrator t=2024-03-20T16:11:26.527814397Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-03-20T16:11:26.528483144Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=666.937µs grafana | logger=migrator t=2024-03-20T16:11:26.53547685Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-03-20T16:11:26.536228227Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=753.907µs grafana | logger=migrator t=2024-03-20T16:11:26.539780921Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-03-20T16:11:26.540407606Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=626.175µs grafana | logger=migrator t=2024-03-20T16:11:26.545804697Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-03-20T16:11:26.546199951Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=395.344µs grafana | logger=migrator t=2024-03-20T16:11:26.551139028Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-03-20T16:11:26.552788233Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=1.649015ms grafana | logger=migrator t=2024-03-20T16:11:26.557027304Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-03-20T16:11:26.558663699Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=1.636185ms grafana | logger=migrator t=2024-03-20T16:11:26.562475555Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-03-20T16:11:26.562496115Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=21.2µs grafana | logger=migrator t=2024-03-20T16:11:26.567178419Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-03-20T16:11:26.567329801Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=148.742µs grafana | logger=migrator t=2024-03-20T16:11:26.572207647Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-03-20T16:11:26.573879583Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=1.676196ms grafana | logger=migrator t=2024-03-20T16:11:26.578993341Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-03-20T16:11:26.579143283Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=149.742µs grafana | logger=migrator t=2024-03-20T16:11:26.582313553Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-03-20T16:11:26.582428644Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=115.141µs grafana | logger=migrator t=2024-03-20T16:11:26.587555102Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-03-20T16:11:26.589213158Z level=info msg="Migration successfully executed" id="Add uid column" duration=1.657876ms grafana | logger=migrator t=2024-03-20T16:11:26.592909343Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-03-20T16:11:26.593061575Z level=info msg="Migration successfully executed" id="Update uid value" duration=152.232µs grafana | logger=migrator t=2024-03-20T16:11:26.596386266Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-03-20T16:11:26.596949441Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=563.265µs grafana | logger=migrator t=2024-03-20T16:11:26.601676936Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-03-20T16:11:26.602260992Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=583.036µs grafana | logger=migrator t=2024-03-20T16:11:26.606602913Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-03-20T16:11:26.607184798Z level=info msg="Migration successfully executed" id="create api_key table" duration=581.705µs grafana | logger=migrator t=2024-03-20T16:11:26.611532229Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-03-20T16:11:26.612159716Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=626.347µs grafana | logger=migrator t=2024-03-20T16:11:26.618006851Z level=info msg="Executing migration" id="add index api_key.key" mariadb | 2024-03-20 16:11:26+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-03-20 16:11:27+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-03-20 16:11:27+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-03-20 16:11:27+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-03-20 16:11:27 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-03-20 16:11:27 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-03-20 16:11:27 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2024-03-20 16:11:29+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-03-20 16:11:29+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-03-20 16:11:29+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-03-20 16:11:29 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 99 ... mariadb | 2024-03-20 16:11:29 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-03-20 16:11:29 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-03-20 16:11:29 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-03-20 16:11:29 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-03-20 16:11: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-03-20 16:11:29 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-03-20 16:11:29 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-03-20 16:11:29 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-03-20 16:11:29 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-03-20 16:11:29 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-03-20 16:11:29 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-03-20 16:11:29 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-03-20 16:11:29 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-03-20 16:11:29 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-03-20 16:11:29 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-03-20 16:11:29 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-03-20 16:11:29 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-03-20 16:11:29 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-03-20 16:11:30+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-03-20 16:11:31+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-03-20 16:11:31+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2024-03-20 16:11:31+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2024-03-20 16:11:31+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' grafana | logger=migrator t=2024-03-20T16:11:26.618671766Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=663.375µs mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-03-20T16:11:26.622465553Z level=info msg="Executing migration" id="add index api_key.account_id_name" policy-db-migrator | Waiting for mariadb port 3306... mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-03-20T16:11:26.623066598Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=600.515µs prometheus | ts=2024-03-20T16:11:24.867Z caller=main.go:573 level=info msg="No time or size retention was set so using the default time retention" duration=15d policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-03-20T16:11:26.626472581Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused prometheus | ts=2024-03-20T16:11:24.867Z caller=main.go:617 level=info msg="Starting Prometheus Server" mode=server version="(version=2.51.0, branch=HEAD, revision=c05c15512acb675e3f6cd662a6727854e93fc024)" mariadb | grafana | logger=migrator t=2024-03-20T16:11:26.627040106Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=568.725µs policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused prometheus | ts=2024-03-20T16:11:24.867Z caller=main.go:622 level=info build_context="(go=go1.22.1, platform=linux/amd64, user=root@b5723e458358, date=20240319-10:54:45, tags=netgo,builtinassets,stringlabels)" prometheus | ts=2024-03-20T16:11:24.867Z caller=main.go:623 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" prometheus | ts=2024-03-20T16:11:24.867Z caller=main.go:624 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2024-03-20T16:11:24.867Z caller=main.go:625 level=info vm_limits="(soft=unlimited, hard=unlimited)" policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' prometheus | ts=2024-03-20T16:11:24.870Z caller=web.go:568 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-03-20T16:11:24.870Z caller=main.go:1129 level=info msg="Starting TSDB ..." policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql prometheus | ts=2024-03-20T16:11:24.872Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-03-20T16:11:24.872Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 policy-db-migrator | Connection to mariadb (172.17.0.3) 3306 port [tcp/mysql] succeeded! mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp prometheus | ts=2024-03-20T16:11:24.877Z caller=head.go:616 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-03-20T16:11:24.877Z caller=head.go:698 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.9µs policy-db-migrator | 321 blocks mariadb | prometheus | ts=2024-03-20T16:11:24.877Z caller=head.go:706 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-03-20T16:11:24.878Z caller=head.go:778 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 policy-db-migrator | Preparing upgrade release version: 0800 mariadb | 2024-03-20 16:11:33+00:00 [Note] [Entrypoint]: Stopping temporary server prometheus | ts=2024-03-20T16:11:24.878Z caller=head.go:815 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=33.76µs wal_replay_duration=340.753µs wbl_replay_duration=190ns total_replay_duration=400.524µs prometheus | ts=2024-03-20T16:11:24.880Z caller=main.go:1150 level=info fs_type=EXT4_SUPER_MAGIC policy-db-migrator | Preparing upgrade release version: 0900 mariadb | 2024-03-20 16:11:33 0 [Note] mariadbd (initiated by: unknown): Normal shutdown prometheus | ts=2024-03-20T16:11:24.880Z caller=main.go:1153 level=info msg="TSDB started" prometheus | ts=2024-03-20T16:11:24.880Z caller=main.go:1335 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml policy-db-migrator | Preparing upgrade release version: 1000 mariadb | 2024-03-20 16:11:33 0 [Note] InnoDB: FTS optimize thread exiting. prometheus | ts=2024-03-20T16:11:24.881Z caller=main.go:1372 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=826.858µs db_storage=1.28µs remote_storage=2.22µs web_handler=620ns query_engine=900ns scrape=201.792µs scrape_sd=112.361µs notify=26.29µs notify_sd=11.471µs rules=1.74µs tracing=4.73µs prometheus | ts=2024-03-20T16:11:24.881Z caller=main.go:1114 level=info msg="Server is ready to receive web requests." policy-db-migrator | Preparing upgrade release version: 1100 mariadb | 2024-03-20 16:11:33 0 [Note] InnoDB: Starting shutdown... prometheus | ts=2024-03-20T16:11:24.881Z caller=manager.go:163 level=info component="rule manager" msg="Starting rule manager..." policy-db-migrator | Preparing upgrade release version: 1200 mariadb | 2024-03-20 16:11:33 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool grafana | logger=migrator t=2024-03-20T16:11:26.631558938Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" policy-db-migrator | Preparing upgrade release version: 1300 mariadb | 2024-03-20 16:11:33 0 [Note] InnoDB: Buffer pool(s) dump completed at 240320 16:11:33 grafana | logger=migrator t=2024-03-20T16:11:26.632125154Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=565.486µs policy-db-migrator | Done mariadb | 2024-03-20 16:11:33 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" grafana | logger=migrator t=2024-03-20T16:11:26.63591816Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" policy-db-migrator | name version mariadb | 2024-03-20 16:11:33 0 [Note] InnoDB: Shutdown completed; log sequence number 339670; transaction id 298 grafana | logger=migrator t=2024-03-20T16:11:26.636464865Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=547.855µs policy-db-migrator | policyadmin 0 mariadb | 2024-03-20 16:11:33 0 [Note] mariadbd: Shutdown complete grafana | logger=migrator t=2024-03-20T16:11:26.64232628Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 mariadb | grafana | logger=migrator t=2024-03-20T16:11:26.648260926Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=5.933066ms policy-db-migrator | upgrade: 0 -> 1300 mariadb | 2024-03-20 16:11:33+00:00 [Note] [Entrypoint]: Temporary server stopped grafana | logger=migrator t=2024-03-20T16:11:26.652512536Z level=info msg="Executing migration" id="create api_key table v2" policy-db-migrator | mariadb | grafana | logger=migrator t=2024-03-20T16:11:26.653278794Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=759.968µs policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql mariadb | 2024-03-20 16:11:33+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. grafana | logger=migrator t=2024-03-20T16:11:26.657227882Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" policy-db-migrator | -------------- mariadb | grafana | logger=migrator t=2024-03-20T16:11:26.658053229Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=823.397µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) mariadb | 2024-03-20 16:11:33 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... grafana | logger=migrator t=2024-03-20T16:11:26.665324838Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" policy-db-migrator | -------------- mariadb | 2024-03-20 16:11:33 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 grafana | logger=migrator t=2024-03-20T16:11:26.666539449Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.213461ms policy-db-migrator | mariadb | 2024-03-20 16:11:33 0 [Note] InnoDB: Number of transaction pools: 1 grafana | logger=migrator t=2024-03-20T16:11:26.670452786Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" policy-db-migrator | mariadb | 2024-03-20 16:11:33 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions grafana | logger=migrator t=2024-03-20T16:11:26.671961831Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.506425ms policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql mariadb | 2024-03-20 16:11:33 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:26.678914546Z level=info msg="Executing migration" id="copy api_key v1 to v2" mariadb | 2024-03-20 16:11:33 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) policy-db-migrator | 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) grafana | logger=migrator t=2024-03-20T16:11:26.679408982Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=494.726µs mariadb | 2024-03-20 16:11:33 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:26.686826892Z level=info msg="Executing migration" id="Drop old table api_key_v1" mariadb | 2024-03-20 16:11:33 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:26.68767126Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=845.978µs mariadb | 2024-03-20 16:11:33 0 [Note] InnoDB: Completed initialization of buffer pool policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:26.692118062Z level=info msg="Executing migration" id="Update api_key table charset" mariadb | 2024-03-20 16:11:33 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql grafana | logger=migrator t=2024-03-20T16:11:26.692163562Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=47.4µs mariadb | 2024-03-20 16:11:33 0 [Note] InnoDB: 128 rollback segments are active. policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:26.698788814Z level=info msg="Executing migration" id="Add expires to api_key table" mariadb | 2024-03-20 16:11:33 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 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) grafana | logger=migrator t=2024-03-20T16:11:26.703154566Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.367302ms mariadb | 2024-03-20 16:11:33 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:26.71097438Z level=info msg="Executing migration" id="Add service account foreign key" mariadb | 2024-03-20 16:11:33 0 [Note] InnoDB: log sequence number 339670; transaction id 299 policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:26.714617655Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=3.649335ms mariadb | 2024-03-20 16:11:33 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:26.721019034Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" mariadb | 2024-03-20 16:11:33 0 [Note] Plugin 'FEEDBACK' is disabled. policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql grafana | logger=migrator t=2024-03-20T16:11:26.721308028Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=281.804µs mariadb | 2024-03-20 16:11:33 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:26.725320785Z level=info msg="Executing migration" id="Add last_used_at to api_key table" mariadb | 2024-03-20 16:11:33 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. 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) grafana | logger=migrator t=2024-03-20T16:11:26.729202522Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=3.882787ms mariadb | 2024-03-20 16:11:33 0 [Note] Server socket created on IP: '0.0.0.0'. policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:26.73415774Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" mariadb | 2024-03-20 16:11:33 0 [Note] Server socket created on IP: '::'. policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:26.736880835Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.722635ms mariadb | 2024-03-20 16:11:33 0 [Note] mariadbd: ready for connections. policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:26.741745021Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql grafana | logger=migrator t=2024-03-20T16:11:26.742525659Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=779.898µs mariadb | 2024-03-20 16:11:33 0 [Note] InnoDB: Buffer pool(s) load completed at 240320 16:11:33 policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:26.746533407Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" mariadb | 2024-03-20 16:11:33 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) grafana | logger=migrator t=2024-03-20T16:11:26.747323944Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=795.087µs mariadb | 2024-03-20 16:11:33 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:26.751263831Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:26.752680544Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.416263ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:26.757999935Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql grafana | logger=migrator t=2024-03-20T16:11:26.758787122Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=786.867µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:26.762955661Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) grafana | logger=migrator t=2024-03-20T16:11:26.76389779Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=940.429µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:26.776443799Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:26.778190076Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.749587ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:26.782778699Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql grafana | logger=migrator t=2024-03-20T16:11:26.782894511Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=107.252µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:26.790001808Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-20T16:11:26.790035428Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=34.58µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:26.79349009Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:26.797910822Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.401682ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:26.801486846Z level=info msg="Executing migration" id="Add encrypted dashboard json column" policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:26.805268932Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=3.782696ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) grafana | logger=migrator t=2024-03-20T16:11:26.811825844Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:26.811889754Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=64.57µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:26.815550709Z level=info msg="Executing migration" id="create quota table v1" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:26.81670308Z level=info msg="Migration successfully executed" id="create quota table v1" duration=1.152181ms policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql grafana | logger=migrator t=2024-03-20T16:11:26.820481196Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:26.821739568Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.257292ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-20T16:11:26.826017228Z level=info msg="Executing migration" id="Update quota table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:26.826048598Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=29.37µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:26.836095494Z level=info msg="Executing migration" id="create plugin_setting table" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:26.83783859Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.742226ms policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql grafana | logger=migrator t=2024-03-20T16:11:26.841905789Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:26.842708256Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=802.247µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-20T16:11:26.849062006Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:26.857562857Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=8.498411ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:26.864739885Z level=info msg="Executing migration" id="Update plugin_setting table charset" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:26.864826725Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=88.1µs policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql grafana | logger=migrator t=2024-03-20T16:11:26.868517211Z level=info msg="Executing migration" id="create session table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:26.86957606Z level=info msg="Migration successfully executed" id="create session table" duration=1.058169ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-20T16:11:26.878248603Z level=info msg="Executing migration" id="Drop old table playlist table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:26.878579896Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=336.463µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:26.885941295Z level=info msg="Executing migration" id="Drop old table playlist_item table" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:26.886297428Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=356.943µs policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql grafana | logger=migrator t=2024-03-20T16:11:26.899391843Z level=info msg="Executing migration" id="create playlist table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:26.901084498Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.693496ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-20T16:11:26.906271378Z level=info msg="Executing migration" id="create playlist item table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:26.907004874Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=733.536µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:26.944120376Z level=info msg="Executing migration" id="Update playlist table charset" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:26.944161056Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=42.48µs policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql grafana | logger=migrator t=2024-03-20T16:11:26.948151654Z level=info msg="Executing migration" id="Update playlist_item table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:26.948195024Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=44.3µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-20T16:11:26.952386264Z level=info msg="Executing migration" id="Add playlist column created_at" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:26.95725636Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.873206ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:26.965579649Z level=info msg="Executing migration" id="Add playlist column updated_at" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:26.97100294Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=5.421601ms policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql grafana | logger=migrator t=2024-03-20T16:11:26.977679223Z level=info msg="Executing migration" id="drop preferences table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:26.977775354Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=96.011µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-20T16:11:26.984679939Z level=info msg="Executing migration" id="drop preferences table v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:26.98480651Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=126.901µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:26.992895507Z level=info msg="Executing migration" id="create preferences table v3" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:26.994380421Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.483914ms policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-03-20T16:11:27.002621038Z level=info msg="Executing migration" id="Update preferences table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.002650329Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=28.071µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-20T16:11:27.008589656Z level=info msg="Executing migration" id="Add column team_id in preferences" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.01648723Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=7.900733ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.02073732Z level=info msg="Executing migration" id="Update team_id column values in preferences" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.021084574Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=346.664µs policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql grafana | logger=migrator t=2024-03-20T16:11:27.027309142Z level=info msg="Executing migration" id="Add column week_start in preferences" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.033189338Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=5.880596ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-20T16:11:27.043239053Z level=info msg="Executing migration" id="Add column preferences.json_data" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.046896528Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.661735ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.055374468Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.055435288Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=59.22µs policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql grafana | logger=migrator t=2024-03-20T16:11:27.060145574Z level=info msg="Executing migration" id="Add preferences index org_id" policy-db-migrator | -------------- 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 | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.061040492Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=894.378µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.066888977Z level=info msg="Executing migration" id="Add preferences index user_id" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.067715325Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=825.708µs policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql grafana | logger=migrator t=2024-03-20T16:11:27.072960815Z level=info msg="Executing migration" id="create alert table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.074069896Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.108571ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-20T16:11:27.078156044Z level=info msg="Executing migration" id="add index alert org_id & id " policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.079030262Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=874.598µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.085573114Z level=info msg="Executing migration" id="add index alert state" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.086426822Z level=info msg="Migration successfully executed" id="add index alert state" duration=856.458µs policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql grafana | logger=migrator t=2024-03-20T16:11:27.094787451Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-03-20T16:11:27.095609619Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=822.318µs grafana | logger=migrator t=2024-03-20T16:11:27.101344003Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.102637146Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=1.292742ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-20T16:11:27.109288069Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.110146746Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=858.667µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.118287124Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.119531415Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.243621ms policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql grafana | logger=migrator t=2024-03-20T16:11:27.124965287Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.134786Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=9.822563ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-20T16:11:27.140661245Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.141394283Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=735.278µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.144791434Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.145785124Z 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=993.21µs policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-03-20T16:11:27.150403938Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.15068619Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=282.562µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-03-20T16:11:27.154441036Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.155304344Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=860.038µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.160838056Z level=info msg="Executing migration" id="create alert_notification table v1" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.162361241Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.527115ms policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql grafana | logger=migrator t=2024-03-20T16:11:27.169793211Z level=info msg="Executing migration" id="Add column is_default" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.175490975Z level=info msg="Migration successfully executed" id="Add column is_default" duration=5.693284ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-20T16:11:27.181886336Z level=info msg="Executing migration" id="Add column frequency" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.185920014Z level=info msg="Migration successfully executed" id="Add column frequency" duration=4.034388ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.19077714Z level=info msg="Executing migration" id="Add column send_reminder" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.194410404Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.633184ms policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql grafana | logger=migrator t=2024-03-20T16:11:27.199053838Z level=info msg="Executing migration" id="Add column disable_resolve_message" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.202860604Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.806566ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-20T16:11:27.210579277Z level=info msg="Executing migration" id="add index alert_notification org_id & name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.211480936Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=899.139µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.216094179Z level=info msg="Executing migration" id="Update alert table charset" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.21616895Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=76.801µs policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-03-20T16:11:27.220174258Z level=info msg="Executing migration" id="Update alert_notification table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.220199898Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=26.9µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-03-20T16:11:27.22785858Z level=info msg="Executing migration" id="create notification_journal table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.229114282Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.259252ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.236027858Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.237237289Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.209071ms policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-03-20T16:11:27.242775242Z level=info msg="Executing migration" id="drop alert_notification_journal" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.244502408Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.727656ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-20T16:11:27.250645027Z level=info msg="Executing migration" id="create alert_notification_state table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.251498564Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=853.497µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.25945414Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.261219736Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.767586ms policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql grafana | logger=migrator t=2024-03-20T16:11:27.265413126Z level=info msg="Executing migration" id="Add for to alert table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.269944799Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=4.531953ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-20T16:11:27.275749894Z level=info msg="Executing migration" id="Add column uid in alert_notification" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.27961447Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.863836ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.289185051Z level=info msg="Executing migration" id="Update uid column values in alert_notification" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.289390323Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=204.522µs policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql grafana | logger=migrator t=2024-03-20T16:11:27.295633543Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.296614971Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=981.218µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-20T16:11:27.308617075Z level=info msg="Executing migration" id="Remove unique index org_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.309498454Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=881.399µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.32285836Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.327033739Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=4.173969ms policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql grafana | logger=migrator t=2024-03-20T16:11:27.334540441Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.334627362Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=88.081µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-20T16:11:27.339754879Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.340752479Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=996.34µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.34716032Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.348194059Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.032349ms policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql grafana | logger=migrator t=2024-03-20T16:11:27.353193997Z level=info msg="Executing migration" id="Drop old annotation table v4" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.353278038Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=84.301µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-20T16:11:27.410667451Z level=info msg="Executing migration" id="create annotation table v5" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.412194225Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.528584ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.42001406Z level=info msg="Executing migration" id="add index annotation 0 v3" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.421003299Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=988.289µs policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql grafana | logger=migrator t=2024-03-20T16:11:27.427565501Z level=info msg="Executing migration" id="add index annotation 1 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.429418198Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.852017ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-20T16:11:27.441018969Z level=info msg="Executing migration" id="add index annotation 2 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.442418102Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.396853ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.452442567Z level=info msg="Executing migration" id="add index annotation 3 v3" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.453418195Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=977.928µs policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql grafana | logger=migrator t=2024-03-20T16:11:27.459589874Z level=info msg="Executing migration" id="add index annotation 4 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.460866836Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.273882ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) grafana | logger=migrator t=2024-03-20T16:11:27.465629961Z level=info msg="Executing migration" id="Update annotation table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.465677731Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=50.26µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.472351975Z level=info msg="Executing migration" id="Add column region_id to annotation table" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.476302832Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=3.950427ms policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql grafana | logger=migrator t=2024-03-20T16:11:27.48134767Z level=info msg="Executing migration" id="Drop category_id index" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.482302459Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=956.549µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-20T16:11:27.490219164Z level=info msg="Executing migration" id="Add column tags to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.494976399Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=4.756185ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.502606052Z level=info msg="Executing migration" id="Create annotation_tag table v2" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.503333228Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=726.406µs policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql grafana | logger=migrator t=2024-03-20T16:11:27.508145994Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.509288594Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.14189ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-20T16:11:27.516637254Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.518825574Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=2.19037ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.523838652Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.539512631Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=15.675428ms policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql grafana | logger=migrator t=2024-03-20T16:11:27.54372586Z level=info msg="Executing migration" id="Create annotation_tag table v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.544333896Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=602.836µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.551982069Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.552889337Z 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=906.998µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.558841744Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2024-03-20T16:11:27.559277307Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=435.583µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.566426685Z level=info msg="Executing migration" id="drop table annotation_tag_v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-03-20T16:11:27.568182302Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=1.751066ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.576953635Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.577239117Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=285.832µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.584065302Z level=info msg="Executing migration" id="Add created time to annotation table" policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2024-03-20T16:11:27.589971338Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=5.905956ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.59645542Z level=info msg="Executing migration" id="Add updated time to annotation table" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) grafana | logger=migrator t=2024-03-20T16:11:27.603217103Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=6.756173ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.608487043Z level=info msg="Executing migration" id="Add index for created in annotation table" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.609290711Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=803.318µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.617000324Z level=info msg="Executing migration" id="Add index for updated in annotation table" policy-db-migrator | > upgrade 0460-pdppolicystatus.sql grafana | logger=migrator t=2024-03-20T16:11:27.619097924Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=2.09474ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.623853859Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-03-20T16:11:27.624110101Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=255.752µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.631517502Z level=info msg="Executing migration" id="Add epoch_end column" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.638217144Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=6.701162ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.649985846Z level=info msg="Executing migration" id="Add index for epoch_end" policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2024-03-20T16:11:27.651606821Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.620535ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.659955661Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-03-20T16:11:27.660287773Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=328.642µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.669659013Z level=info msg="Executing migration" id="Move region to single row" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.670328308Z level=info msg="Migration successfully executed" id="Move region to single row" duration=669.126µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.67582978Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2024-03-20T16:11:27.677330145Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.499825ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.683719165Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) grafana | logger=migrator t=2024-03-20T16:11:27.685145629Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.425754ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.690717452Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.692203036Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.484444ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.698666117Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2024-03-20T16:11:27.700271152Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.604975ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.710424268Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2024-03-20T16:11:27.71172457Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.299442ms grafana | logger=migrator t=2024-03-20T16:11:27.720461543Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-03-20T16:11:27.721895306Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.433533ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.727271608Z level=info msg="Executing migration" id="Increase tags column to length 4096" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.727374389Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=103.751µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.735398495Z level=info msg="Executing migration" id="create test_data table" policy-db-migrator | > upgrade 0500-pdpsubgroup.sql grafana | logger=migrator t=2024-03-20T16:11:27.737127501Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.726896ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.749573169Z level=info msg="Executing migration" id="create dashboard_version table v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-03-20T16:11:27.750667499Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.1195ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.758634924Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.760447112Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.817518ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.767996403Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql grafana | logger=migrator t=2024-03-20T16:11:27.768904082Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=907.169µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.776215941Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" 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 | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.776528064Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=311.613µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.783053446Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.783634101Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=581.005µs policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql grafana | logger=migrator t=2024-03-20T16:11:27.790294924Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.790400545Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=106.271µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) grafana | logger=migrator t=2024-03-20T16:11:27.802884883Z level=info msg="Executing migration" id="create team table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.804132295Z level=info msg="Migration successfully executed" id="create team table" duration=1.243862ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.811469204Z level=info msg="Executing migration" id="add index team.org_id" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.813033939Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.563905ms policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql grafana | logger=migrator t=2024-03-20T16:11:27.82369811Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.825355076Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.656576ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-03-20T16:11:27.869081539Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.873941766Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.860617ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.877871843Z level=info msg="Executing migration" id="Update uid column values in team" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.878048895Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=176.942µs policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql grafana | logger=migrator t=2024-03-20T16:11:27.883057552Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.883953901Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=895.739µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) grafana | logger=migrator t=2024-03-20T16:11:27.892599142Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.893790544Z level=info msg="Migration successfully executed" id="create team member table" duration=1.191412ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.905985949Z level=info msg="Executing migration" id="add index team_member.org_id" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.907210161Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.222542ms policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql grafana | logger=migrator t=2024-03-20T16:11:27.911166338Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.912814474Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.648346ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) grafana | logger=migrator t=2024-03-20T16:11:27.917852811Z level=info msg="Executing migration" id="add index team_member.team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.918802491Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=949.85µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.926102839Z level=info msg="Executing migration" id="Add column email to team table" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.932575491Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=6.472202ms policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql grafana | logger=migrator t=2024-03-20T16:11:27.936982603Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.941475685Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.492772ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-03-20T16:11:27.947699933Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.953384718Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=5.687325ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.963594255Z level=info msg="Executing migration" id="create dashboard acl table" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:27.96527411Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.682405ms policy-db-migrator | > upgrade 0570-toscadatatype.sql grafana | logger=migrator t=2024-03-20T16:11:27.973875262Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.975887541Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=2.013129ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) grafana | logger=migrator t=2024-03-20T16:11:27.983384242Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:27.984547503Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.164131ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.002074268Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.003001717Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=926.759µs policy-db-migrator | > upgrade 0580-toscadatatypes.sql grafana | logger=migrator t=2024-03-20T16:11:28.017682256Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.01910907Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.426984ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) grafana | logger=migrator t=2024-03-20T16:11:28.029507719Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.031383196Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.878958ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.039047619Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.039929467Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=881.998µs policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql grafana | logger=migrator t=2024-03-20T16:11:28.047988443Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.048946903Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=957.73µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-03-20T16:11:28.056262992Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.057165071Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=908.099µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.065242306Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.065791402Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=550.096µs policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=migrator t=2024-03-20T16:11:28.069627799Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.070958571Z level=info msg="Migration successfully executed" id="create tag table" duration=1.330062ms 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 | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.075298782Z level=info msg="Executing migration" id="add index tag.key_value" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.07622402Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=923.708µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.083245537Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | > upgrade 0610-toscanodetemplates.sql grafana | logger=migrator t=2024-03-20T16:11:28.084680291Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.433303ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.091431745Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) grafana | logger=migrator t=2024-03-20T16:11:28.092939899Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.511394ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.099525822Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.10039968Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=874.018µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.107161963Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql grafana | logger=migrator t=2024-03-20T16:11:28.12464301Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=17.480247ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.129057151Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-03-20T16:11:28.129657096Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=598.725µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.136267549Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.137780854Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.515674ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.142081984Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" policy-db-migrator | > upgrade 0630-toscanodetype.sql grafana | logger=migrator t=2024-03-20T16:11:28.142419078Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=336.734µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.148738167Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) grafana | logger=migrator t=2024-03-20T16:11:28.149598826Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=857.329µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.15636078Z level=info msg="Executing migration" id="create user auth table" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.157992435Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.635016ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.164040502Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" policy-db-migrator | > upgrade 0640-toscanodetypes.sql grafana | logger=migrator t=2024-03-20T16:11:28.164980022Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=939.57µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.170335522Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) grafana | logger=migrator t=2024-03-20T16:11:28.170799797Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=464.895µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.175560331Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.183779859Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=8.218208ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.189977099Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2024-03-20T16:11:28.194883544Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=4.902255ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.21551095Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-03-20T16:11:28.221091103Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.578913ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.224741597Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.229816225Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.076778ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.234939694Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" policy-db-migrator | > upgrade 0660-toscaparameter.sql grafana | logger=migrator t=2024-03-20T16:11:28.235959863Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.019879ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.241163593Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" grafana | logger=migrator t=2024-03-20T16:11:28.246362422Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.198379ms grafana | logger=migrator t=2024-03-20T16:11:28.249947416Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-03-20T16:11:28.250737674Z level=info msg="Migration successfully executed" id="create server_lock table" duration=789.958µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.257581519Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.258485057Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=903.228µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.261890959Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2024-03-20T16:11:28.262867299Z level=info msg="Migration successfully executed" id="create user auth token table" duration=974.29µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.267462472Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" 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-03-20T16:11:28.268927396Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.464984ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.275979303Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.276901502Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=922.069µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.281016121Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2024-03-20T16:11:28.282631216Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.613145ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.33797164Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-03-20T16:11:28.346676432Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=8.704602ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.351314086Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.352016152Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=702.306µs policy-db-migrator | policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2024-03-20T16:11:28.357259342Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.359051649Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.787557ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) grafana | logger=migrator t=2024-03-20T16:11:28.363625093Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.364654412Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.027109ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.371573878Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.372550637Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=975.419µs policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2024-03-20T16:11:28.37912262Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.380749655Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.634775ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) grafana | logger=migrator t=2024-03-20T16:11:28.387259196Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.387346587Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=88.071µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.393935449Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.394067191Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=132.652µs policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2024-03-20T16:11:28.399649193Z level=info msg="Executing migration" id="recreate alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.401163688Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.514345ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) grafana | logger=migrator t=2024-03-20T16:11:28.406049464Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.40765891Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.609066ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.413902678Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.415213471Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.310193ms policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2024-03-20T16:11:28.422917234Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.423113596Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=199.582µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-03-20T16:11:28.430601316Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.431663097Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.062441ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.438408211Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.440216518Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.807777ms policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2024-03-20T16:11:28.447863321Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.44994053Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=2.077099ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-03-20T16:11:28.455771755Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.457609833Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.837488ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.463354077Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.469114052Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.761375ms policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2024-03-20T16:11:28.475495801Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.476496671Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.00103ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) grafana | logger=migrator t=2024-03-20T16:11:28.483859041Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.484085754Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=230.943µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.493011908Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.494000938Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=988.689µs policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2024-03-20T16:11:28.497942554Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.499277007Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.332563ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) grafana | logger=migrator t=2024-03-20T16:11:28.505185794Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.506845879Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.659835ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.513839396Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.513918176Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=78.67µs policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2024-03-20T16:11:28.519281547Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.520244855Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=963.388µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-03-20T16:11:28.528528744Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.530381562Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.850338ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.536660361Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.537687411Z 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.02627ms policy-db-migrator | > upgrade 0770-toscarequirement.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.543823269Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) grafana | logger=migrator t=2024-03-20T16:11:28.54599015Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=2.166481ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.55446864Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.560353726Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=5.884436ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.568013969Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2024-03-20T16:11:28.568969247Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=955.568µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.574754952Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) grafana | logger=migrator t=2024-03-20T16:11:28.575689721Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=933.379µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.583599516Z 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-03-20T16:11:28.614473499Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=30.875792ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.620184613Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2024-03-20T16:11:28.64528742Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=25.102598ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.648868974Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-03-20T16:11:28.649648152Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=778.837µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.655695368Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.657307914Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.613116ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.663005067Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2024-03-20T16:11:28.672689579Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=9.685412ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.677486655Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) grafana | logger=migrator t=2024-03-20T16:11:28.681827166Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=4.340721ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.689926043Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.69170767Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.781887ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.69697478Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2024-03-20T16:11:28.698072879Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.098679ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.704360629Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-03-20T16:11:28.706133046Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.771917ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.711771379Z 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-03-20T16:11:28.713301954Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.533915ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.719882017Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" grafana | logger=migrator t=2024-03-20T16:11:28.719952037Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=70.661µs grafana | logger=migrator t=2024-03-20T16:11:28.725644001Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2024-03-20T16:11:28.737459313Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=11.807932ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.741186838Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-03-20T16:11:28.747589429Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=6.403001ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.753472885Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.759455191Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.980926ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.777046738Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-03-20T16:11:28.778621223Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.573995ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.783488898Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2024-03-20T16:11:28.785385277Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.895599ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.79206246Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.799708432Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=7.646632ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.805625628Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-03-20T16:11:28.811926618Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.30027ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.817491691Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-03-20T16:11:28.81856062Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.068969ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.823501548Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.833284331Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=9.784372ms policy-db-migrator | policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.840329457Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-03-20T16:11:28.850962628Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=10.630831ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.857133436Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.857185427Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=52.08µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.862007322Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-03-20T16:11:28.863989581Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.982929ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.869626115Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2024-03-20T16:11:28.870732095Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" duration=1.10534ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.876675231Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.878866373Z 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=2.184752ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.895542989Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-03-20T16:11:28.895675712Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=131.453µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.9009072Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2024-03-20T16:11:28.907241471Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.334501ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.910420731Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.916621579Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.200288ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.919947641Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-03-20T16:11:28.926268411Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.318079ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.929408381Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2024-03-20T16:11:28.935541569Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.129078ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.940717598Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.946765645Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.047597ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.949837304Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-03-20T16:11:28.949903955Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=66.721µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.952977363Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2024-03-20T16:11:28.953795841Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=818.118µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.958938161Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.968672053Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=9.734422ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.972098295Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-03-20T16:11:28.972165105Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=66.17µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.975582188Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2024-03-20T16:11:28.985003737Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=9.419839ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:28.990009785Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.990720981Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=711.136µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:28.993500217Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-03-20T16:11:28.998731707Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=5.23079ms grafana | logger=migrator t=2024-03-20T16:11:29.001890027Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.002684955Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=794.228µs policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2024-03-20T16:11:29.005761314Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.006745223Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=983.389µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.011084074Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.017292783Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.207219ms policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-03-20T16:11:29.020900807Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.021674035Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=772.918µs policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2024-03-20T16:11:29.025259448Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.026279088Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.01923ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.031221035Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.032513937Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.292082ms 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-03-20T16:11:29.036464415Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.037997739Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.535795ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.042148848Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.042216489Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=67.061µs policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-03-20T16:11:29.047939123Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.049482127Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.539344ms policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2024-03-20T16:11:29.053322674Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.054848149Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.525235ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.058215341Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.058597164Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-03-20T16:11:29.063083907Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.06348225Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=398.093µs policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-03-20T16:11:29.066901173Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.068470168Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.567885ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.072341225Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.078932877Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.592222ms policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-03-20T16:11:29.084029735Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.085159506Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.148551ms policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-03-20T16:11:29.088597028Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.089758379Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.160301ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.093088102Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.09402042Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=931.388µs policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-03-20T16:11:29.106295166Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.108172594Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.876318ms policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-03-20T16:11:29.119494711Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.121375399Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.879918ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.133341582Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.133382903Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=43.671µs policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-03-20T16:11:29.146456337Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.146570038Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=111.461µs policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-03-20T16:11:29.1594508Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.160146536Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=694.206µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.173021209Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.174721965Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.697236ms policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-03-20T16:11:29.184890991Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.18583172Z level=info msg="Migration successfully executed" id="create secrets table" duration=940.529µs policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-03-20T16:11:29.195672993Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.22808045Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=32.406577ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.240479628Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.25018774Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=9.705872ms policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-03-20T16:11:29.254143448Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.254273979Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=130.001µ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-03-20T16:11:29.259197275Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.288406362Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=29.207497ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.291672793Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.321655637Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=29.982474ms policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-03-20T16:11:29.401565434Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.403133619Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=1.567895ms 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-03-20T16:11:29.411156795Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.412392767Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.235362ms policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-03-20T16:11:29.423545293Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.423759045Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=214.272µs 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-03-20T16:11:29.427854164Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.429460639Z level=info msg="Migration successfully executed" id="create permission table" duration=1.598225ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.435870959Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.437528445Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.657486ms policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-03-20T16:11:29.441691135Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.443440341Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.748676ms 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-03-20T16:11:29.448831882Z level=info msg="Executing migration" id="create role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.450338057Z level=info msg="Migration successfully executed" id="create role table" duration=1.505344ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.454709348Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.463753193Z level=info msg="Migration successfully executed" id="add column display_name" duration=9.043385ms policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-03-20T16:11:29.470123644Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.480170719Z level=info msg="Migration successfully executed" id="add column group_name" duration=10.048065ms 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-03-20T16:11:29.484584761Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.485622531Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.03763ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.488965762Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.490108723Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.142591ms grafana | logger=migrator t=2024-03-20T16:11:29.495496074Z level=info msg="Executing migration" id="add index role_org_id_uid" grafana | logger=migrator t=2024-03-20T16:11:29.496658075Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.161471ms policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-03-20T16:11:29.500470431Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.50139713Z level=info msg="Migration successfully executed" id="create team role table" duration=925.889µs policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-03-20T16:11:29.505554369Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.507367106Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.812447ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.513276353Z 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-03-20T16:11:29.51515017Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.873417ms policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-03-20T16:11:29.518826656Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.520604102Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.775396ms policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-03-20T16:11:29.526791191Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.527670659Z level=info msg="Migration successfully executed" id="create user role table" duration=878.948µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.532745648Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.533937478Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.19147ms policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-03-20T16:11:29.537537643Z 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-03-20T16:11:29.538646693Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.108871ms policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-03-20T16:11:29.542147206Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.543265507Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.117961ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.54885758Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.549807569Z level=info msg="Migration successfully executed" id="create builtin role table" duration=949.189µs policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-03-20T16:11:29.554472373Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.555618574Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.145511ms policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-03-20T16:11:29.558805144Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.559917365Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.110881ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.564649919Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.572565315Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.915676ms policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2024-03-20T16:11:29.575890286Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.576687274Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=796.778µs 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-03-20T16:11:29.579687562Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.58052239Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=834.548µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.585351485Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.586429846Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.078261ms policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-03-20T16:11:29.5900549Z level=info msg="Executing migration" id="add unique index role.uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.591167971Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.112851ms 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-03-20T16:11:29.595581342Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.596432531Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=851.449µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.601379648Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2024-03-20T16:11:29.603315536Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.935618ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.606785838Z level=info msg="Executing migration" id="add column hidden to role table" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.617316179Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=10.531381ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.620486118Z level=info msg="Executing migration" id="permission kind migration" policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-03-20T16:11:29.628578605Z level=info msg="Migration successfully executed" id="permission kind migration" duration=8.091877ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.63334863Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-03-20T16:11:29.641228775Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=7.881615ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.644766859Z level=info msg="Executing migration" id="permission identifier migration" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.650394622Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=5.627153ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.653754874Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-03-20T16:11:29.654879284Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.12417ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.694493949Z level=info msg="Executing migration" id="add permission action scope role_id index" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-03-20T16:11:29.696401657Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=1.907068ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.700145103Z level=info msg="Executing migration" id="remove permission role_id action scope index" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.701173883Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.02884ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.705186111Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-03-20T16:11:29.7061715Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=984.768µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.710997876Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-03-20T16:11:29.713030965Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=2.032529ms policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-03-20T16:11:29.717925761Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-03-20T16:11:29.718155173Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=228.482µs policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-03-20T16:11:29.722246952Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.722291763Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=45.851µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.728108918Z level=info msg="Executing migration" id="teams permissions migration" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.728678703Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=569.525µs policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-03-20T16:11:29.732298777Z level=info msg="Executing migration" id="dashboard permissions" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.733361238Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.064481ms policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2024-03-20T16:11:29.737388886Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.738576877Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.187241ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.74308895Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.743735686Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=643.105µs policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-03-20T16:11:29.749142247Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.750066136Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=923.549µs 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-03-20T16:11:29.753545699Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.755036783Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.490784ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.758873899Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.760131141Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.257092ms policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2024-03-20T16:11:29.76418536Z level=info msg="Executing migration" id="add column org_id in query_history_star" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.773120224Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.934154ms policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2024-03-20T16:11:29.779382284Z 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-03-20T16:11:29.779438634Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=56.4µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.781727715Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.782615454Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=887.679µs policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-03-20T16:11:29.785829364Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.788413629Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=2.584175ms 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-03-20T16:11:29.79376015Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.794910401Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.150431ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.799336603Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.807813213Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.47573ms policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-03-20T16:11:29.835639347Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" policy-db-migrator | -------------- policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.836749577Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.11023ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.84120905Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.84226777Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.05855ms policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-03-20T16:11:29.845970904Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.86756955Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=21.598716ms 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-03-20T16:11:29.876401793Z level=info msg="Executing migration" id="create correlation v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.877605774Z level=info msg="Migration successfully executed" id="create correlation v2" duration=1.203181ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.881074437Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.883336339Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=2.261172ms policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-03-20T16:11:29.887803951Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.888991372Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.187531ms 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-03-20T16:11:29.893841488Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.894946468Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.10446ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.899240009Z level=info msg="Executing migration" id="copy correlation v1 to v2" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.899647064Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=406.985µs policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2024-03-20T16:11:29.90356582Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.904468609Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=902.229µs policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-03-20T16:11:29.909199333Z level=info msg="Executing migration" id="add provisioning column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.918639333Z level=info msg="Migration successfully executed" id="add provisioning column" duration=9.44078ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.92249295Z level=info msg="Executing migration" id="create entity_events table" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.923152996Z level=info msg="Migration successfully executed" id="create entity_events table" duration=659.726µs policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-03-20T16:11:29.926450667Z level=info msg="Executing migration" id="create dashboard public config v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.927254694Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=802.857µs policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-03-20T16:11:29.932277312Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.933159421Z 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-03-20T16:11:29.937160978Z 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-03-20T16:11:29.938077037Z 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 | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-03-20T16:11:29.942148636Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.942988424Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=839.258µs policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-03-20T16:11:29.947594238Z level=info msg="Executing migration" id="recreate dashboard public config v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.948787779Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.187831ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.952536044Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.954458763Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.922509ms policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-03-20T16:11:29.958156047Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.959405439Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.248852ms policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-03-20T16:11:29.963821451Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.965302205Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.479634ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.969137492Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.970939839Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.802317ms policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2024-03-20T16:11:29.975758534Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2024-03-20T16:11:29.976618423Z level=info msg="Migration successfully executed" id="Drop public config table" duration=856.759µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.980333638Z level=info msg="Executing migration" id="Recreate dashboard public config v2" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.981539199Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.205081ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.985041153Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2024-03-20T16:11:29.986235313Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.19413ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:29.990786247Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.992438543Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.650366ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:29.997342759Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2024-03-20T16:11:29.999235137Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.892639ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:30.004191274Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:30.027561525Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=23.370391ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:30.032058608Z level=info msg="Executing migration" id="add annotations_enabled column" policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2024-03-20T16:11:30.040512378Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=8.45323ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:30.044764098Z level=info msg="Executing migration" id="add time_selection_enabled column" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:30.053069697Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.295869ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:30.056822903Z level=info msg="Executing migration" id="delete orphaned public dashboards" policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2024-03-20T16:11:30.057122316Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=299.293µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:30.061725589Z level=info msg="Executing migration" id="add share column" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-03-20T16:11:30.070008278Z level=info msg="Migration successfully executed" id="add share column" duration=8.282229ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:30.073516221Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:30.073771973Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=255.712µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:30.07760439Z level=info msg="Executing migration" id="create file table" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=migrator t=2024-03-20T16:11:30.078625489Z level=info msg="Migration successfully executed" id="create file table" duration=1.020729ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:30.084527616Z level=info msg="Executing migration" id="file table idx: path natural pk" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:30.086300072Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.772286ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:30.090575933Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-03-20T16:11:30.091681763Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.1059ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:30.095377528Z level=info msg="Executing migration" id="create file_meta table" policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=migrator t=2024-03-20T16:11:30.096342817Z level=info msg="Migration successfully executed" id="create file_meta table" duration=964.919µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:30.100953101Z level=info msg="Executing migration" id="file table idx: path key" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:30.102208883Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.255792ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:30.105940119Z level=info msg="Executing migration" id="set path collation in file table" policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=migrator t=2024-03-20T16:11:30.10614411Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=203.701µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:30.121018612Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2024-03-20T16:11:30.121331665Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=313.793µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:30.125927498Z level=info msg="Executing migration" id="managed permissions migration" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:30.126948798Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=1.02122ms policy-db-migrator | msg grafana | logger=migrator t=2024-03-20T16:11:30.132132577Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2024-03-20T16:11:30.132647852Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=514.585µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:30.136375847Z level=info msg="Executing migration" id="RBAC action name migrator" policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2024-03-20T16:11:30.13774066Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.364283ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:30.141233243Z level=info msg="Executing migration" id="Add UID column to playlist" policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2024-03-20T16:11:30.149998806Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.765213ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:30.15353519Z level=info msg="Executing migration" id="Update uid column values in playlist" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:30.153825212Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=289.652µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:30.157843681Z level=info msg="Executing migration" id="Add index for uid in playlist" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-03-20T16:11:30.159133033Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.288932ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:30.162604575Z level=info msg="Executing migration" id="update group index for alert rules" policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-03-20T16:11:30.163422133Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=818.828µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:30.16728792Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:30.167809415Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=521.835µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:30.172763852Z level=info msg="Executing migration" id="admin only folder/dashboard permission" policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-03-20T16:11:30.173343758Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=579.415µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:30.17677479Z level=info msg="Executing migration" id="add action column to seed_assignment" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:30.185688864Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=8.913324ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:30.189223518Z level=info msg="Executing migration" id="add scope column to seed_assignment" policy-db-migrator | > upgrade 0120-audit_sequence.sql grafana | logger=migrator t=2024-03-20T16:11:30.198094432Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.870374ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:30.201491004Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" 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-03-20T16:11:30.202336472Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=843.758µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:30.206739574Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:30.280312241Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=73.568647ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:30.283422651Z level=info msg="Executing migration" id="add unique index builtin_role_name back" policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:30.284309009Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=888.478µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:30.288996894Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" policy-db-migrator | > upgrade 0130-statistics_sequence.sql grafana | logger=migrator t=2024-03-20T16:11:30.290293456Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.296072ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:30.293932061Z level=info msg="Executing migration" id="add primary key to seed_assigment" 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-03-20T16:11:30.32019708Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=26.236109ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:30.324318759Z level=info msg="Executing migration" id="add origin column to seed_assignment" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:30.333044671Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=8.724872ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:30.33817656Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2024-03-20T16:11:30.338485303Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=308.543µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:30.341958036Z level=info msg="Executing migration" id="prevent seeding OnCall access" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:30.342172838Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=214.552µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:30.345731372Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" policy-db-migrator | TRUNCATE TABLE sequence grafana | logger=migrator t=2024-03-20T16:11:30.346226597Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=495.525µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:30.350189404Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:30.350681419Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=491.426µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:30.355585815Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" policy-db-migrator | > upgrade 0100-pdpstatistics.sql grafana | logger=migrator t=2024-03-20T16:11:30.35609613Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=509.905µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:30.359820745Z level=info msg="Executing migration" id="create folder table" policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-03-20T16:11:30.360801865Z level=info msg="Migration successfully executed" id="create folder table" duration=980.48µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:30.366109695Z level=info msg="Executing migration" id="Add index for parent_uid" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:30.367425128Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.312813ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:30.373621626Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" policy-db-migrator | DROP TABLE pdpstatistics grafana | logger=migrator t=2024-03-20T16:11:30.374871288Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.251692ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:30.378808536Z level=info msg="Executing migration" id="Update folder title length" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:30.378996347Z level=info msg="Migration successfully executed" id="Update folder title length" duration=186.871µs policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:30.383285728Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-03-20T16:11:30.385393438Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=2.163421ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:30.39093692Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats grafana | logger=migrator t=2024-03-20T16:11:30.392748328Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.812438ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:30.396432142Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:30.397665294Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.232912ms policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:30.401400289Z level=info msg="Executing migration" id="Sync dashboard and folder table" policy-db-migrator | > upgrade 0120-statistics_sequence.sql grafana | logger=migrator t=2024-03-20T16:11:30.401950134Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=549.515µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:30.406873162Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" policy-db-migrator | DROP TABLE statistics_sequence grafana | logger=migrator t=2024-03-20T16:11:30.407200504Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=327.842µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-20T16:11:30.41091183Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" policy-db-migrator | grafana | logger=migrator t=2024-03-20T16:11:30.412815228Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.903388ms policy-db-migrator | policyadmin: OK: upgrade (1300) grafana | logger=migrator t=2024-03-20T16:11:30.417127088Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" policy-db-migrator | name version grafana | logger=migrator t=2024-03-20T16:11:30.419235709Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=2.107971ms policy-db-migrator | policyadmin 1300 grafana | logger=migrator t=2024-03-20T16:11:30.424048544Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" policy-db-migrator | ID script operation from_version to_version tag success atTime grafana | logger=migrator t=2024-03-20T16:11:30.425149635Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.102641ms policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:34 grafana | logger=migrator t=2024-03-20T16:11:30.428766099Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:34 grafana | logger=migrator t=2024-03-20T16:11:30.430928749Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=2.16183ms policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:34 grafana | logger=migrator t=2024-03-20T16:11:30.435392652Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:34 grafana | logger=migrator t=2024-03-20T16:11:30.436987907Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.596695ms policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:34 grafana | logger=migrator t=2024-03-20T16:11:30.441941924Z level=info msg="Executing migration" id="create anon_device table" policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:34 grafana | logger=migrator t=2024-03-20T16:11:30.442973284Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.02952ms policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:34 grafana | logger=migrator t=2024-03-20T16:11:30.44690679Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-03-20T16:11:30.448214483Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.307343ms policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:34 grafana | logger=migrator t=2024-03-20T16:11:30.453289921Z level=info msg="Executing migration" id="add index anon_device.updated_at" policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:34 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:34 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:34 grafana | logger=migrator t=2024-03-20T16:11:30.45527464Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.983159ms policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:34 grafana | logger=migrator t=2024-03-20T16:11:30.459455329Z level=info msg="Executing migration" id="create signing_key table" policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:34 grafana | logger=migrator t=2024-03-20T16:11:30.461202377Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.746528ms policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:34 grafana | logger=migrator t=2024-03-20T16:11:30.465280926Z level=info msg="Executing migration" id="add unique index signing_key.key_id" policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:34 grafana | logger=migrator t=2024-03-20T16:11:30.466451716Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.17082ms policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:34 grafana | logger=migrator t=2024-03-20T16:11:30.471133431Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:34 grafana | logger=migrator t=2024-03-20T16:11:30.472816837Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.681806ms policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 grafana | logger=migrator t=2024-03-20T16:11:30.47735938Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 grafana | logger=migrator t=2024-03-20T16:11:30.477976736Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=621.646µs policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 grafana | logger=migrator t=2024-03-20T16:11:30.482306227Z level=info msg="Executing migration" id="Add folder_uid for dashboard" policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 grafana | logger=migrator t=2024-03-20T16:11:30.491713485Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=9.406088ms policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 grafana | logger=migrator t=2024-03-20T16:11:30.497903894Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 grafana | logger=migrator t=2024-03-20T16:11:30.498710542Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=807.518µs policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 grafana | logger=migrator t=2024-03-20T16:11:30.502273136Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 grafana | logger=migrator t=2024-03-20T16:11:30.504365576Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=2.08849ms policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 grafana | logger=migrator t=2024-03-20T16:11:30.508232602Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 grafana | logger=migrator t=2024-03-20T16:11:30.510189341Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.958849ms policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 grafana | logger=migrator t=2024-03-20T16:11:30.515031977Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 grafana | logger=migrator t=2024-03-20T16:11:30.516213668Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=1.181531ms policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 grafana | logger=migrator t=2024-03-20T16:11:30.519604Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 grafana | logger=migrator t=2024-03-20T16:11:30.521171265Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=1.565965ms policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 grafana | logger=migrator t=2024-03-20T16:11:30.525387145Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 grafana | logger=migrator t=2024-03-20T16:11:30.527480505Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=2.09304ms policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 grafana | logger=migrator t=2024-03-20T16:11:30.532595674Z level=info msg="Executing migration" id="create sso_setting table" policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 grafana | logger=migrator t=2024-03-20T16:11:30.533696153Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.100259ms policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 grafana | logger=migrator t=2024-03-20T16:11:30.537386989Z level=info msg="Executing migration" id="copy kvstore migration status to each org" policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 grafana | logger=migrator t=2024-03-20T16:11:30.538725912Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=1.338413ms policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 grafana | logger=migrator t=2024-03-20T16:11:30.542595168Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 grafana | logger=migrator t=2024-03-20T16:11:30.543217454Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=623.776µs grafana | logger=migrator t=2024-03-20T16:11:30.547883979Z level=info msg="Executing migration" id="alter kv_store.value to longtext" grafana | logger=migrator t=2024-03-20T16:11:30.54804966Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=166.021µs policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 grafana | logger=migrator t=2024-03-20T16:11:30.551663784Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 grafana | logger=migrator t=2024-03-20T16:11:30.5607329Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=9.068536ms policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 grafana | logger=migrator t=2024-03-20T16:11:30.575793133Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:35 grafana | logger=migrator t=2024-03-20T16:11:30.588598675Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=12.806412ms policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 grafana | logger=migrator t=2024-03-20T16:11:30.593761343Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 grafana | logger=migrator t=2024-03-20T16:11:30.594141647Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=379.704µs policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 grafana | logger=migrator t=2024-03-20T16:11:30.598015323Z level=info msg="migrations completed" performed=547 skipped=0 duration=4.810499807s policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 grafana | logger=sqlstore t=2024-03-20T16:11:30.607444893Z level=info msg="Created default admin" user=admin policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 grafana | logger=sqlstore t=2024-03-20T16:11:30.607812576Z level=info msg="Created default organization" policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 grafana | logger=secrets t=2024-03-20T16:11:30.613082256Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 grafana | logger=plugin.store t=2024-03-20T16:11:30.64618751Z level=info msg="Loading plugins..." policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 grafana | logger=local.finder t=2024-03-20T16:11:30.684166321Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 grafana | logger=plugin.store t=2024-03-20T16:11:30.684239681Z level=info msg="Plugins loaded" count=55 duration=38.053661ms policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 grafana | logger=query_data t=2024-03-20T16:11:30.686689305Z level=info msg="Query Service initialization" policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 grafana | logger=live.push_http t=2024-03-20T16:11:30.689797834Z level=info msg="Live Push Gateway initialization" policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 grafana | logger=ngalert.migration t=2024-03-20T16:11:30.694781252Z level=info msg=Starting policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 grafana | logger=ngalert.migration t=2024-03-20T16:11:30.695151175Z level=info msg="Applying transition" currentType=Legacy desiredType=UnifiedAlerting cleanOnDowngrade=false cleanOnUpgrade=false policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 grafana | logger=ngalert.migration orgID=1 t=2024-03-20T16:11:30.695549068Z level=info msg="Migrating alerts for organisation" policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 grafana | logger=ngalert.migration orgID=1 t=2024-03-20T16:11:30.696174074Z level=info msg="Alerts found to migrate" alerts=0 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 grafana | logger=ngalert.migration t=2024-03-20T16:11:30.698147343Z level=info msg="Completed alerting migration" policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 grafana | logger=ngalert.state.manager t=2024-03-20T16:11:30.727228809Z level=info msg="Running in alternative execution of Error/NoData mode" policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:36 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:37 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:38 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:38 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:38 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:38 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:38 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:38 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2003241611340800u 1 2024-03-20 16:11:38 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2003241611340900u 1 2024-03-20 16:11:38 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2003241611340900u 1 2024-03-20 16:11:38 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2003241611340900u 1 2024-03-20 16:11:38 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2003241611340900u 1 2024-03-20 16:11:38 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2003241611340900u 1 2024-03-20 16:11:38 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2003241611340900u 1 2024-03-20 16:11:38 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2003241611340900u 1 2024-03-20 16:11:38 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2003241611340900u 1 2024-03-20 16:11:38 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2003241611340900u 1 2024-03-20 16:11:38 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2003241611340900u 1 2024-03-20 16:11:39 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2003241611340900u 1 2024-03-20 16:11:39 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2003241611340900u 1 2024-03-20 16:11:39 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2003241611340900u 1 2024-03-20 16:11:39 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2003241611341000u 1 2024-03-20 16:11:39 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2003241611341000u 1 2024-03-20 16:11:39 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2003241611341000u 1 2024-03-20 16:11:39 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2003241611341000u 1 2024-03-20 16:11:39 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2003241611341000u 1 2024-03-20 16:11:39 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2003241611341000u 1 2024-03-20 16:11:39 grafana | logger=infra.usagestats.collector t=2024-03-20T16:11:30.728959915Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-03-20T16:11:30.730760662Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-03-20T16:11:30.743856617Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-03-20T16:11:30.743906517Z level=info msg="finished to provision alerting" grafana | logger=provisioning.dashboard t=2024-03-20T16:11:30.74642157Z level=info msg="starting to provision dashboards" grafana | logger=grafanaStorageLogger t=2024-03-20T16:11:30.746807415Z level=info msg="Storage starting" grafana | logger=http.server t=2024-03-20T16:11:30.747124567Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=ngalert.state.manager t=2024-03-20T16:11:30.747280689Z level=info msg="Warming state cache for startup" grafana | logger=ngalert.multiorg.alertmanager t=2024-03-20T16:11:30.750384068Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=sqlstore.transactions t=2024-03-20T16:11:30.820968228Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=plugins.update.checker t=2024-03-20T16:11:30.848428058Z level=info msg="Update check succeeded" duration=102.879594ms grafana | logger=sqlstore.transactions t=2024-03-20T16:11:30.853220083Z 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-03-20T16:11:30.858815547Z level=info msg="Update check succeeded" duration=114.098393ms grafana | logger=ngalert.state.manager t=2024-03-20T16:11:30.862284859Z level=info msg="State cache has been initialized" states=0 duration=115.00166ms grafana | logger=ngalert.scheduler t=2024-03-20T16:11:30.86243541Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 grafana | logger=ticker t=2024-03-20T16:11:30.862697912Z level=info msg=starting first_tick=2024-03-20T16:11:40Z grafana | logger=sqlstore.transactions t=2024-03-20T16:11:30.863795793Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" grafana | logger=grafana-apiserver t=2024-03-20T16:11:31.094110017Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" grafana | logger=grafana-apiserver t=2024-03-20T16:11:31.094632312Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" grafana | logger=provisioning.dashboard t=2024-03-20T16:11:31.101029993Z level=info msg="finished to provision dashboards" policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2003241611341000u 1 2024-03-20 16:11:39 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2003241611341000u 1 2024-03-20 16:11:39 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2003241611341000u 1 2024-03-20 16:11:39 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2003241611341100u 1 2024-03-20 16:11:39 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2003241611341200u 1 2024-03-20 16:11:39 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2003241611341200u 1 2024-03-20 16:11:39 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2003241611341200u 1 2024-03-20 16:11:39 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2003241611341200u 1 2024-03-20 16:11:39 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 2003241611341300u 1 2024-03-20 16:11:39 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 2003241611341300u 1 2024-03-20 16:11:40 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 2003241611341300u 1 2024-03-20 16:11:40 policy-db-migrator | policyadmin: OK @ 1300 ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping prometheus ... Stopping mariadb ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing prometheus ... Removing mariadb ... Removing policy-db-migrator ... done Removing policy-api ... done Removing prometheus ... done Removing grafana ... done Removing mariadb ... done Removing network compose_default ++ cd /w/workspace/policy-api-master-project-csit-verify-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.15rvSbGlht ]] + rsync -av /tmp/tmp.15rvSbGlht/ /w/workspace/policy-api-master-project-csit-verify-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,356,838 bytes received 95 bytes 2,713,866.00 bytes/sec total size is 1,356,188 speedup is 1.00 + rm -rf /w/workspace/policy-api-master-project-csit-verify-api/models + exit 0 $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2058 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-verify-api] $ /bin/bash /tmp/jenkins5320040698134484761.sh ---> sysstat.sh [policy-api-master-project-csit-verify-api] $ /bin/bash /tmp/jenkins4073821474389436066.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/policy-api-master-project-csit-verify-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-verify-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-verify-api ']' + mkdir -p /w/workspace/policy-api-master-project-csit-verify-api/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-master-project-csit-verify-api/archives/ [policy-api-master-project-csit-verify-api] $ /bin/bash /tmp/jenkins9765013396900215780.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-verify-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-DRc8 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-DRc8/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-master-project-csit-verify-api] $ /bin/bash /tmp/jenkins11138630433578388471.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-master-project-csit-verify-api@tmp/config310555426182252103tmp 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-verify-api] $ /bin/bash /tmp/jenkins13484532947530842328.sh ---> create-netrc.sh [policy-api-master-project-csit-verify-api] $ /bin/bash /tmp/jenkins12472985692874746896.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-verify-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-DRc8 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-DRc8/bin to PATH [policy-api-master-project-csit-verify-api] $ /bin/bash /tmp/jenkins11726424251127549893.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-master-project-csit-verify-api] $ /bin/bash /tmp/jenkins7135577370351068916.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-verify-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-DRc8 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-DRc8/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [policy-api-master-project-csit-verify-api] $ /bin/bash -l /tmp/jenkins3747032927647606632.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-verify-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-DRc8 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-DRc8/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-master-project-csit-verify-api/515 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-14651 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 841 27095 0 4230 30869 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:1c:ec:de brd ff:ff:ff:ff:ff:ff inet 10.30.106.155/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86055sec preferred_lft 86055sec inet6 fe80::f816:3eff:fe1c:ecde/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:30:de:52:d9 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-14651) 03/20/24 _x86_64_ (8 CPU) 16:08:23 LINUX RESTART (8 CPU) 16:09:02 tps rtps wtps bread/s bwrtn/s 16:10:01 103.96 23.20 80.77 1199.86 24314.80 16:11:01 137.39 23.20 114.20 2793.53 32197.03 16:12:01 376.59 12.75 363.84 779.77 86296.02 16:13:01 14.98 0.00 14.98 0.00 17695.28 16:14:01 66.31 1.97 64.34 120.11 20595.50 Average: 139.96 12.19 127.77 977.95 36257.54 16:09:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:10:01 30093776 31688744 2845444 8.64 70620 1834188 1409884 4.15 881580 1668936 158476 16:11:01 28416936 31647816 4522284 13.73 106636 3382396 1563396 4.60 1008784 3120460 1302248 16:12:01 26436704 30341668 6502516 19.74 130152 3988720 4628672 13.62 2405780 3632880 528 16:13:01 26307332 30213228 6631888 20.13 130324 3989256 4662012 13.72 2534628 3632768 80 16:14:01 27722996 31587024 5216224 15.84 132380 3956044 1504952 4.43 1196296 3584064 2696 Average: 27795549 31095696 5143671 15.62 114022 3430121 2753783 8.10 1605414 3127822 292806 16:09:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:10:01 lo 1.69 1.69 0.18 0.18 0.00 0.00 0.00 0.00 16:10:01 ens3 63.71 42.85 895.40 9.35 0.00 0.00 0.00 0.00 16:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:11:01 lo 7.80 7.80 0.72 0.72 0.00 0.00 0.00 0.00 16:11:01 br-c9d867130fe5 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:11:01 ens3 332.96 215.96 9271.58 19.73 0.00 0.00 0.00 0.00 16:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:12:01 vethb9ecee0 0.05 0.37 0.00 0.02 0.00 0.00 0.00 0.00 16:12:01 veth68cce8e 81.69 99.95 55.93 24.00 0.00 0.00 0.00 0.00 16:12:01 lo 3.82 3.82 2.21 2.21 0.00 0.00 0.00 0.00 16:12:01 br-c9d867130fe5 1.37 1.47 1.51 0.88 0.00 0.00 0.00 0.00 16:13:01 vethb9ecee0 0.15 0.17 0.02 0.76 0.00 0.00 0.00 0.00 16:13:01 veth68cce8e 49.11 59.96 58.65 14.96 0.00 0.00 0.00 0.00 16:13:01 lo 8.92 8.92 6.50 6.50 0.00 0.00 0.00 0.00 16:13:01 br-c9d867130fe5 2.53 2.77 4.68 1.64 0.00 0.00 0.00 0.00 16:14:01 lo 6.47 6.47 0.58 0.58 0.00 0.00 0.00 0.00 16:14:01 ens3 921.23 623.16 12964.90 130.54 0.00 0.00 0.00 0.00 16:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: lo 5.75 5.75 2.05 2.05 0.00 0.00 0.00 0.00 Average: ens3 110.56 75.12 2442.47 12.31 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-14651) 03/20/24 _x86_64_ (8 CPU) 16:08:23 LINUX RESTART (8 CPU) 16:09:02 CPU %user %nice %system %iowait %steal %idle 16:10:01 all 10.17 0.00 0.68 2.40 0.03 86.72 16:10:01 0 5.02 0.00 0.37 0.10 0.02 94.49 16:10:01 1 8.37 0.00 0.42 0.63 0.02 90.56 16:10:01 2 8.01 0.00 0.52 0.10 0.02 91.35 16:10:01 3 6.57 0.00 0.53 0.24 0.03 92.63 16:10:01 4 8.81 0.00 0.68 11.94 0.03 78.54 16:10:01 5 0.08 0.00 0.25 3.36 0.08 96.21 16:10:01 6 27.19 0.00 1.63 2.49 0.05 68.65 16:10:01 7 17.22 0.00 1.00 0.37 0.03 81.38 16:11:01 all 11.36 0.00 2.20 2.76 0.04 83.64 16:11:01 0 14.29 0.00 2.47 0.18 0.05 83.00 16:11:01 1 21.47 0.00 2.38 1.34 0.03 74.77 16:11:01 2 5.52 0.00 2.29 0.10 0.03 92.06 16:11:01 3 5.27 0.00 1.71 0.69 0.02 92.31 16:11:01 4 4.63 0.00 1.80 11.66 0.03 81.88 16:11:01 5 4.40 0.00 2.50 5.01 0.05 88.05 16:11:01 6 27.59 0.00 2.34 1.87 0.05 68.15 16:11:01 7 7.72 0.00 2.11 1.24 0.07 88.86 16:12:01 all 15.78 0.00 3.02 5.83 0.07 75.31 16:12:01 0 8.55 0.00 2.29 1.57 0.05 87.54 16:12:01 1 19.84 0.00 3.22 5.07 0.10 71.77 16:12:01 2 17.74 0.00 3.39 1.34 0.07 77.45 16:12:01 3 16.30 0.00 3.18 3.57 0.07 76.88 16:12:01 4 13.76 0.00 2.36 6.96 0.07 76.85 16:12:01 5 15.77 0.00 2.67 1.59 0.07 79.90 16:12:01 6 20.08 0.00 3.48 1.54 0.07 74.83 16:12:01 7 14.17 0.00 3.53 25.06 0.08 57.16 16:13:01 all 1.71 0.00 0.17 0.92 0.03 97.18 16:13:01 0 1.59 0.00 0.20 0.02 0.03 98.16 16:13:01 1 1.75 0.00 0.12 0.22 0.00 97.92 16:13:01 2 2.50 0.00 0.15 0.00 0.00 97.35 16:13:01 3 1.45 0.00 0.23 6.99 0.02 91.31 16:13:01 4 2.54 0.00 0.20 0.03 0.08 97.15 16:13:01 5 1.58 0.00 0.17 0.00 0.03 98.22 16:13:01 6 1.33 0.00 0.22 0.13 0.00 98.32 16:13:01 7 0.87 0.00 0.08 0.00 0.03 99.02 16:14:01 all 7.45 0.00 0.67 2.15 0.03 89.69 16:14:01 0 9.83 0.00 0.69 0.40 0.03 89.04 16:14:01 1 23.04 0.00 1.00 1.22 0.05 74.69 16:14:01 2 17.03 0.00 0.93 0.50 0.03 81.51 16:14:01 3 2.66 0.00 0.52 4.51 0.02 92.30 16:14:01 4 1.19 0.00 0.45 0.65 0.02 97.70 16:14:01 5 2.14 0.00 0.62 0.22 0.02 97.01 16:14:01 6 2.21 0.00 0.53 9.21 0.05 88.00 16:14:01 7 1.57 0.00 0.57 0.50 0.03 97.33 Average: all 9.28 0.00 1.34 2.81 0.04 86.52 Average: 0 7.86 0.00 1.21 0.45 0.04 90.44 Average: 1 14.90 0.00 1.43 1.69 0.04 81.94 Average: 2 10.15 0.00 1.46 0.41 0.03 87.95 Average: 3 6.43 0.00 1.23 3.21 0.03 89.09 Average: 4 6.17 0.00 1.10 6.22 0.05 86.46 Average: 5 4.80 0.00 1.24 2.03 0.05 91.88 Average: 6 15.63 0.00 1.64 3.05 0.04 79.64 Average: 7 8.27 0.00 1.45 5.41 0.05 84.82