Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-17768 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-master-project-csit-api [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-YzQr89WshCQ3/agent.2103 SSH_AGENT_PID=2105 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-master-project-csit-api@tmp/private_key_14597999891149253720.key (/w/workspace/policy-api-master-project-csit-api@tmp/private_key_14597999891149253720.key) [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) The recommended git tool is: NONE using credential onap-jenkins-ssh Wiping out workspace first. Cloning the remote Git repository Cloning repository git://cloud.onap.org/mirror/policy/docker.git > git init /w/workspace/policy-api-master-project-csit-api # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_SSH to set credentials Gerrit user Verifying host key using manually-configured host key entries > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision cebb4172163dc04b43be7e34d9a4b374370492f8 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f cebb4172163dc04b43be7e34d9a4b374370492f8 # timeout=30 Commit message: "Update db-migrator version in policy helm" > git rev-list --no-walk cebb4172163dc04b43be7e34d9a4b374370492f8 # timeout=10 provisioning config files... copy managed file [npmrc] to file:/home/jenkins/.npmrc copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins529847730363989052.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-DoDR 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-DoDR/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-DoDR/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.69 botocore==1.34.69 bs4==0.0.2 cachetools==5.3.3 certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.6.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.6.1 docker==4.2.2 dogpile.cache==1.3.2 email_validator==2.1.1 filelock==3.13.1 future==1.0.0 gitdb==4.0.11 GitPython==3.1.42 google-auth==2.29.0 httplib2==0.22.0 identify==2.5.35 idna==3.6 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.6.0 kubernetes==29.0.0 lftools==0.37.10 lxml==5.1.0 MarkupSafe==2.1.5 msgpack==1.0.8 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.2.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==3.0.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.1 oslo.config==9.4.0 oslo.context==5.5.0 oslo.i18n==6.3.0 oslo.log==5.5.0 oslo.serialization==5.4.0 oslo.utils==7.1.0 packaging==24.0 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.10.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.2.0 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.5.0 python-dateutil==2.9.0.post0 python-heatclient==3.5.0 python-jenkins==1.8.2 python-keystoneclient==5.4.0 python-magnumclient==4.4.0 python-novaclient==18.6.0 python-openstackclient==6.6.0 python-swiftclient==4.5.0 PyYAML==6.0.1 referencing==0.34.0 requests==2.31.0 requests-oauthlib==2.0.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.18.0 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.1 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.2.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.4 tqdm==4.66.2 typing_extensions==4.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-api] $ /bin/sh /tmp/jenkins2830156013222736785.sh ---> update-java-alternatives.sh ---> Updating Java version ---> Ubuntu/Debian system detected update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode openjdk version "17.0.4" 2022-07-19 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' [EnvInject] - Variables injected successfully. [policy-api-master-project-csit-api] $ /bin/sh -xe /tmp/jenkins12242182671638593972.sh + /w/workspace/policy-api-master-project-csit-api/csit/run-project-csit.sh api + set +u + save_set + RUN_CSIT_SAVE_SET=ehxB + RUN_CSIT_SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail:xtrace + '[' 1 -eq 0 ']' + '[' -z /w/workspace/policy-api-master-project-csit-api ']' + export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin + export SCRIPTS=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts + SCRIPTS=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts + export ROBOT_VARIABLES= + ROBOT_VARIABLES= + export PROJECT=api + PROJECT=api + cd /w/workspace/policy-api-master-project-csit-api + rm -rf /w/workspace/policy-api-master-project-csit-api/csit/archives/api + mkdir -p /w/workspace/policy-api-master-project-csit-api/csit/archives/api + source_safely /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh + '[' -z /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' +++ mktemp -d ++ ROBOT_VENV=/tmp/tmp.ei0eu9upyY ++ echo ROBOT_VENV=/tmp/tmp.ei0eu9upyY +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.ei0eu9upyY ++ source /tmp/tmp.ei0eu9upyY/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.ei0eu9upyY +++ export VIRTUAL_ENV +++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin +++ PATH=/tmp/tmp.ei0eu9upyY/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin +++ export PATH +++ '[' -n '' ']' +++ '[' -z '' ']' +++ _OLD_VIRTUAL_PS1= +++ '[' 'x(tmp.ei0eu9upyY) ' '!=' x ']' +++ PS1='(tmp.ei0eu9upyY) ' +++ export PS1 +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r ++ set -exu ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' ++ echo 'Installing Python Requirements' Installing Python Requirements ++ python3 -m pip install -qq -r /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2024.2.2 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==5.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.ei0eu9upyY/src/onap ++ rm -rf /tmp/tmp.ei0eu9upyY/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.ei0eu9upyY/bin/activate + '[' -z /tmp/tmp.ei0eu9upyY/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.ei0eu9upyY/bin/activate ++ deactivate nondestructive ++ '[' -n /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin ']' ++ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin ++ export PATH ++ unset _OLD_VIRTUAL_PATH ++ '[' -n '' ']' ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r ++ '[' -n '' ']' ++ unset VIRTUAL_ENV ++ '[' '!' nondestructive = nondestructive ']' ++ VIRTUAL_ENV=/tmp/tmp.ei0eu9upyY ++ export VIRTUAL_ENV ++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin ++ PATH=/tmp/tmp.ei0eu9upyY/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-master-project-csit-api/csit:/w/workspace/policy-api-master-project-csit-api/scripts:/bin ++ export PATH ++ '[' -n '' ']' ++ '[' -z '' ']' ++ _OLD_VIRTUAL_PS1='(tmp.ei0eu9upyY) ' ++ '[' 'x(tmp.ei0eu9upyY) ' '!=' x ']' ++ PS1='(tmp.ei0eu9upyY) (tmp.ei0eu9upyY) ' ++ export PS1 ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + export TEST_PLAN_DIR=/w/workspace/policy-api-master-project-csit-api/csit/resources/tests + TEST_PLAN_DIR=/w/workspace/policy-api-master-project-csit-api/csit/resources/tests + export TEST_OPTIONS= + TEST_OPTIONS= ++ mktemp -d + WORKDIR=/tmp/tmp.fJYU1tYyvL + cd /tmp/tmp.fJYU1tYyvL + docker login -u docker -p docker nexus3.onap.org:10001 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded + SETUP=/w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-master-project-csit-api/.gitreview +++ GERRIT_BRANCH=master +++ echo GERRIT_BRANCH=master GERRIT_BRANCH=master +++ rm -rf /w/workspace/policy-api-master-project-csit-api/models +++ mkdir /w/workspace/policy-api-master-project-csit-api/models +++ git clone -b master --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-master-project-csit-api/models Cloning into '/w/workspace/policy-api-master-project-csit-api/models'... +++ export DATA=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json +++ sed -e 's!"version": "1.0.0"!"version": "2.0.0"!' -e 's!"policy-version": 1!"policy-version": 2!' /w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-master-project-csit-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-api/compose +++ grafana=false +++ gui=false +++ [[ 2 -gt 0 ]] +++ key=api +++ case $key in +++ echo api api +++ component=api +++ shift +++ [[ 1 -gt 0 ]] +++ key=--grafana +++ case $key in +++ grafana=true +++ shift +++ [[ 0 -gt 0 ]] +++ cd /w/workspace/policy-api-master-project-csit-api/compose +++ echo 'Configuring docker compose...' Configuring docker compose... +++ source export-ports.sh +++ source get-versions.sh +++ '[' -z api ']' +++ '[' -n api ']' +++ '[' api == logs ']' +++ '[' true = true ']' +++ echo 'Starting api application with Grafana' Starting api application with Grafana +++ docker-compose up -d api grafana Creating network "compose_default" with the default driver Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 10.10.2: Pulling from mariadb Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:3.1.2-SNAPSHOT)... 3.1.2-SNAPSHOT: Pulling from onap/policy-db-migrator Digest: sha256:0199fbc8d522d470f3560bff9f935d19e3a1cda5d8c37457053c4708a1ce3230 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.1.2-SNAPSHOT Pulling api (nexus3.onap.org:10001/onap/policy-api:3.1.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:753bbb971071480d6630d3aa0d55345188c02f39456664f67c1ea443593638d0 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating prometheus ... Creating mariadb ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-master-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 10 seconds policy-db-migrator Up 11 seconds grafana Up 13 seconds prometheus Up 14 seconds mariadb Up 11 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds prometheus Up 19 seconds mariadb Up 17 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds prometheus Up 24 seconds mariadb Up 22 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds prometheus Up 29 seconds mariadb Up 27 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/policy-api-master-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:22:53 up 3 min, 0 users, load average: 2.08, 0.93, 0.37 Tasks: 181 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.7 us, 2.3 sy, 0.0 ni, 83.8 id, 3.1 wa, 0.0 hi, 0.1 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.4G 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 1c0b14a6dc34 policy-api 0.09% 528.2MiB / 31.41GiB 1.64% 999kB / 710kB 0B / 0B 54 55ddf07b036e grafana 0.06% 53.06MiB / 31.41GiB 0.16% 18.9kB / 3.25kB 0B / 24.9MB 17 65ad315cd812 prometheus 0.05% 18.5MiB / 31.41GiB 0.06% 1.52kB / 158B 168kB / 0B 12 d9ad0ecb1b8a mariadb 0.01% 99.95MiB / 31.41GiB 0.31% 985kB / 1.18MB 10.8MB / 67.8MB 26 + echo + cd /tmp/tmp.fJYU1tYyvL + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + sed 's|^|/w/workspace/policy-api-master-project-csit-api/csit/resources/tests/|' + cat testplan.txt /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot' + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates' ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ... + relax_set + set +e + set +o pipefail + python3 -m robot.run -N api -v WORKSPACE:/tmp -v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-master-project-csit-api/csit/resources/tests/api-slas.robot ============================================================================== api ============================================================================== api.Api-Test ============================================================================== Healthcheck :: Verify policy api health check | PASS | ------------------------------------------------------------------------------ RetrievePolicyTypes :: Retrieve all policy types | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | ------------------------------------------------------------------------------ CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | ------------------------------------------------------------------------------ RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | ------------------------------------------------------------------------------ CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | ------------------------------------------------------------------------------ CreateNodeTemplates :: Create node templates in database using spe... | PASS | ------------------------------------------------------------------------------ RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | ------------------------------------------------------------------------------ RetrieveAllPolicies :: Retrieve all policies | PASS | ------------------------------------------------------------------------------ RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | ------------------------------------------------------------------------------ RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | ------------------------------------------------------------------------------ RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | ------------------------------------------------------------------------------ DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | ------------------------------------------------------------------------------ Metrics :: Verify policy-api is exporting prometheus metrics | PASS | ------------------------------------------------------------------------------ api.Api-Test | PASS | 22 tests, 22 passed, 0 failed ============================================================================== api.Api-Slas ============================================================================== WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | ------------------------------------------------------------------------------ ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | ------------------------------------------------------------------------------ api.Api-Slas | PASS | 9 tests, 9 passed, 0 failed ============================================================================== api | PASS | 31 tests, 31 passed, 0 failed ============================================================================== Output: /tmp/tmp.fJYU1tYyvL/output.xml Log: /tmp/tmp.fJYU1tYyvL/log.html Report: /tmp/tmp.fJYU1tYyvL/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-master-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute prometheus Up About a minute mariadb Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:24:04 up 4 min, 0 users, load average: 0.98, 0.83, 0.37 Tasks: 179 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.1 us, 1.8 sy, 0.0 ni, 86.1 id, 2.9 wa, 0.0 hi, 0.1 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 1c0b14a6dc34 policy-api 0.43% 1.164GiB / 31.41GiB 3.71% 7MB / 2.55MB 0B / 0B 55 55ddf07b036e grafana 0.02% 57.28MiB / 31.41GiB 0.18% 19.8kB / 4.39kB 0B / 24.9MB 17 65ad315cd812 prometheus 0.20% 24.87MiB / 31.41GiB 0.08% 55.5kB / 6.57kB 168kB / 0B 13 d9ad0ecb1b8a mariadb 0.02% 100.9MiB / 31.41GiB 0.31% 2.39MB / 7.04MB 10.8MB / 68.1MB 18 + echo + source_safely /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-api/compose ++ cd /w/workspace/policy-api-master-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-api, policy-db-migrator, grafana, prometheus, mariadb grafana | logger=settings t=2024-03-24T11:22:24.561827972Z level=info msg="Starting Grafana" version=10.4.1 commit=d94d597d847c05085542c29dfad6b3f469cc77e1 branch=v10.4.x compiled=2024-03-24T11:22:24Z grafana | logger=settings t=2024-03-24T11:22:24.562054373Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-03-24T11:22:24.562061923Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-03-24T11:22:24.562065903Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-03-24T11:22:24.562069193Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-03-24T11:22:24.562072083Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-03-24T11:22:24.562077003Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-03-24T11:22:24.562080263Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-03-24T11:22:24.562083393Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-03-24T11:22:24.562086273Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-03-24T11:22:24.562090943Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-03-24T11:22:24.562093833Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-03-24T11:22:24.562097193Z level=info msg=Target target=[all] grafana | logger=settings t=2024-03-24T11:22:24.562104433Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-03-24T11:22:24.562107843Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-03-24T11:22:24.562150363Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-03-24T11:22:24.562168063Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-03-24T11:22:24.562171533Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-03-24T11:22:24.562249384Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-03-24T11:22:24.562590565Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-03-24T11:22:24.562613605Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-03-24T11:22:24.563329679Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-03-24T11:22:24.564278584Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-03-24T11:22:24.565212748Z level=info msg="Migration successfully executed" id="create migration_log table" duration=933.854µs grafana | logger=migrator t=2024-03-24T11:22:24.57165219Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-03-24T11:22:24.572566855Z level=info msg="Migration successfully executed" id="create user table" duration=914.445µs grafana | logger=migrator t=2024-03-24T11:22:24.575945532Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-03-24T11:22:24.576758406Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=812.684µs grafana | logger=migrator t=2024-03-24T11:22:24.580403604Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-03-24T11:22:24.581236268Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=832.624µs grafana | logger=migrator t=2024-03-24T11:22:24.584755126Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-03-24T11:22:24.58556633Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=811.144µs grafana | logger=migrator t=2024-03-24T11:22:24.591042117Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-03-24T11:22:24.592187143Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.142466ms grafana | logger=migrator t=2024-03-24T11:22:24.595733141Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-03-24T11:22:24.599126198Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=3.393717ms grafana | logger=migrator t=2024-03-24T11:22:24.602407984Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-03-24T11:22:24.603322749Z level=info msg="Migration successfully executed" id="create user table v2" duration=909.645µs grafana | logger=migrator t=2024-03-24T11:22:24.608723446Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-03-24T11:22:24.60953344Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=809.714µs grafana | logger=migrator t=2024-03-24T11:22:24.612672306Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-03-24T11:22:24.61349088Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=816.154µs grafana | logger=migrator t=2024-03-24T11:22:24.616915327Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-03-24T11:22:24.617722561Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=806.734µs grafana | logger=migrator t=2024-03-24T11:22:24.62360697Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-03-24T11:22:24.624457644Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=844.104µs grafana | logger=migrator t=2024-03-24T11:22:24.627895631Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-03-24T11:22:24.62967734Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.785339ms grafana | logger=migrator t=2024-03-24T11:22:24.633129748Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-03-24T11:22:24.633156258Z level=info msg="Migration successfully executed" id="Update user table charset" duration=27.4µs grafana | logger=migrator t=2024-03-24T11:22:24.636539665Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-03-24T11:22:24.637717131Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.177106ms grafana | logger=migrator t=2024-03-24T11:22:24.643099688Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-03-24T11:22:24.64357051Z level=info msg="Migration successfully executed" id="Add missing user data" duration=471.073µs grafana | logger=migrator t=2024-03-24T11:22:24.647100408Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-03-24T11:22:24.648969497Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.868219ms grafana | logger=migrator t=2024-03-24T11:22:24.652748696Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-03-24T11:22:24.65350642Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=757.344µs grafana | logger=migrator t=2024-03-24T11:22:24.656759396Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-03-24T11:22:24.657999962Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.239696ms grafana | logger=migrator t=2024-03-24T11:22:24.663063317Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-03-24T11:22:24.670923916Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=7.858269ms grafana | logger=migrator t=2024-03-24T11:22:24.706167383Z level=info msg="Executing migration" id="Add uid column to user" grafana | logger=migrator t=2024-03-24T11:22:24.708107053Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=1.939129ms grafana | logger=migrator t=2024-03-24T11:22:24.71156813Z level=info msg="Executing migration" id="Update uid column values for users" grafana | logger=migrator t=2024-03-24T11:22:24.712047452Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=478.972µs grafana | logger=migrator t=2024-03-24T11:22:24.71562328Z level=info msg="Executing migration" id="Add unique index user_uid" grafana | logger=migrator t=2024-03-24T11:22:24.716352143Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=728.763µs grafana | logger=migrator t=2024-03-24T11:22:24.721408179Z level=info msg="Executing migration" id="update login field with orgid to allow for multiple service accounts with same name across orgs" grafana | logger=migrator t=2024-03-24T11:22:24.721811091Z level=info msg="Migration successfully executed" id="update login field with orgid to allow for multiple service accounts with same name across orgs" duration=402.442µs grafana | logger=migrator t=2024-03-24T11:22:24.725246938Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-03-24T11:22:24.726643245Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.395527ms grafana | logger=migrator t=2024-03-24T11:22:24.730297443Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-03-24T11:22:24.731181768Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=883.665µs grafana | logger=migrator t=2024-03-24T11:22:24.736057262Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-03-24T11:22:24.736875366Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=817.914µs grafana | logger=migrator t=2024-03-24T11:22:24.740149102Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-03-24T11:22:24.740974497Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=825.155µs grafana | logger=migrator t=2024-03-24T11:22:24.744339063Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-03-24T11:22:24.745171138Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=831.765µs grafana | logger=migrator t=2024-03-24T11:22:24.74968704Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-03-24T11:22:24.74973402Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=39.68µs grafana | logger=migrator t=2024-03-24T11:22:24.75354454Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-03-24T11:22:24.754625695Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.081245ms grafana | logger=migrator t=2024-03-24T11:22:24.758322353Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-03-24T11:22:24.759103307Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=780.754µs grafana | logger=migrator t=2024-03-24T11:22:24.763524129Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-03-24T11:22:24.764273633Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=749.514µs grafana | logger=migrator t=2024-03-24T11:22:24.76777592Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-03-24T11:22:24.768973576Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.189176ms grafana | logger=migrator t=2024-03-24T11:22:24.772771705Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-03-24T11:22:24.776467774Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.697079ms grafana | logger=migrator t=2024-03-24T11:22:24.780970136Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-03-24T11:22:24.781903271Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=932.535µs grafana | logger=migrator t=2024-03-24T11:22:24.785385588Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-03-24T11:22:24.786244353Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=861.425µs grafana | logger=migrator t=2024-03-24T11:22:24.78973339Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-03-24T11:22:24.791421369Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.687839ms grafana | logger=migrator t=2024-03-24T11:22:24.79574789Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-03-24T11:22:24.796565424Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=817.344µs grafana | logger=migrator t=2024-03-24T11:22:24.799869481Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-03-24T11:22:24.800694145Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=824.254µs grafana | logger=migrator t=2024-03-24T11:22:24.804845446Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-03-24T11:22:24.80561146Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=761.354µs grafana | logger=migrator t=2024-03-24T11:22:24.809240368Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-03-24T11:22:24.810094922Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=854.054µs grafana | logger=migrator t=2024-03-24T11:22:24.815055757Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-03-24T11:22:24.815515559Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=459.532µs grafana | logger=migrator t=2024-03-24T11:22:24.819137017Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-03-24T11:22:24.820328833Z level=info msg="Migration successfully executed" id="create star table" duration=1.188906ms grafana | logger=migrator t=2024-03-24T11:22:24.824225712Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-03-24T11:22:24.825589219Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.362827ms grafana | logger=migrator t=2024-03-24T11:22:24.830337773Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-03-24T11:22:24.831209277Z level=info msg="Migration successfully executed" id="create org table v1" duration=871.024µs grafana | logger=migrator t=2024-03-24T11:22:24.83578099Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-03-24T11:22:24.837042097Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.260527ms grafana | logger=migrator t=2024-03-24T11:22:24.840836776Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-03-24T11:22:24.842111732Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.274326ms grafana | logger=migrator t=2024-03-24T11:22:24.845579859Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-03-24T11:22:24.846367043Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=786.684µs grafana | logger=migrator t=2024-03-24T11:22:24.850653335Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-03-24T11:22:24.851559439Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=905.774µs grafana | logger=migrator t=2024-03-24T11:22:24.855002687Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-03-24T11:22:24.856463684Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.466877ms mariadb | 2024-03-24 11:22:25+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-03-24 11:22:25+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-03-24 11:22:25+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-03-24 11:22:26+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-03-24 11:22:26 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-24 11:22:26 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-03-24 11:22:26 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-24 11:22:27+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-03-24 11:22:27+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-03-24 11:22:27+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-03-24 11:22:27 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 96 ... mariadb | 2024-03-24 11:22:27 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-03-24 11:22:27 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-03-24 11:22:27 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-03-24 11:22:27 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-03-24 11:22: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-24 11:22:27 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-03-24 11:22:27 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-03-24 11:22:27 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-03-24 11:22:27 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-03-24 11:22:27 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-03-24 11:22:27 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-03-24 11:22:27 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-03-24 11:22:27 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-03-24 11:22:27 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-03-24 11:22:27 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-03-24 11:22:27 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-03-24 11:22:27 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-03-24 11:22:27 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-24 11:22:28+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-03-24 11:22:30+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-03-24 11:22:30+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | mariadb | 2024-03-24 11:22:30+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | 2024-03-24 11:22:30+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'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-03-24T11:22:24.860417654Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-03-24T11:22:24.860458194Z level=info msg="Migration successfully executed" id="Update org table charset" duration=41.73µs grafana | logger=migrator t=2024-03-24T11:22:24.864194642Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-03-24T11:22:24.864219522Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=25.88µs grafana | logger=migrator t=2024-03-24T11:22:24.868549594Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-03-24T11:22:24.868836815Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=286.681µs grafana | logger=migrator t=2024-03-24T11:22:24.872489614Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-03-24T11:22:24.874105392Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.614668ms grafana | logger=migrator t=2024-03-24T11:22:24.877937531Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-03-24T11:22:24.879061997Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.125986ms grafana | logger=migrator t=2024-03-24T11:22:24.882334823Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-03-24T11:22:24.884073332Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.735489ms grafana | logger=migrator t=2024-03-24T11:22:24.888536354Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-03-24T11:22:24.889613119Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.072935ms grafana | logger=migrator t=2024-03-24T11:22:24.894490754Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-03-24T11:22:24.8958113Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.320246ms grafana | logger=migrator t=2024-03-24T11:22:24.898943746Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-03-24T11:22:24.900093212Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.149926ms grafana | logger=migrator t=2024-03-24T11:22:24.903445089Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-03-24T11:22:24.911114747Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=7.671128ms grafana | logger=migrator t=2024-03-24T11:22:24.9158843Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-03-24T11:22:24.916614854Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=730.224µs grafana | logger=migrator t=2024-03-24T11:22:24.919920431Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-03-24T11:22:24.920631324Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=710.663µs grafana | logger=migrator t=2024-03-24T11:22:24.92369694Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-03-24T11:22:24.924492364Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=794.464µs grafana | logger=migrator t=2024-03-24T11:22:24.929380368Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-03-24T11:22:24.92987557Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=495.312µs grafana | logger=migrator t=2024-03-24T11:22:24.933074596Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-03-24T11:22:24.934300623Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.225367ms grafana | logger=migrator t=2024-03-24T11:22:24.937624019Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-03-24T11:22:24.9376889Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=65.071µs grafana | logger=migrator t=2024-03-24T11:22:24.942604734Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-03-24T11:22:24.944381803Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.776679ms grafana | logger=migrator t=2024-03-24T11:22:24.947585909Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-03-24T11:22:24.949366918Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.780999ms grafana | logger=migrator t=2024-03-24T11:22:24.952157312Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-03-24T11:22:24.953903091Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.742829ms grafana | logger=migrator t=2024-03-24T11:22:24.959140667Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-03-24T11:22:24.95989499Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=753.943µs grafana | logger=migrator t=2024-03-24T11:22:24.963220967Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-03-24T11:22:24.965981421Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.756954ms grafana | logger=migrator t=2024-03-24T11:22:24.969179527Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2024-03-24T11:22:24.970442343Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.259026ms grafana | logger=migrator t=2024-03-24T11:22:24.97580025Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-03-24T11:22:24.976546834Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=746.174µs grafana | logger=migrator t=2024-03-24T11:22:24.979483438Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-03-24T11:22:24.979509528Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=26.29µs grafana | logger=migrator t=2024-03-24T11:22:24.983002106Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-03-24T11:22:24.983041616Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=40.38µs grafana | logger=migrator t=2024-03-24T11:22:24.989246907Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-03-24T11:22:24.992222722Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=2.975515ms grafana | logger=migrator t=2024-03-24T11:22:24.996557774Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-03-24T11:22:24.999218837Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.662103ms grafana | logger=migrator t=2024-03-24T11:22:25.002205322Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-03-24T11:22:25.004042291Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.836639ms grafana | logger=migrator t=2024-03-24T11:22:25.007088596Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-03-24T11:22:25.008974826Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.883399ms grafana | logger=migrator t=2024-03-24T11:22:25.013593718Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-03-24T11:22:25.013800389Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=208.551µs grafana | logger=migrator t=2024-03-24T11:22:25.016745283Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-03-24T11:22:25.017695088Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=948.735µs grafana | logger=migrator t=2024-03-24T11:22:25.020837973Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-03-24T11:22:25.021526826Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=689.873µs grafana | logger=migrator t=2024-03-24T11:22:25.026365749Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-03-24T11:22:25.026409199Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=43.7µs grafana | logger=migrator t=2024-03-24T11:22:25.029106892Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-03-24T11:22:25.030313108Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.205816ms grafana | logger=migrator t=2024-03-24T11:22:25.033768065Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-03-24T11:22:25.034464968Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=696.133µs grafana | logger=migrator t=2024-03-24T11:22:25.039519352Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-03-24T11:22:25.044601537Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=5.081865ms grafana | logger=migrator t=2024-03-24T11:22:25.047619211Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-03-24T11:22:25.048323205Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=706.454µs grafana | logger=migrator t=2024-03-24T11:22:25.05151535Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-03-24T11:22:25.052274793Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=758.253µs grafana | logger=migrator t=2024-03-24T11:22:25.057486488Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-03-24T11:22:25.058252662Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=765.214µs grafana | logger=migrator t=2024-03-24T11:22:25.061271747Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-03-24T11:22:25.061759049Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=486.662µs grafana | logger=migrator t=2024-03-24T11:22:25.064791034Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-03-24T11:22:25.065617348Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=825.233µs grafana | logger=migrator t=2024-03-24T11:22:25.070940953Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-03-24T11:22:25.074125838Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.184165ms grafana | logger=migrator t=2024-03-24T11:22:25.077410294Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-03-24T11:22:25.078237438Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=828.054µs grafana | logger=migrator t=2024-03-24T11:22:25.081240402Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-03-24T11:22:25.081405453Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=164.711µs grafana | logger=migrator t=2024-03-24T11:22:25.084326267Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-03-24T11:22:25.084490638Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=164.331µs grafana | logger=migrator t=2024-03-24T11:22:25.119403026Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-03-24T11:22:25.120601762Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.198526ms grafana | logger=migrator t=2024-03-24T11:22:25.125164953Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-03-24T11:22:25.127767656Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.601553ms grafana | logger=migrator t=2024-03-24T11:22:25.13069564Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2024-03-24T11:22:25.131591034Z level=info msg="Migration successfully executed" id="create data_source table" duration=894.104µs grafana | logger=migrator t=2024-03-24T11:22:25.136573928Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-03-24T11:22:25.137377702Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=802.754µs grafana | logger=migrator t=2024-03-24T11:22:25.140184975Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-03-24T11:22:25.14116917Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=982.915µs grafana | logger=migrator t=2024-03-24T11:22:25.144089654Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-03-24T11:22:25.144787597Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=698.973µs grafana | logger=migrator t=2024-03-24T11:22:25.150382205Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | grafana | logger=migrator t=2024-03-24T11:22:25.151974742Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.590288ms grafana | logger=migrator t=2024-03-24T11:22:25.156163852Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-03-24T11:22:25.164561083Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=8.397921ms grafana | logger=migrator t=2024-03-24T11:22:25.170511531Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-03-24T11:22:25.171417755Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=905.844µs grafana | logger=migrator t=2024-03-24T11:22:25.17448099Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-03-24T11:22:25.175341844Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=860.434µs grafana | logger=migrator t=2024-03-24T11:22:25.178391749Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-03-24T11:22:25.179271043Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=877.574µs grafana | logger=migrator t=2024-03-24T11:22:25.184706109Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-03-24T11:22:25.185264172Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=557.073µs grafana | logger=migrator t=2024-03-24T11:22:25.188074415Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-03-24T11:22:25.190479637Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.402832ms grafana | logger=migrator t=2024-03-24T11:22:25.193750042Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-03-24T11:22:25.19741959Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=3.668278ms grafana | logger=migrator t=2024-03-24T11:22:25.203335358Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-03-24T11:22:25.203361899Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=26.591µs grafana | logger=migrator t=2024-03-24T11:22:25.206570204Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-03-24T11:22:25.206905846Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=336.102µs grafana | logger=migrator t=2024-03-24T11:22:25.209678809Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-03-24T11:22:25.213424207Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.744868ms grafana | logger=migrator t=2024-03-24T11:22:25.216611162Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-03-24T11:22:25.216818633Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=207.311µs grafana | logger=migrator t=2024-03-24T11:22:25.222118399Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-03-24T11:22:25.22232037Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=201.771µs grafana | logger=migrator t=2024-03-24T11:22:25.225563155Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-03-24T11:22:25.229322813Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.758468ms grafana | logger=migrator t=2024-03-24T11:22:25.232490718Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-03-24T11:22:25.232705459Z level=info msg="Migration successfully executed" id="Update uid value" duration=214.511µs grafana | logger=migrator t=2024-03-24T11:22:25.235804324Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-03-24T11:22:25.236627718Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=824.644µs grafana | logger=migrator t=2024-03-24T11:22:25.241570372Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-03-24T11:22:25.242768188Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.197016ms grafana | logger=migrator t=2024-03-24T11:22:25.246214544Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-03-24T11:22:25.24748752Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.271956ms grafana | logger=migrator t=2024-03-24T11:22:25.25360884Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-03-24T11:22:25.255183098Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.577368ms grafana | logger=migrator t=2024-03-24T11:22:25.258485763Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-03-24T11:22:25.259651709Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.165626ms grafana | logger=migrator t=2024-03-24T11:22:25.262791954Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-03-24T11:22:25.263594308Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=802.104µs grafana | logger=migrator t=2024-03-24T11:22:25.269449946Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-03-24T11:22:25.270632132Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.180526ms grafana | logger=migrator t=2024-03-24T11:22:25.274129188Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-03-24T11:22:25.275282004Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.152316ms grafana | logger=migrator t=2024-03-24T11:22:25.2785964Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-03-24T11:22:25.279312573Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=717.923µs grafana | logger=migrator t=2024-03-24T11:22:25.283999546Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-03-24T11:22:25.290916059Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=6.916133ms grafana | logger=migrator t=2024-03-24T11:22:25.297608831Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-03-24T11:22:25.298990208Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=1.382277ms grafana | logger=migrator t=2024-03-24T11:22:25.304617995Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-03-24T11:22:25.305465499Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=847.214µs grafana | logger=migrator t=2024-03-24T11:22:25.30786333Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-03-24T11:22:25.308695174Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=831.454µs grafana | logger=migrator t=2024-03-24T11:22:25.311223117Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-03-24T11:22:25.31188921Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=666.574µs grafana | logger=migrator t=2024-03-24T11:22:25.314123701Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-03-24T11:22:25.314390122Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=265.651µs grafana | logger=migrator t=2024-03-24T11:22:25.31613482Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-03-24T11:22:25.316561072Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=425.902µs grafana | logger=migrator t=2024-03-24T11:22:25.32034899Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-03-24T11:22:25.32036924Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=20.54µs grafana | logger=migrator t=2024-03-24T11:22:25.322560721Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-03-24T11:22:25.324369699Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=1.806468ms grafana | logger=migrator t=2024-03-24T11:22:25.326878762Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-03-24T11:22:25.32865474Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=1.776158ms grafana | logger=migrator t=2024-03-24T11:22:25.33288039Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-03-24T11:22:25.332993831Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=113.091µs grafana | logger=migrator t=2024-03-24T11:22:25.335653694Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-03-24T11:22:25.337404472Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=1.750268ms grafana | logger=migrator t=2024-03-24T11:22:25.339911644Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-03-24T11:22:25.341699493Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=1.786529ms grafana | logger=migrator t=2024-03-24T11:22:25.344292055Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-03-24T11:22:25.344828548Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=535.463µs grafana | logger=migrator t=2024-03-24T11:22:25.349664901Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-03-24T11:22:25.350047143Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=380.482µs grafana | logger=migrator t=2024-03-24T11:22:25.352656725Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-03-24T11:22:25.353293738Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=636.373µs grafana | logger=migrator t=2024-03-24T11:22:25.359016936Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-03-24T11:22:25.359559939Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=542.183µs grafana | logger=migrator t=2024-03-24T11:22:25.362254481Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-03-24T11:22:25.362842844Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=587.773µs grafana | logger=migrator t=2024-03-24T11:22:25.365462487Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-03-24T11:22:25.366014629Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=551.592µs grafana | logger=migrator t=2024-03-24T11:22:25.368623482Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-03-24T11:22:25.368672402Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=47.52µs grafana | logger=migrator t=2024-03-24T11:22:25.373879307Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-03-24T11:22:25.373899427Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=19.63µs grafana | logger=migrator t=2024-03-24T11:22:25.376739601Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-03-24T11:22:25.37869984Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=1.959809ms grafana | logger=migrator t=2024-03-24T11:22:25.381507374Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-03-24T11:22:25.383416853Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=1.909049ms grafana | logger=migrator t=2024-03-24T11:22:25.388565868Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2024-03-24 11:22:31+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-03-24 11:22:31 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-03-24 11:22:31 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-03-24 11:22:31 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-03-24 11:22:31 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-03-24 11:22:31 0 [Note] InnoDB: Buffer pool(s) dump completed at 240324 11:22:31 mariadb | 2024-03-24 11:22:31 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-03-24 11:22:31 0 [Note] InnoDB: Shutdown completed; log sequence number 322279; transaction id 298 mariadb | 2024-03-24 11:22:31 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-03-24 11:22:31+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-03-24 11:22:31+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-03-24 11:22:31 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-03-24 11:22:31 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-03-24 11:22:31 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-03-24 11:22:31 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-03-24 11:22:31 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-03-24 11:22:31 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-03-24 11:22:31 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-03-24 11:22:31 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-03-24 11:22:31 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-03-24 11:22:31 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-03-24 11:22:31 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-03-24 11:22:31 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-03-24 11:22:31 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-03-24 11:22:31 0 [Note] InnoDB: log sequence number 322279; transaction id 299 mariadb | 2024-03-24 11:22:31 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-03-24 11:22:31 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-03-24 11:22:31 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-03-24 11:22:31 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-03-24 11:22:31 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-03-24 11:22:31 0 [Note] Server socket created on IP: '::'. mariadb | 2024-03-24 11:22:31 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mariadb | 2024-03-24 11:22:31 0 [Note] InnoDB: Buffer pool(s) load completed at 240324 11:22:31 mariadb | 2024-03-24 11:22:31 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) mariadb | 2024-03-24 11:22:31 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) prometheus | ts=2024-03-24T11:22:23.636Z caller=main.go:573 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2024-03-24T11:22:23.637Z caller=main.go:617 level=info msg="Starting Prometheus Server" mode=server version="(version=2.51.0, branch=HEAD, revision=c05c15512acb675e3f6cd662a6727854e93fc024)" prometheus | ts=2024-03-24T11:22:23.637Z 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-24T11:22:23.637Z caller=main.go:623 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" prometheus | ts=2024-03-24T11:22:23.637Z caller=main.go:624 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2024-03-24T11:22:23.637Z caller=main.go:625 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2024-03-24T11:22:23.642Z caller=web.go:568 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-03-24T11:22:23.644Z caller=main.go:1129 level=info msg="Starting TSDB ..." prometheus | ts=2024-03-24T11:22:23.646Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-03-24T11:22:23.646Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2024-03-24T11:22:23.648Z caller=head.go:616 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-03-24T11:22:23.648Z caller=head.go:698 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.27µs prometheus | ts=2024-03-24T11:22:23.648Z caller=head.go:706 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-03-24T11:22:23.648Z caller=head.go:778 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2024-03-24T11:22:23.648Z caller=head.go:815 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=25.09µs wal_replay_duration=259.06µs wbl_replay_duration=180ns total_replay_duration=311.77µs prometheus | ts=2024-03-24T11:22:23.653Z caller=main.go:1150 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2024-03-24T11:22:23.653Z caller=main.go:1153 level=info msg="TSDB started" prometheus | ts=2024-03-24T11:22:23.653Z caller=main.go:1335 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2024-03-24T11:22:23.655Z caller=main.go:1372 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.537976ms db_storage=1.17µs remote_storage=2.64µs web_handler=530ns query_engine=1.28µs scrape=660.729µs scrape_sd=201.759µs notify=32.17µs notify_sd=12.08µs rules=1.9µs tracing=7.03µs prometheus | ts=2024-03-24T11:22:23.655Z caller=main.go:1114 level=info msg="Server is ready to receive web requests." prometheus | ts=2024-03-24T11:22:23.655Z caller=manager.go:163 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2024-03-24T11:22:25.388610598Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=45.39µs grafana | logger=migrator t=2024-03-24T11:22:25.391297371Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-03-24T11:22:25.391846484Z level=info msg="Migration successfully executed" id="create quota table v1" duration=547.823µs grafana | logger=migrator t=2024-03-24T11:22:25.394911008Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2024-03-24T11:22:25.395470091Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=559.353µs grafana | logger=migrator t=2024-03-24T11:22:25.398162104Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2024-03-24T11:22:25.398191274Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=29.79µs grafana | logger=migrator t=2024-03-24T11:22:25.403146848Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2024-03-24T11:22:25.403709721Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=562.093µs grafana | logger=migrator t=2024-03-24T11:22:25.406388313Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2024-03-24T11:22:25.406983366Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=594.443µs grafana | logger=migrator t=2024-03-24T11:22:25.409674689Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2024-03-24T11:22:25.411681959Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.00657ms grafana | logger=migrator t=2024-03-24T11:22:25.417073275Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2024-03-24T11:22:25.417092535Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=19.75µs grafana | logger=migrator t=2024-03-24T11:22:25.419774628Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2024-03-24T11:22:25.42036934Z level=info msg="Migration successfully executed" id="create session table" duration=596.252µs grafana | logger=migrator t=2024-03-24T11:22:25.423266304Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2024-03-24T11:22:25.423327595Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=60.821µs grafana | logger=migrator t=2024-03-24T11:22:25.427148993Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2024-03-24T11:22:25.427206633Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=57.72µs grafana | logger=migrator t=2024-03-24T11:22:25.430218718Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-03-24T11:22:25.431058342Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=837.594µs grafana | logger=migrator t=2024-03-24T11:22:25.43478241Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2024-03-24T11:22:25.435891525Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.108605ms grafana | logger=migrator t=2024-03-24T11:22:25.441385961Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2024-03-24T11:22:25.441410491Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=24.87µs grafana | logger=migrator t=2024-03-24T11:22:25.444333315Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2024-03-24T11:22:25.444357375Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=23.94µs grafana | logger=migrator t=2024-03-24T11:22:25.447552441Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2024-03-24T11:22:25.452233363Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.679832ms grafana | logger=migrator t=2024-03-24T11:22:25.455954271Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2024-03-24T11:22:25.459020496Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.065645ms grafana | logger=migrator t=2024-03-24T11:22:25.463645538Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2024-03-24T11:22:25.463722109Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=76.701µs grafana | logger=migrator t=2024-03-24T11:22:25.466909934Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2024-03-24T11:22:25.466986024Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=75.84µs grafana | logger=migrator t=2024-03-24T11:22:25.47036425Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2024-03-24T11:22:25.471616186Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.250356ms grafana | logger=migrator t=2024-03-24T11:22:25.476817552Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2024-03-24T11:22:25.476884302Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=68.11µs grafana | logger=migrator t=2024-03-24T11:22:25.480469809Z level=info msg="Executing migration" id="Add column team_id in preferences" policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb (172.17.0.3) 3306 port [tcp/mysql] succeeded! policy-db-migrator | 321 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Preparing upgrade release version: 1300 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 policy-db-migrator | upgrade: 0 -> 1300 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:25.483606364Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.135875ms grafana | logger=migrator t=2024-03-24T11:22:25.48690987Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-03-24T11:22:25.48705787Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=147.95µs grafana | logger=migrator t=2024-03-24T11:22:25.490488517Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2024-03-24T11:22:25.493539712Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.050515ms grafana | logger=migrator t=2024-03-24T11:22:25.498120724Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2024-03-24T11:22:25.501348619Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.226575ms policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:25.504608385Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2024-03-24T11:22:25.504671225Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=62.9µs grafana | logger=migrator t=2024-03-24T11:22:25.53904844Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2024-03-24T11:22:25.540430437Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.381817ms grafana | logger=migrator t=2024-03-24T11:22:25.545420901Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2024-03-24T11:22:25.546613656Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.193425ms grafana | logger=migrator t=2024-03-24T11:22:25.550503635Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2024-03-24T11:22:25.55152735Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.023745ms grafana | logger=migrator t=2024-03-24T11:22:25.555435409Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2024-03-24T11:22:25.556309513Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=871.834µs grafana | logger=migrator t=2024-03-24T11:22:25.563622278Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-03-24T11:22:25.564404492Z level=info msg="Migration successfully executed" id="add index alert state" duration=781.734µs grafana | logger=migrator t=2024-03-24T11:22:25.568782063Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-03-24T11:22:25.570057639Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.275046ms grafana | logger=migrator t=2024-03-24T11:22:25.574343289Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-03-24T11:22:25.575439405Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=1.096456ms grafana | logger=migrator t=2024-03-24T11:22:25.580524879Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-03-24T11:22:25.581956036Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.431197ms grafana | logger=migrator t=2024-03-24T11:22:25.586094096Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-03-24T11:22:25.58686761Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=773.554µs grafana | logger=migrator t=2024-03-24T11:22:25.590339026Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-03-24T11:22:25.599674171Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=9.334815ms grafana | logger=migrator t=2024-03-24T11:22:25.604024002Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2024-03-24T11:22:25.604709065Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=683.173µs grafana | logger=migrator t=2024-03-24T11:22:25.608118932Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" grafana | logger=migrator t=2024-03-24T11:22:25.608943186Z 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=823.734µs grafana | logger=migrator t=2024-03-24T11:22:25.612709894Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2024-03-24T11:22:25.613203816Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=491.502µs grafana | logger=migrator t=2024-03-24T11:22:25.617676058Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2024-03-24T11:22:25.618511741Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=835.284µs grafana | logger=migrator t=2024-03-24T11:22:25.62225781Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2024-03-24T11:22:25.622997883Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=739.233µs grafana | logger=migrator t=2024-03-24T11:22:25.62646362Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2024-03-24T11:22:25.629879926Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.419396ms grafana | logger=migrator t=2024-03-24T11:22:25.633880105Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2024-03-24T11:22:25.637330402Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.449907ms grafana | logger=migrator t=2024-03-24T11:22:25.640790729Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2024-03-24T11:22:25.644232095Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.440956ms grafana | logger=migrator t=2024-03-24T11:22:25.647685082Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2024-03-24T11:22:25.651132458Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.446666ms grafana | logger=migrator t=2024-03-24T11:22:25.655518479Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-03-24T11:22:25.656324733Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=804.454µs grafana | logger=migrator t=2024-03-24T11:22:25.660267622Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2024-03-24T11:22:25.660293302Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=26.19µs grafana | logger=migrator t=2024-03-24T11:22:25.66395802Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2024-03-24T11:22:25.66398516Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=27.01µs grafana | logger=migrator t=2024-03-24T11:22:25.668317151Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2024-03-24T11:22:25.669496457Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.178905ms grafana | logger=migrator t=2024-03-24T11:22:25.673870177Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-03-24T11:22:25.674718271Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=847.294µs grafana | logger=migrator t=2024-03-24T11:22:25.679592565Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2024-03-24T11:22:25.680279328Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=685.013µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql grafana | logger=migrator t=2024-03-24T11:22:25.68489299Z level=info msg="Executing migration" id="create alert_notification_state table v1" policy-api | Waiting for mariadb port 3306... policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:25.686100396Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.206856ms policy-api | mariadb (172.17.0.3:3306) open policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-24T11:22:25.689918164Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" policy-api | Waiting for policy-db-migrator port 6824... policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:25.691258181Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.338977ms policy-api | policy-db-migrator (172.17.0.5:6824) open policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:25.69539243Z level=info msg="Executing migration" id="Add for to alert table" policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:25.699910612Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=4.519822ms policy-api | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2024-03-24T11:22:25.704150683Z level=info msg="Executing migration" id="Add column uid in alert_notification" policy-api | . ____ _ __ _ _ policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:25.710608544Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=6.456291ms policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 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-24T11:22:25.715836809Z level=info msg="Executing migration" id="Update uid column values in alert_notification" policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:25.716502642Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=666.153µs policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:25.721736027Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-db-migrator | policy-api | =========|_|==============|___/=/_/_/_/ policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2024-03-24T11:22:25.723040623Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.304406ms policy-api | :: Spring Boot :: (v3.1.8) policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:25.727799186Z level=info msg="Executing migration" id="Remove unique index org_id_name" policy-api | 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-24T11:22:25.72856262Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=762.994µs policy-api | [2024-03-24T11:22:38.942+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.10 with PID 21 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:25.731884806Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" policy-api | [2024-03-24T11:22:38.944+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-db-migrator | policy-api | [2024-03-24T11:22:40.628+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:25.735497323Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.612177ms policy-api | [2024-03-24T11:22:40.721+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 83 ms. Found 6 JPA repository interfaces. policy-db-migrator | > upgrade 0460-pdppolicystatus.sql grafana | logger=migrator t=2024-03-24T11:22:25.73897152Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" policy-api | [2024-03-24T11:22:41.141+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-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:25.73903386Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=62.84µs policy-api | [2024-03-24T11:22:41.141+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-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-24T11:22:25.743833383Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" policy-api | [2024-03-24T11:22:41.788+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:25.745114029Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.279806ms policy-api | [2024-03-24T11:22:41.799+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:25.749587821Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" policy-api | [2024-03-24T11:22:41.801+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:25.750990417Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.402026ms policy-api | [2024-03-24T11:22:41.801+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.18] policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2024-03-24T11:22:25.754896716Z level=info msg="Executing migration" id="Drop old annotation table v4" policy-api | [2024-03-24T11:22:41.899+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:25.754972186Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=75.84µs policy-api | [2024-03-24T11:22:41.899+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2879 ms 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-24T11:22:25.758973726Z level=info msg="Executing migration" id="create annotation table v5" policy-api | [2024-03-24T11:22:42.356+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:25.75981017Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=834.544µs policy-api | [2024-03-24T11:22:42.452+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:25.763693369Z level=info msg="Executing migration" id="add index annotation 0 v3" policy-api | [2024-03-24T11:22:42.455+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:25.765001725Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.307406ms policy-api | [2024-03-24T11:22:42.505+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2024-03-24T11:22:25.769742397Z level=info msg="Executing migration" id="add index annotation 1 v3" policy-api | [2024-03-24T11:22:42.896+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:25.772967373Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=3.224366ms 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-24T11:22:25.778935112Z level=info msg="Executing migration" id="add index annotation 2 v3" policy-api | [2024-03-24T11:22:42.917+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:25.779750256Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=814.584µs policy-api | [2024-03-24T11:22:43.018+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@63b3ee82 grafana | logger=migrator t=2024-03-24T11:22:25.784444608Z level=info msg="Executing migration" id="add index annotation 3 v3" policy-db-migrator | policy-api | [2024-03-24T11:22:43.020+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-db-migrator | policy-api | [2024-03-24T11:22:44.890+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) grafana | logger=migrator t=2024-03-24T11:22:25.785353182Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=908.234µs policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2024-03-24T11:22:25.7889642Z level=info msg="Executing migration" id="add index annotation 4 v3" policy-api | [2024-03-24T11:22:44.893+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:25.789880054Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=915.274µs policy-api | [2024-03-24T11:22:45.914+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-api | [2024-03-24T11:22:46.770+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] grafana | logger=migrator t=2024-03-24T11:22:25.794352756Z level=info msg="Executing migration" id="Update annotation table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:25.794377076Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=24.04µs policy-api | [2024-03-24T11:22:47.880+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-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:25.797993473Z level=info msg="Executing migration" id="Add column region_id to annotation table" policy-api | [2024-03-24T11:22:48.105+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@78b9d614, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@63f95ac1, org.springframework.security.web.context.SecurityContextHolderFilter@4b7feb38, org.springframework.security.web.header.HeaderWriterFilter@31829b82, org.springframework.security.web.authentication.logout.LogoutFilter@7b1466e3, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@31475919, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@700f356b, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@712ce4f1, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@14a7e16e, org.springframework.security.web.access.ExceptionTranslationFilter@3005133e, org.springframework.security.web.access.intercept.AuthorizationFilter@285bee4e] policy-db-migrator | policy-api | [2024-03-24T11:22:48.913+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-db-migrator | > upgrade 0500-pdpsubgroup.sql grafana | logger=migrator t=2024-03-24T11:22:25.8038251Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=5.832667ms policy-api | [2024-03-24T11:22:49.005+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] grafana | logger=migrator t=2024-03-24T11:22:25.809623988Z level=info msg="Executing migration" id="Drop category_id index" policy-db-migrator | -------------- policy-api | [2024-03-24T11:22:49.030+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/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-24T11:22:25.810524282Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=900.694µs policy-api | [2024-03-24T11:22:49.050+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.859 seconds (process running for 11.446) policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:25.814931474Z level=info msg="Executing migration" id="Add column tags to annotation table" policy-db-migrator | policy-api | [2024-03-24T11:22:56.015+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-3] Initializing Spring DispatcherServlet 'dispatcherServlet' grafana | logger=migrator t=2024-03-24T11:22:25.818803932Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=3.873918ms policy-db-migrator | policy-api | [2024-03-24T11:22:56.016+00:00|INFO|DispatcherServlet|http-nio-6969-exec-3] Initializing Servlet 'dispatcherServlet' grafana | logger=migrator t=2024-03-24T11:22:25.822336579Z level=info msg="Executing migration" id="Create annotation_tag table v2" policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-api | [2024-03-24T11:22:56.017+00:00|INFO|DispatcherServlet|http-nio-6969-exec-3] Completed initialization in 1 ms grafana | logger=migrator t=2024-03-24T11:22:25.823008352Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=671.373µs policy-db-migrator | -------------- policy-api | [2024-03-24T11:22:59.175+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-5] ***** OrderedServiceImpl implementers: grafana | logger=migrator t=2024-03-24T11:22:25.827871785Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-api | [] grafana | logger=migrator t=2024-03-24T11:22:25.829015121Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.141446ms policy-db-migrator | -------------- policy-api | [2024-03-24T11:22:59.305+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes grafana | logger=migrator t=2024-03-24T11:22:25.835306351Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" policy-db-migrator | policy-api | [2024-03-24T11:22:59.564+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes grafana | logger=migrator t=2024-03-24T11:22:25.836631438Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.320897ms policy-db-migrator | policy-api | [2024-03-24T11:23:00.928+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies grafana | logger=migrator t=2024-03-24T11:22:25.840082194Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-api | [2024-03-24T11:23:03.003+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:25.856516713Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=16.427179ms policy-api | [2024-03-24T11:23:03.313+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-03-24T11:23:03.532+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 grafana | logger=migrator t=2024-03-24T11:22:25.860753324Z level=info msg="Executing migration" id="Create annotation_tag table v3" policy-api | [2024-03-24T11:23:03.785+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 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-24T11:22:25.861362047Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=605.423µs policy-api | [2024-03-24T11:23:04.024+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:25.865353306Z 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-api | [2024-03-24T11:23:04.243+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:25.866387081Z level=info msg="Migration successfully executed" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" duration=1.032935ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:25.870956002Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql grafana | logger=migrator t=2024-03-24T11:22:25.871302524Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=346.352µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:25.875467464Z level=info msg="Executing migration" id="drop table annotation_tag_v2" 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-24T11:22:25.876003727Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=536.543µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:25.880536688Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:25.880716939Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=180.831µs policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:25.884812929Z level=info msg="Executing migration" id="Add created time to annotation table" policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql grafana | logger=migrator t=2024-03-24T11:22:25.889087209Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.27367ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:25.894196034Z level=info msg="Executing migration" id="Add updated time to annotation table" 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-24T11:22:25.898286494Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.09035ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:25.901599229Z level=info msg="Executing migration" id="Add index for created in annotation table" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:25.902521214Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=919.665µs policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:25.907766609Z level=info msg="Executing migration" id="Add index for updated in annotation table" policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql grafana | logger=migrator t=2024-03-24T11:22:25.908668934Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=901.995µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:25.912730993Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" 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-24T11:22:25.913009434Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=276.991µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:25.918626501Z level=info msg="Executing migration" id="Add epoch_end column" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:25.926074347Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=7.450926ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:25.954512194Z level=info msg="Executing migration" id="Add index for epoch_end" policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql grafana | logger=migrator t=2024-03-24T11:22:25.956008051Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.492967ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:25.960316481Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" 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-24T11:22:25.960602433Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=286.492µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:25.966489591Z level=info msg="Executing migration" id="Move region to single row" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:25.966914923Z level=info msg="Migration successfully executed" id="Move region to single row" duration=426.682µs policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:25.97032702Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" policy-db-migrator | > upgrade 0570-toscadatatype.sql grafana | logger=migrator t=2024-03-24T11:22:25.971165874Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=839.364µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:25.975475384Z 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 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-24T11:22:25.976424189Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=945.795µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:25.980042986Z 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-24T11:22:25.980963351Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=919.235µs policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:25.985221691Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" policy-db-migrator | > upgrade 0580-toscadatatypes.sql grafana | logger=migrator t=2024-03-24T11:22:25.986081535Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=859.224µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:25.990933968Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" 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-24T11:22:25.991688982Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=754.454µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:25.994950568Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:25.995762012Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=814.644µs policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql grafana | logger=migrator t=2024-03-24T11:22:26.000069472Z level=info msg="Executing migration" id="Increase tags column to length 4096" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.000135203Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=66.581µ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-24T11:22:26.005013996Z level=info msg="Executing migration" id="create test_data table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.006399011Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.384955ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.012604196Z level=info msg="Executing migration" id="create dashboard_version table v1" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.013433719Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=829.493µs policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=migrator t=2024-03-24T11:22:26.019241862Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.020104295Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=862.343µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) grafana | logger=migrator t=2024-03-24T11:22:26.023504408Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.024358922Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=853.884µs policy-db-migrator | > upgrade 0610-toscanodetemplates.sql grafana | logger=migrator t=2024-03-24T11:22:26.02886463Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.0290402Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=175.77µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) grafana | logger=migrator t=2024-03-24T11:22:26.035069754Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.035550316Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=480.642µs policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.041533239Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.04160182Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=68.981µs policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql grafana | logger=migrator t=2024-03-24T11:22:26.045705966Z level=info msg="Executing migration" id="create team table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.046440469Z level=info msg="Migration successfully executed" id="create team table" duration=734.413µs 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-24T11:22:26.049875772Z level=info msg="Executing migration" id="add index team.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.050889156Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.012944ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.057714903Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.058605767Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=891.054µs policy-db-migrator | > upgrade 0630-toscanodetype.sql grafana | logger=migrator t=2024-03-24T11:22:26.062607692Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.070251562Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=7.63704ms 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-24T11:22:26.073098484Z level=info msg="Executing migration" id="Update uid column values in team" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.073359335Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=263.021µs policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.076941549Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.079366978Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=2.425029ms policy-db-migrator | > upgrade 0640-toscanodetypes.sql grafana | logger=migrator t=2024-03-24T11:22:26.083818736Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.084646519Z level=info msg="Migration successfully executed" id="create team member table" duration=829.413µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) grafana | logger=migrator t=2024-03-24T11:22:26.087767201Z level=info msg="Executing migration" id="add index team_member.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.089338967Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.572416ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.096509396Z 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-24T11:22:26.098033372Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.523996ms policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2024-03-24T11:22:26.103460373Z level=info msg="Executing migration" id="add index team_member.team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.104321336Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=861.183µs 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-24T11:22:26.111780796Z level=info msg="Executing migration" id="Add column email to team table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.116906536Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=5.12465ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.122057036Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.1280902Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=6.029714ms policy-db-migrator | > upgrade 0660-toscaparameter.sql grafana | logger=migrator t=2024-03-24T11:22:26.132042745Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.137162236Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=5.119471ms grafana | logger=migrator t=2024-03-24T11:22:26.142634957Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2024-03-24T11:22:26.143627601Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=991.744µs 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-24T11:22:26.149256513Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.150134027Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=876.714µs policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.154752335Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.155942409Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.190044ms policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2024-03-24T11:22:26.161671662Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.163264318Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.591196ms 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-24T11:22:26.167864326Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.169095841Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.231145ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.175642986Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.177195853Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.553047ms policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2024-03-24T11:22:26.182243632Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.183826029Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.581607ms 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-24T11:22:26.189054249Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.189967633Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=910.044µs policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.194815842Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.195615635Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=798.823µs policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2024-03-24T11:22:26.201573018Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.20195432Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=381.432µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) grafana | logger=migrator t=2024-03-24T11:22:26.205834215Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.20712182Z level=info msg="Migration successfully executed" id="create tag table" duration=1.286885ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.211434367Z level=info msg="Executing migration" id="add index tag.key_value" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.212315921Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=878.954µs policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2024-03-24T11:22:26.216921699Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.217630202Z level=info msg="Migration successfully executed" id="create login attempt table" duration=708.313µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) grafana | logger=migrator t=2024-03-24T11:22:26.223475084Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.224363028Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=886.634µs policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.23013729Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.231589376Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.451356ms policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2024-03-24T11:22:26.235489951Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.251532115Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=16.043324ms 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-24T11:22:26.256460004Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.257027426Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=567.042µs policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.26303359Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.264294335Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.259895ms policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2024-03-24T11:22:26.268677102Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.269165044Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=487.212µ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-24T11:22:26.273750722Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.274763386Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=1.012104ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.279366184Z level=info msg="Executing migration" id="create user auth table" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.280586248Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.219384ms policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2024-03-24T11:22:26.284465314Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.285378727Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=912.633µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-03-24T11:22:26.291870613Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.291937463Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=67.04µs policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.296398721Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.30381047Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=7.412249ms policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2024-03-24T11:22:26.307407104Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.312404804Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=4.99754ms 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-24T11:22:26.317696084Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.322903855Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.207431ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.326513049Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.331557169Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.04321ms policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2024-03-24T11:22:26.335977206Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.33693419Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=956.294µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) grafana | logger=migrator t=2024-03-24T11:22:26.375809072Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.382399788Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=6.589626ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.386732365Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.387564839Z level=info msg="Migration successfully executed" id="create server_lock table" duration=832.054µs policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2024-03-24T11:22:26.392540488Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.393480672Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=936.524µ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-24T11:22:26.399263175Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.400167498Z level=info msg="Migration successfully executed" id="create user auth token table" duration=904.053µs policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.407198265Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.408990193Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.791008ms policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2024-03-24T11:22:26.416337361Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.417849057Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.510656ms 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-24T11:22:26.422716527Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.424741644Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=2.023847ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.430403107Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | policy-db-migrator | > upgrade 0780-toscarequirements.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.43887343Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=8.471893ms 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-24T11:22:26.443719299Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.444393692Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=674.123µs policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.449343201Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.450853477Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.511956ms policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2024-03-24T11:22:26.456249908Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.457819155Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.569227ms 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-24T11:22:26.46163526Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.463041985Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.405955ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.468206545Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.46935053Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.142814ms policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2024-03-24T11:22:26.476093756Z 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-24T11:22:26.476165046Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=72.66µs 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-24T11:22:26.482591292Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.482723472Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=133.49µs policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.488483035Z level=info msg="Executing migration" id="recreate alert_definition table" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.489969041Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.485016ms policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2024-03-24T11:22:26.495740493Z 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-24T11:22:26.496706127Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=965.594µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-03-24T11:22:26.501717597Z 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-24T11:22:26.503575634Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.857077ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.508378053Z 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-24T11:22:26.508549714Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=171.721µs policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2024-03-24T11:22:26.513651524Z 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-24T11:22:26.51527251Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.621116ms grafana | logger=migrator t=2024-03-24T11:22:26.518714484Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" grafana | logger=migrator t=2024-03-24T11:22:26.520152149Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.437485ms 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-24T11:22:26.524305475Z 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-24T11:22:26.525334159Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.028264ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.529978048Z 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-24T11:22:26.531629354Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.652806ms policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-03-24T11:22:26.53578894Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.541687884Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.899664ms policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2024-03-24T11:22:26.545591659Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.546610683Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.018374ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.551264021Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.551438512Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=173.931µs policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-03-24T11:22:26.555636718Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.557163804Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.526066ms policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-03-24T11:22:26.562623456Z 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-24T11:22:26.564284272Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.659616ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.56883505Z 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-24T11:22:26.570665208Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.829328ms policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-03-24T11:22:26.574187651Z 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-24T11:22:26.574411452Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=223.061µs policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-03-24T11:22:26.579144031Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.580144075Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=999.414µs policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.587445633Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.589371021Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.923948ms policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2024-03-24T11:22:26.59439463Z 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-24T11:22:26.595431945Z 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.036385ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.600471244Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.601649899Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.178455ms policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-03-24T11:22:26.60690421Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.613465955Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=6.561085ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2024-03-24T11:22:26.618354995Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.619343459Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=988.054µs policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.625085261Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.625993575Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=908.814µs policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-03-24T11:22:26.62994437Z 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-24T11:22:26.663705083Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=33.737793ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2024-03-24T11:22:26.667765839Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.718833049Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=51.06673ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.724839193Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.725705466Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=865.923µs policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-03-24T11:22:26.729988973Z 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-24T11:22:26.73184204Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.850487ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2024-03-24T11:22:26.738047345Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.747599782Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=9.556077ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.753927027Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.760584153Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=6.650056ms policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-03-24T11:22:26.767882902Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.769015006Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.132694ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2024-03-24T11:22:26.774066016Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.775606992Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.540626ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.78025686Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.781662606Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.407086ms policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-03-24T11:22:26.821255291Z 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-24T11:22:26.82336366Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=2.110829ms policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2024-03-24T11:22:26.830761649Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.830904999Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=146.18µs policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.836953603Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.84653235Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=9.579487ms policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-03-24T11:22:26.853176557Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.862869645Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=9.691208ms policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2024-03-24T11:22:26.86678379Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.870984657Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=4.197217ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.874567761Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.876095987Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.529226ms policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2024-03-24T11:22:26.882171241Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.883789637Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.617966ms policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2024-03-24T11:22:26.888714436Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.895431963Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.722457ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.898422715Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.904171677Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=5.748652ms policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-03-24T11:22:26.907671921Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.908684894Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.010203ms policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2024-03-24T11:22:26.915726582Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.923570843Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=7.844501ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.928135151Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.936923166Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=8.785985ms policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-03-24T11:22:26.943286751Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.943368551Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=78.96µ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-24T11:22:26.947147296Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.948387331Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.239745ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.954617405Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.957207455Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" duration=2.58698ms policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-03-24T11:22:26.964419304Z 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-24T11:22:26.965755669Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" duration=1.338165ms 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-24T11:22:26.969004642Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.969052152Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=47.76µs policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.973223098Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:26.980059045Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.835037ms policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-03-24T11:22:26.985406666Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:26.992144302Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.737656ms 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-24T11:22:26.996335509Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.001194858Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=4.859619ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.006804347Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.013553656Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.749369ms policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-03-24T11:22:27.018436281Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.025162699Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.725498ms 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-24T11:22:27.028928756Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.028999487Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=67.931µs policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.032927575Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.033711361Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=782.996µs policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-03-24T11:22:27.039835584Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.049708385Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=9.871011ms 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-24T11:22:27.053849985Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.053896595Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=46.97µs policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.058078125Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.062889739Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=4.813584ms policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-03-24T11:22:27.068230978Z 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-24T11:22:27.069250475Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.018647ms 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-24T11:22:27.074374141Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.080756227Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.381456ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.084939077Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.085879214Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=939.797µs policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-03-24T11:22:27.092739923Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.094467215Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.726822ms 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-24T11:22:27.099744753Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.106484271Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.740128ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.110104577Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.110729642Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=624.594µs policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-03-24T11:22:27.116340642Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-03-24T11:22:27.117888413Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.545091ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.124580841Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.126382374Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.800813ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.131577951Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-03-24T11:22:27.133242083Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.664152ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.138208779Z level=info msg="Executing migration" id="support longer URLs in alert_image table" 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-24T11:22:27.13827643Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=66.501µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.144060231Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.145538812Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.477921ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.149086038Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-03-24T11:22:27.15086728Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.780492ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.155056261Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" 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-24T11:22:27.155427123Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.162730686Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.163365341Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=635.895µs policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.167081017Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-03-24T11:22:27.168627818Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.545851ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.17155915Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" grafana | logger=migrator t=2024-03-24T11:22:27.178623861Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=7.065601ms grafana | logger=migrator t=2024-03-24T11:22:27.186237166Z level=info msg="Executing migration" id="create library_element table v1" 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-24T11:22:27.187731166Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.49152ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.192996464Z 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-24T11:22:27.194599236Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.603072ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.200929981Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-03-24T11:22:27.201745627Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=815.416µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.207782821Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-03-24T11:22:27.209436963Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.652852ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.213817994Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.214830752Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.012238ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.219293644Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-03-24T11:22:27.219314234Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=21.58µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.225519609Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-03-24T11:22:27.225619469Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=100.65µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.229956301Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.230392944Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=436.233µs policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.270218871Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-03-24T11:22:27.271733772Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.515731ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.27708925Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-03-24T11:22:27.278730282Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.640272ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.286826941Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.319194004Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=32.368043ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.323704027Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2024-03-24T11:22:27.330814628Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=7.109671ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.33387463Z level=info msg="Executing migration" id="copy data_keys id column values into name" 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-24T11:22:27.334013361Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=138.571µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.338676645Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.3699273Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=31.250856ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.372567159Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-03-24T11:22:27.402005061Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=29.437372ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.404887942Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.405533396Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=645.104µs policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.411290578Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.412308785Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.017397ms grafana | logger=migrator t=2024-03-24T11:22:27.417004579Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2024-03-24T11:22:27.417310801Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=306.082µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.420498854Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.42268857Z level=info msg="Migration successfully executed" id="create permission table" duration=2.188546ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.429422839Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-03-24T11:22:27.430424186Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.001567ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.434084182Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-03-24T11:22:27.435963956Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.877784ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.439741443Z level=info msg="Executing migration" id="create role table" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.441097983Z level=info msg="Migration successfully executed" id="create role table" duration=1.35563ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.446806374Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-03-24T11:22:27.454467209Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.662175ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.457597652Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-03-24T11:22:27.464757103Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.158981ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.468130178Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.469723509Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.592841ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.473614997Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-03-24T11:22:27.475039608Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.424811ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.480384796Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-03-24T11:22:27.481465894Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.077558ms policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-03-24T11:22:27.485183171Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-03-24T11:22:27.486056597Z level=info msg="Migration successfully executed" id="create team role table" duration=872.736µs policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-03-24T11:22:27.489729903Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.491059523Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.32752ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.497094546Z 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-24T11:22:27.498829819Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.735133ms policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-03-24T11:22:27.502594306Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.503594243Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=997.977µs policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2024-03-24T11:22:27.509805048Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.511183718Z level=info msg="Migration successfully executed" id="create user role table" duration=1.37754ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.515106366Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.516696918Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.588992ms policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-03-24T11:22:27.520675147Z 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-24T11:22:27.521721444Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.045927ms 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-24T11:22:27.528719545Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.530744229Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=2.021864ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.541168855Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.542092571Z level=info msg="Migration successfully executed" id="create builtin role table" duration=923.726µs policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2024-03-24T11:22:27.55160411Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.553640364Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=2.035394ms policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2024-03-24T11:22:27.563718767Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.565205007Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.48559ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.576105666Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.586749423Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=10.644567ms policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-03-24T11:22:27.598126125Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.599809037Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.682202ms 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-24T11:22:27.609473417Z 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-24T11:22:27.610905907Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.42988ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.617548845Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.619145727Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.596902ms policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-03-24T11:22:27.623938891Z level=info msg="Executing migration" id="add unique index role.uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.624972049Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.030958ms policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2024-03-24T11:22:27.62795713Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.629252179Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.295139ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.635373504Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.637181667Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.807023ms policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-03-24T11:22:27.64042542Z level=info msg="Executing migration" id="add column hidden to role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.650776065Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=10.351315ms 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-24T11:22:27.654195699Z level=info msg="Executing migration" id="permission kind migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.661891365Z level=info msg="Migration successfully executed" id="permission kind migration" duration=7.694906ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.667174273Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.672631492Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=5.457049ms policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-03-24T11:22:27.676214538Z level=info msg="Executing migration" id="permission identifier migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.684089515Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.874747ms 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-24T11:22:27.716831871Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.718728794Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.892803ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.724469386Z level=info msg="Executing migration" id="add permission action scope role_id index" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.72646745Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=1.995684ms policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2024-03-24T11:22:27.730335448Z level=info msg="Executing migration" id="remove permission role_id action scope index" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.73201987Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.684712ms policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-03-24T11:22:27.735503716Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.736988296Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.485411ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.742065223Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.743152631Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.086318ms policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-03-24T11:22:27.747095069Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.74724291Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=148.501µs policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-03-24T11:22:27.751273629Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.75133097Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=58.701µs policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.756004473Z level=info msg="Executing migration" id="teams permissions migration" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.756418756Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=414.633µs policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-03-24T11:22:27.761000259Z level=info msg="Executing migration" id="dashboard permissions" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.761524893Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=525.024µs policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-03-24T11:22:27.766408308Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.767452976Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.042198ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.773183037Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.77362947Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=446.293µs policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-03-24T11:22:27.778497906Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.779202661Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=704.265µs policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-03-24T11:22:27.783000358Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.783774894Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=773.966µs policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.789418134Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.791223257Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.804313ms policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2024-03-24T11:22:27.797252141Z level=info msg="Executing migration" id="add column org_id in query_history_star" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.805612921Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.36091ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.809144266Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2024-03-24T11:22:27.809361738Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=217.642µs grafana | logger=migrator t=2024-03-24T11:22:27.813524938Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.815362891Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.837613ms policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2024-03-24T11:22:27.821445405Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.822642284Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.196559ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.826519412Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.827272957Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=753.755µs policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2024-03-24T11:22:27.831120895Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY grafana | logger=migrator t=2024-03-24T11:22:27.837082928Z level=info msg="Migration successfully executed" id="add correlation config column" duration=5.961343ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.841281738Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.842810839Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.528881ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.846027312Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2024-03-24T11:22:27.84715329Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.126038ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.850295473Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.872911016Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=22.615203ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.877709481Z level=info msg="Executing migration" id="create correlation v2" policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2024-03-24T11:22:27.879672855Z level=info msg="Migration successfully executed" id="create correlation v2" duration=1.962684ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.883625024Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-03-24T11:22:27.884916283Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.294839ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.888794061Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.89011579Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.319729ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.894884145Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=migrator t=2024-03-24T11:22:27.896033523Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.149588ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.900108122Z level=info msg="Executing migration" id="copy correlation v1 to v2" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.900684337Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=571.555µs policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.905102338Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-03-24T11:22:27.906554539Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.451931ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.911224883Z level=info msg="Executing migration" id="add provisioning column" policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=migrator t=2024-03-24T11:22:27.919359911Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.134918ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.922621295Z level=info msg="Executing migration" id="create entity_events table" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.923600142Z level=info msg="Migration successfully executed" id="create entity_events table" duration=979.468µs policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.928021304Z level=info msg="Executing migration" id="create dashboard public config v1" policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=migrator t=2024-03-24T11:22:27.929470004Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.44875ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.933664324Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2024-03-24T11:22:27.934266808Z 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-24T11:22:27.937832764Z 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-24T11:22:27.938411998Z 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 | msg grafana | logger=migrator t=2024-03-24T11:22:27.941835043Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2024-03-24T11:22:27.94278256Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=947.267µs policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.94699537Z level=info msg="Executing migration" id="recreate dashboard public config v1" policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2024-03-24T11:22:27.948061758Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.066208ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.952036007Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2024-03-24T11:22:27.953322416Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.286559ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.958193551Z 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-24T11:22:27.959725042Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.532901ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.963681111Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-03-24T11:22:27.964888439Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.207728ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.968275904Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-03-24T11:22:27.969397202Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.121468ms grafana | logger=migrator t=2024-03-24T11:22:27.973524052Z level=info msg="Executing migration" id="Drop public config table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.974388478Z level=info msg="Migration successfully executed" id="Drop public config table" duration=864.476µs policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.977857933Z level=info msg="Executing migration" id="Recreate dashboard public config v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.979472554Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.612841ms policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-03-24T11:22:27.984491941Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.986426905Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.933654ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:27.989738678Z 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-24T11:22:27.991018468Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.28003ms policy-db-migrator | > upgrade 0120-audit_sequence.sql grafana | logger=migrator t=2024-03-24T11:22:27.994659574Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:27.995834792Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.175608ms 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-24T11:22:28.000712448Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:28.025730191Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=25.017903ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:28.029543997Z level=info msg="Executing migration" id="add annotations_enabled column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:28.037270138Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=7.723851ms policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) grafana | logger=migrator t=2024-03-24T11:22:28.039796978Z level=info msg="Executing migration" id="add time_selection_enabled column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:28.047114408Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=7.31617ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:28.050831813Z level=info msg="Executing migration" id="delete orphaned public dashboards" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:28.051160544Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=328.341µs policy-db-migrator | > upgrade 0130-statistics_sequence.sql grafana | logger=migrator t=2024-03-24T11:22:28.053351153Z level=info msg="Executing migration" id="add share column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:28.061666016Z level=info msg="Migration successfully executed" id="add share column" duration=8.314263ms 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-24T11:22:28.064366027Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:28.064544848Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=132.85µs policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:28.067231508Z level=info msg="Executing migration" id="create file table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:28.067960461Z level=info msg="Migration successfully executed" id="create file table" duration=728.543µs 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-24T11:22:28.071851746Z level=info msg="Executing migration" id="file table idx: path natural pk" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:28.073022231Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.170505ms policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:28.076417434Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:28.077582289Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.164725ms policy-db-migrator | TRUNCATE TABLE sequence grafana | logger=migrator t=2024-03-24T11:22:28.080913262Z level=info msg="Executing migration" id="create file_meta table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:28.081763815Z level=info msg="Migration successfully executed" id="create file_meta table" duration=850.093µs policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:28.085837471Z level=info msg="Executing migration" id="file table idx: path key" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:28.086999546Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.163555ms policy-db-migrator | > upgrade 0100-pdpstatistics.sql grafana | logger=migrator t=2024-03-24T11:22:28.091369193Z level=info msg="Executing migration" id="set path collation in file table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:28.091427703Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=61.8µs policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-03-24T11:22:28.094537656Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:28.094595996Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=59.181µs policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:28.097004985Z level=info msg="Executing migration" id="managed permissions migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:28.097769958Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=763.173µs policy-db-migrator | DROP TABLE pdpstatistics grafana | logger=migrator t=2024-03-24T11:22:28.128350919Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:28.128736971Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=385.102µs policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:28.132109164Z level=info msg="Executing migration" id="RBAC action name migrator" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:28.134346453Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=2.236569ms policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-03-24T11:22:28.137835656Z level=info msg="Executing migration" id="Add UID column to playlist" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:28.146789472Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.952696ms policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats grafana | logger=migrator t=2024-03-24T11:22:28.151201599Z level=info msg="Executing migration" id="Update uid column values in playlist" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:28.1514602Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=260.011µs policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:28.154735863Z level=info msg="Executing migration" id="Add index for uid in playlist" policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:28.156006598Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.270585ms policy-db-migrator | > upgrade 0120-statistics_sequence.sql grafana | logger=migrator t=2024-03-24T11:22:28.159757113Z level=info msg="Executing migration" id="update group index for alert rules" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:28.160241434Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=481.371µs policy-db-migrator | DROP TABLE statistics_sequence grafana | logger=migrator t=2024-03-24T11:22:28.163429877Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-24T11:22:28.163727268Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=296.491µs policy-db-migrator | grafana | logger=migrator t=2024-03-24T11:22:28.167794244Z level=info msg="Executing migration" id="admin only folder/dashboard permission" policy-db-migrator | policyadmin: OK: upgrade (1300) grafana | logger=migrator t=2024-03-24T11:22:28.168360926Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=566.152µs policy-db-migrator | name version grafana | logger=migrator t=2024-03-24T11:22:28.1717701Z level=info msg="Executing migration" id="add action column to seed_assignment" policy-db-migrator | policyadmin 1300 grafana | logger=migrator t=2024-03-24T11:22:28.183524246Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=11.755256ms policy-db-migrator | ID script operation from_version to_version tag success atTime grafana | logger=migrator t=2024-03-24T11:22:28.18695269Z level=info msg="Executing migration" id="add scope column to seed_assignment" policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:31 grafana | logger=migrator t=2024-03-24T11:22:28.195931995Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.978265ms policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:32 grafana | logger=migrator t=2024-03-24T11:22:28.200217622Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:32 grafana | logger=migrator t=2024-03-24T11:22:28.201040175Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=822.133µs policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:32 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:32 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:32 grafana | logger=migrator t=2024-03-24T11:22:28.203907227Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:32 grafana | logger=migrator t=2024-03-24T11:22:28.274811456Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=70.903439ms policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:32 grafana | logger=migrator t=2024-03-24T11:22:28.27846351Z level=info msg="Executing migration" id="add unique index builtin_role_name back" policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:32 grafana | logger=migrator t=2024-03-24T11:22:28.279319644Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=855.884µs policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:32 grafana | logger=migrator t=2024-03-24T11:22:28.283730201Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:32 grafana | logger=migrator t=2024-03-24T11:22:28.284606375Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=875.454µs policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:32 grafana | logger=migrator t=2024-03-24T11:22:28.288728161Z level=info msg="Executing migration" id="add primary key to seed_assigment" policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:32 grafana | logger=migrator t=2024-03-24T11:22:28.315700657Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=26.973596ms policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:32 grafana | logger=migrator t=2024-03-24T11:22:28.320871757Z level=info msg="Executing migration" id="add origin column to seed_assignment" policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:32 grafana | logger=migrator t=2024-03-24T11:22:28.328161926Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=7.288839ms policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:32 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:32 grafana | logger=migrator t=2024-03-24T11:22:28.33173539Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:32 grafana | logger=migrator t=2024-03-24T11:22:28.332143242Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=407.452µs policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:32 grafana | logger=migrator t=2024-03-24T11:22:28.335712266Z level=info msg="Executing migration" id="prevent seeding OnCall access" policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:32 grafana | logger=migrator t=2024-03-24T11:22:28.335976987Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=264.421µs policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:32 grafana | logger=migrator t=2024-03-24T11:22:28.339566361Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:32 grafana | logger=migrator t=2024-03-24T11:22:28.339859742Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=293.181µs policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:32 grafana | logger=migrator t=2024-03-24T11:22:28.344266199Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:32 grafana | logger=migrator t=2024-03-24T11:22:28.344763271Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=496.292µs policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:32 grafana | logger=migrator t=2024-03-24T11:22:28.348738977Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:32 grafana | logger=migrator t=2024-03-24T11:22:28.349129548Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=390.221µs policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:33 grafana | logger=migrator t=2024-03-24T11:22:28.353215775Z level=info msg="Executing migration" id="create folder table" policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:33 grafana | logger=migrator t=2024-03-24T11:22:28.354110718Z level=info msg="Migration successfully executed" id="create folder table" duration=894.463µs policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:33 grafana | logger=migrator t=2024-03-24T11:22:28.357672702Z level=info msg="Executing migration" id="Add index for parent_uid" policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:33 grafana | logger=migrator t=2024-03-24T11:22:28.358967757Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.292435ms policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:33 grafana | logger=migrator t=2024-03-24T11:22:28.363832736Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:33 grafana | logger=migrator t=2024-03-24T11:22:28.365081581Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.250005ms policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:33 grafana | logger=migrator t=2024-03-24T11:22:28.369054227Z level=info msg="Executing migration" id="Update folder title length" policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:33 grafana | logger=migrator t=2024-03-24T11:22:28.369075417Z level=info msg="Migration successfully executed" id="Update folder title length" duration=21.97µs policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:33 grafana | logger=migrator t=2024-03-24T11:22:28.372704802Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:33 grafana | logger=migrator t=2024-03-24T11:22:28.374671829Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.966597ms policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:33 grafana | logger=migrator t=2024-03-24T11:22:28.379643719Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:33 grafana | logger=migrator t=2024-03-24T11:22:28.380775433Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.131514ms policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:33 grafana | logger=migrator t=2024-03-24T11:22:28.384272507Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:33 grafana | logger=migrator t=2024-03-24T11:22:28.385523542Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.250445ms grafana | logger=migrator t=2024-03-24T11:22:28.390421251Z level=info msg="Executing migration" id="Sync dashboard and folder table" grafana | logger=migrator t=2024-03-24T11:22:28.390939913Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=518.172µs policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:33 grafana | logger=migrator t=2024-03-24T11:22:28.394708148Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:33 grafana | logger=migrator t=2024-03-24T11:22:28.39523743Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=528.212µs policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:33 grafana | logger=migrator t=2024-03-24T11:22:28.399040105Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:33 grafana | logger=migrator t=2024-03-24T11:22:28.400794442Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.756097ms policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:33 grafana | logger=migrator t=2024-03-24T11:22:28.405532971Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:33 grafana | logger=migrator t=2024-03-24T11:22:28.406772116Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=1.238665ms policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:33 grafana | logger=migrator t=2024-03-24T11:22:28.411121793Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:33 grafana | logger=migrator t=2024-03-24T11:22:28.412271527Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.149604ms policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:33 grafana | logger=migrator t=2024-03-24T11:22:28.41558946Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:33 grafana | logger=migrator t=2024-03-24T11:22:28.416808255Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.218255ms policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:33 grafana | logger=migrator t=2024-03-24T11:22:28.421062662Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:33 grafana | logger=migrator t=2024-03-24T11:22:28.422622968Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.558786ms policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:34 grafana | logger=migrator t=2024-03-24T11:22:28.426392483Z level=info msg="Executing migration" id="create anon_device table" policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:34 grafana | logger=migrator t=2024-03-24T11:22:28.427799998Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.406315ms policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:34 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:34 grafana | logger=migrator t=2024-03-24T11:22:28.431211212Z level=info msg="Executing migration" id="add unique index anon_device.device_id" policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:34 grafana | logger=migrator t=2024-03-24T11:22:28.432373066Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.160704ms policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:34 grafana | logger=migrator t=2024-03-24T11:22:28.437248106Z level=info msg="Executing migration" id="add index anon_device.updated_at" policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:34 grafana | logger=migrator t=2024-03-24T11:22:28.43838553Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.136174ms policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:34 grafana | logger=migrator t=2024-03-24T11:22:28.442116275Z level=info msg="Executing migration" id="create signing_key table" policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:34 grafana | logger=migrator t=2024-03-24T11:22:28.443089319Z level=info msg="Migration successfully executed" id="create signing_key table" duration=971.974µs policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:34 grafana | logger=migrator t=2024-03-24T11:22:28.447119745Z level=info msg="Executing migration" id="add unique index signing_key.key_id" policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:34 grafana | logger=migrator t=2024-03-24T11:22:28.448825592Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.707147ms policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:34 grafana | logger=migrator t=2024-03-24T11:22:28.453857471Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:34 grafana | logger=migrator t=2024-03-24T11:22:28.455272147Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.415696ms policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:34 grafana | logger=migrator t=2024-03-24T11:22:28.45867675Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:34 grafana | logger=migrator t=2024-03-24T11:22:28.458941191Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=264.671µs policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:34 grafana | logger=migrator t=2024-03-24T11:22:28.462321105Z level=info msg="Executing migration" id="Add folder_uid for dashboard" policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:34 grafana | logger=migrator t=2024-03-24T11:22:28.471602631Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=9.280446ms policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:34 grafana | logger=migrator t=2024-03-24T11:22:28.475962248Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:34 grafana | logger=migrator t=2024-03-24T11:22:28.476613441Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=651.673µs policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:34 grafana | logger=migrator t=2024-03-24T11:22:28.480096445Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:34 grafana | logger=migrator t=2024-03-24T11:22:28.48158192Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.484335ms policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:34 grafana | logger=migrator t=2024-03-24T11:22:28.485354965Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:34 grafana | logger=migrator t=2024-03-24T11:22:28.48658729Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.232275ms policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:34 grafana | logger=migrator t=2024-03-24T11:22:28.491035508Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:34 grafana | logger=migrator t=2024-03-24T11:22:28.492207522Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=1.171944ms policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:34 grafana | logger=migrator t=2024-03-24T11:22:28.495440505Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:34 grafana | logger=migrator t=2024-03-24T11:22:28.49683321Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=1.392425ms policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:35 grafana | logger=migrator t=2024-03-24T11:22:28.501084707Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:35 grafana | logger=migrator t=2024-03-24T11:22:28.502856284Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.770167ms policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:35 grafana | logger=migrator t=2024-03-24T11:22:28.506551539Z level=info msg="Executing migration" id="create sso_setting table" policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:35 grafana | logger=migrator t=2024-03-24T11:22:28.508371986Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.819417ms policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:35 grafana | logger=migrator t=2024-03-24T11:22:28.552957982Z level=info msg="Executing migration" id="copy kvstore migration status to each org" policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:35 grafana | logger=migrator t=2024-03-24T11:22:28.554320617Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=1.363915ms policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:35 grafana | logger=migrator t=2024-03-24T11:22:28.559644528Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:35 grafana | logger=migrator t=2024-03-24T11:22:28.560281761Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=638.523µs policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:35 grafana | logger=migrator t=2024-03-24T11:22:28.564472987Z level=info msg="Executing migration" id="alter kv_store.value to longtext" policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:35 grafana | logger=migrator t=2024-03-24T11:22:28.564664348Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=190.791µs policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:35 grafana | logger=migrator t=2024-03-24T11:22:28.568362802Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:35 grafana | logger=migrator t=2024-03-24T11:22:28.577521388Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=9.157896ms policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:35 grafana | logger=migrator t=2024-03-24T11:22:28.581985556Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:35 grafana | logger=migrator t=2024-03-24T11:22:28.588813163Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=6.830007ms policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:35 grafana | logger=migrator t=2024-03-24T11:22:28.592315407Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:35 grafana | logger=migrator t=2024-03-24T11:22:28.592828629Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=513.232µs policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2403241122310800u 1 2024-03-24 11:22:35 grafana | logger=migrator t=2024-03-24T11:22:28.596465043Z level=info msg="migrations completed" performed=548 skipped=0 duration=4.032215409s policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2403241122310900u 1 2024-03-24 11:22:36 grafana | logger=sqlstore t=2024-03-24T11:22:28.606769454Z level=info msg="Created default admin" user=admin policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2403241122310900u 1 2024-03-24 11:22:36 grafana | logger=sqlstore t=2024-03-24T11:22:28.607178736Z level=info msg="Created default organization" policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2403241122310900u 1 2024-03-24 11:22:36 grafana | logger=secrets t=2024-03-24T11:22:28.611984104Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2403241122310900u 1 2024-03-24 11:22:36 grafana | logger=plugin.store t=2024-03-24T11:22:28.63110218Z level=info msg="Loading plugins..." policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2403241122310900u 1 2024-03-24 11:22:36 grafana | logger=local.finder t=2024-03-24T11:22:28.668932048Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2403241122310900u 1 2024-03-24 11:22:36 grafana | logger=plugin.store t=2024-03-24T11:22:28.669020059Z level=info msg="Plugins loaded" count=55 duration=37.918449ms policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2403241122310900u 1 2024-03-24 11:22:36 grafana | logger=query_data t=2024-03-24T11:22:28.680896606Z level=info msg="Query Service initialization" policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2403241122310900u 1 2024-03-24 11:22:36 grafana | logger=live.push_http t=2024-03-24T11:22:28.685896186Z level=info msg="Live Push Gateway initialization" policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2403241122310900u 1 2024-03-24 11:22:36 grafana | logger=ngalert.migration t=2024-03-24T11:22:28.691201377Z level=info msg=Starting policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2403241122310900u 1 2024-03-24 11:22:36 grafana | logger=ngalert.migration t=2024-03-24T11:22:28.691615848Z level=info msg="Applying transition" currentType=Legacy desiredType=UnifiedAlerting cleanOnDowngrade=false cleanOnUpgrade=false policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2403241122310900u 1 2024-03-24 11:22:36 grafana | logger=ngalert.migration orgID=1 t=2024-03-24T11:22:28.69205309Z level=info msg="Migrating alerts for organisation" policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2403241122310900u 1 2024-03-24 11:22:36 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2403241122310900u 1 2024-03-24 11:22:36 grafana | logger=ngalert.migration orgID=1 t=2024-03-24T11:22:28.692713282Z level=info msg="Alerts found to migrate" alerts=0 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2403241122311000u 1 2024-03-24 11:22:36 grafana | logger=ngalert.migration t=2024-03-24T11:22:28.69460419Z level=info msg="Completed alerting migration" policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2403241122311000u 1 2024-03-24 11:22:36 grafana | logger=ngalert.state.manager t=2024-03-24T11:22:28.719891829Z level=info msg="Running in alternative execution of Error/NoData mode" policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2403241122311000u 1 2024-03-24 11:22:36 grafana | logger=infra.usagestats.collector t=2024-03-24T11:22:28.722106958Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2403241122311000u 1 2024-03-24 11:22:36 grafana | logger=provisioning.datasources t=2024-03-24T11:22:28.724400977Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2403241122311000u 1 2024-03-24 11:22:36 grafana | logger=provisioning.alerting t=2024-03-24T11:22:28.737647149Z level=info msg="starting to provision alerting" policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2403241122311000u 1 2024-03-24 11:22:36 grafana | logger=provisioning.alerting t=2024-03-24T11:22:28.737664429Z level=info msg="finished to provision alerting" grafana | logger=ngalert.state.manager t=2024-03-24T11:22:28.73774795Z level=info msg="Warming state cache for startup" policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2403241122311000u 1 2024-03-24 11:22:36 grafana | logger=ngalert.state.manager t=2024-03-24T11:22:28.73795562Z level=info msg="State cache has been initialized" states=0 duration=207.29µs policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2403241122311000u 1 2024-03-24 11:22:36 grafana | logger=ngalert.multiorg.alertmanager t=2024-03-24T11:22:28.738045981Z level=info msg="Starting MultiOrg Alertmanager" policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2403241122311000u 1 2024-03-24 11:22:37 grafana | logger=provisioning.dashboard t=2024-03-24T11:22:28.739845968Z level=info msg="starting to provision dashboards" policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2403241122311100u 1 2024-03-24 11:22:37 grafana | logger=http.server t=2024-03-24T11:22:28.740089099Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2403241122311200u 1 2024-03-24 11:22:37 grafana | logger=ngalert.scheduler t=2024-03-24T11:22:28.740136279Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2403241122311200u 1 2024-03-24 11:22:37 grafana | logger=ticker t=2024-03-24T11:22:28.740160799Z level=info msg=starting first_tick=2024-03-24T11:22:30Z policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2403241122311200u 1 2024-03-24 11:22:37 grafana | logger=grafanaStorageLogger t=2024-03-24T11:22:28.740235859Z level=info msg="Storage starting" policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2403241122311200u 1 2024-03-24 11:22:37 grafana | logger=grafana.update.checker t=2024-03-24T11:22:28.846333668Z level=info msg="Update check succeeded" duration=107.556564ms policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 2403241122311300u 1 2024-03-24 11:22:37 grafana | logger=plugins.update.checker t=2024-03-24T11:22:28.858873807Z level=info msg="Update check succeeded" duration=119.457141ms policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 2403241122311300u 1 2024-03-24 11:22:37 grafana | logger=provisioning.dashboard t=2024-03-24T11:22:29.059368239Z level=info msg="finished to provision dashboards" policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 2403241122311300u 1 2024-03-24 11:22:37 grafana | logger=grafana-apiserver t=2024-03-24T11:22:29.227546819Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" policy-db-migrator | policyadmin: OK @ 1300 grafana | logger=grafana-apiserver t=2024-03-24T11:22:29.22811482Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" ++ 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 grafana ... done Removing policy-api ... done Removing policy-db-migrator ... done Removing mariadb ... done Removing prometheus ... done Removing network compose_default ++ cd /w/workspace/policy-api-master-project-csit-api + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.fJYU1tYyvL ]] + rsync -av /tmp/tmp.fJYU1tYyvL/ /w/workspace/policy-api-master-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,357,244 bytes received 95 bytes 2,714,678.00 bytes/sec total size is 1,356,594 speedup is 1.00 + rm -rf /w/workspace/policy-api-master-project-csit-api/models + exit 0 $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2105 killed; [ssh-agent] Stopped. Robot results publisher started... INFO: Checking test criticality is deprecated and will be dropped in a future release! -Parsing output xml: Done! WARNING! Could not find file: **/log.html WARNING! Could not find file: **/report.html -Copying log files to build dir: Done! -Assigning results to build: Done! -Checking thresholds: Done! Done publishing Robot results. [PostBuildScript] - [INFO] Executing post build scripts. [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins1841111874439777354.sh ---> sysstat.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins802475221016922327.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/policy-api-master-project-csit-api + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/policy-api-master-project-csit-api ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/policy-api-master-project-csit-api ']' + mkdir -p /w/workspace/policy-api-master-project-csit-api/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-master-project-csit-api/archives/ [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins2265676411928800274.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-DoDR from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-DoDR/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins18063259122619811530.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-master-project-csit-api@tmp/config4899584553597693375tmp Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] Run condition [Regular expression match] preventing perform for step [Provide Configuration files] [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SERVER_ID=logs [EnvInject] - Variables injected successfully. [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins869200477055565978.sh ---> create-netrc.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins3490265006622389152.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-DoDR from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-DoDR/bin to PATH [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins12502419338710120780.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins16938426118190327845.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-DoDR 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-DoDR/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [policy-api-master-project-csit-api] $ /bin/bash -l /tmp/jenkins8401553143131730629.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-master-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-DoDR from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-DoDR/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-master-project-csit-api/1577 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-17768 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2800.000 BogoMIPS: 5600.00 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 807 27132 0 4227 30904 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:c1:4d:f6 brd ff:ff:ff:ff:ff:ff inet 10.30.107.249/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86055sec preferred_lft 86055sec inet6 fe80::f816:3eff:fec1:4df6/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:47:75:47:0b 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-17768) 03/24/24 _x86_64_ (8 CPU) 11:19:24 LINUX RESTART (8 CPU) 11:20:02 tps rtps wtps bread/s bwrtn/s 11:21:01 96.39 18.03 78.36 1038.97 25152.42 11:22:01 142.16 22.96 119.20 2740.74 33488.29 11:23:01 378.07 13.16 364.91 833.56 87073.57 11:24:01 13.63 0.00 13.63 0.00 16606.65 11:25:01 68.92 2.03 66.89 124.38 21948.43 Average: 139.98 11.22 128.76 947.23 36892.61 11:20:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:21:01 30124948 31734080 2814272 8.54 71244 1848304 1417944 4.17 845072 1683976 181380 11:22:01 28500200 31664384 4439020 13.48 104864 3323920 1563172 4.60 994148 3062924 1227456 11:23:01 26348964 30251072 6590256 20.01 130380 3987264 4631672 13.63 2500664 3632388 540 11:24:01 26379152 30282292 6560068 19.92 130484 3987804 4582672 13.48 2470564 3632304 228 11:25:01 27760796 31622088 5178424 15.72 132392 3954844 1483464 4.36 1165188 3583488 2152 Average: 27822812 31110783 5116408 15.53 113873 3420427 2735785 8.05 1595127 3119016 282351 11:20:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:21:01 lo 1.69 1.69 0.18 0.18 0.00 0.00 0.00 0.00 11:21:01 ens3 61.95 42.07 1024.51 8.00 0.00 0.00 0.00 0.00 11:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:22:01 lo 6.93 6.93 0.65 0.65 0.00 0.00 0.00 0.00 11:22:01 ens3 276.24 175.59 7438.86 16.49 0.00 0.00 0.00 0.00 11:22:01 br-93ad2e744cda 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:23:01 veth553af90 96.23 118.05 74.77 28.15 0.00 0.00 0.00 0.01 11:23:01 veth147fcd6 0.52 0.78 0.06 0.31 0.00 0.00 0.00 0.00 11:23:01 lo 5.25 5.25 2.47 2.47 0.00 0.00 0.00 0.00 11:23:01 ens3 124.56 76.32 3645.85 6.85 0.00 0.00 0.00 0.00 11:24:01 veth553af90 34.36 41.79 39.81 10.80 0.00 0.00 0.00 0.00 11:24:01 veth147fcd6 0.23 0.18 0.02 0.01 0.00 0.00 0.00 0.00 11:24:01 lo 8.75 8.75 6.36 6.36 0.00 0.00 0.00 0.00 11:24:01 ens3 6.00 3.75 6.39 1.96 0.00 0.00 0.00 0.00 11:25:01 lo 6.77 6.77 0.61 0.61 0.00 0.00 0.00 0.00 11:25:01 ens3 63.42 51.21 77.13 26.74 0.00 0.00 0.00 0.00 11:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: lo 5.89 5.89 2.06 2.06 0.00 0.00 0.00 0.00 Average: ens3 106.58 69.88 2443.23 12.02 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-17768) 03/24/24 _x86_64_ (8 CPU) 11:19:24 LINUX RESTART (8 CPU) 11:20:02 CPU %user %nice %system %iowait %steal %idle 11:21:01 all 10.15 0.00 0.79 2.17 0.03 86.86 11:21:01 0 13.46 0.00 0.61 0.43 0.03 85.47 11:21:01 1 8.69 0.00 0.66 5.53 0.02 85.09 11:21:01 2 1.48 0.00 0.44 0.32 0.02 97.74 11:21:01 3 0.46 0.00 0.24 0.05 0.00 99.25 11:21:01 4 27.51 0.00 2.02 1.37 0.05 69.05 11:21:01 5 10.50 0.00 1.17 6.01 0.03 82.28 11:21:01 6 18.16 0.00 1.00 0.34 0.03 80.47 11:21:01 7 0.97 0.00 0.17 3.30 0.09 95.48 11:22:01 all 10.92 0.00 2.27 2.37 0.04 84.41 11:22:01 0 5.32 0.00 1.54 1.93 0.03 91.18 11:22:01 1 10.99 0.00 1.61 0.39 0.05 86.96 11:22:01 2 3.72 0.00 1.71 0.67 0.03 93.87 11:22:01 3 3.81 0.00 1.78 0.91 0.07 93.44 11:22:01 4 3.87 0.00 2.75 4.48 0.02 88.89 11:22:01 5 5.89 0.00 2.25 7.22 0.03 84.61 11:22:01 6 30.68 0.00 2.97 1.78 0.05 64.52 11:22:01 7 23.09 0.00 3.48 1.58 0.05 71.81 11:23:01 all 16.58 0.00 3.35 4.60 0.07 75.42 11:23:01 0 11.27 0.00 2.66 3.08 0.05 82.94 11:23:01 1 19.79 0.00 3.58 2.87 0.07 73.69 11:23:01 2 15.68 0.00 2.73 0.84 0.08 80.67 11:23:01 3 19.09 0.00 3.82 2.32 0.08 74.68 11:23:01 4 16.79 0.00 3.08 0.99 0.07 79.08 11:23:01 5 12.91 0.00 3.99 23.27 0.07 59.75 11:23:01 6 24.99 0.00 3.70 1.58 0.07 69.66 11:23:01 7 12.04 0.00 3.26 1.93 0.07 82.71 11:24:01 all 1.49 0.00 0.13 2.32 0.03 96.03 11:24:01 0 0.73 0.00 0.08 0.27 0.00 98.92 11:24:01 1 2.17 0.00 0.23 0.05 0.03 97.52 11:24:01 2 1.71 0.00 0.08 0.00 0.02 98.19 11:24:01 3 1.05 0.00 0.05 0.00 0.07 98.83 11:24:01 4 1.37 0.00 0.08 0.00 0.02 98.53 11:24:01 5 1.22 0.00 0.22 18.20 0.03 80.33 11:24:01 6 1.70 0.00 0.17 0.00 0.05 98.08 11:24:01 7 1.98 0.00 0.12 0.03 0.00 97.87 11:25:01 all 7.34 0.00 0.64 2.79 0.05 89.17 11:25:01 0 21.74 0.00 0.82 0.88 0.07 76.49 11:25:01 1 0.65 0.00 0.52 0.77 0.05 98.01 11:25:01 2 1.39 0.00 0.47 0.27 0.03 97.84 11:25:01 3 4.07 0.00 0.59 1.22 0.07 94.06 11:25:01 4 0.94 0.00 0.52 1.07 0.03 97.44 11:25:01 5 1.29 0.00 0.52 16.00 0.05 82.14 11:25:01 6 8.86 0.00 0.60 1.18 0.05 89.30 11:25:01 7 19.81 0.00 1.08 0.91 0.07 78.13 Average: all 9.28 0.00 1.43 2.85 0.04 86.39 Average: 0 10.49 0.00 1.14 1.32 0.04 87.01 Average: 1 8.44 0.00 1.32 1.91 0.04 88.28 Average: 2 4.79 0.00 1.09 0.42 0.04 93.67 Average: 3 5.69 0.00 1.29 0.90 0.06 92.06 Average: 4 10.04 0.00 1.69 1.58 0.04 86.66 Average: 5 6.33 0.00 1.63 14.16 0.04 77.85 Average: 6 16.85 0.00 1.69 0.98 0.05 80.43 Average: 7 11.58 0.00 1.62 1.54 0.05 85.20