Started by upstream project "policy-api-master-merge-java" build number 330 originally caused by: Triggered by Gerrit: https://gerrit.onap.org/r/c/policy/api/+/137677 Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-22701 (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-WaPQcrffj64F/agent.2079 SSH_AGENT_PID=2081 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-master-project-csit-api@tmp/private_key_5342014155812439105.key (/w/workspace/policy-api-master-project-csit-api@tmp/private_key_5342014155812439105.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 c5936fb131831992ac8da40fb56599dfb0ae1b5e (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f c5936fb131831992ac8da40fb56599dfb0ae1b5e # timeout=30 Commit message: "Disable drools pdp test in CSIT until drools is fixed" > git rev-list --no-walk c5936fb131831992ac8da40fb56599dfb0ae1b5e # 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/jenkins17592612157049655983.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-8LfR 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-8LfR/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-8LfR/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.83 botocore==1.34.83 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.4 future==1.0.0 gitdb==4.0.11 GitPython==3.1.43 google-auth==2.29.0 httplib2==0.22.0 identify==2.5.35 idna==3.7 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.6.0 kubernetes==29.0.0 lftools==0.37.10 lxml==5.2.1 MarkupSafe==2.1.5 msgpack==1.0.8 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.2.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==3.0.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.1 oslo.config==9.4.0 oslo.context==5.5.0 oslo.i18n==6.3.0 oslo.log==5.5.1 oslo.serialization==5.4.0 oslo.utils==7.1.0 packaging==24.0 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.10.0 pyasn1==0.6.0 pyasn1_modules==0.4.0 pycparser==2.22 pygerrit2==2.0.15 PyGithub==2.3.0 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.5.0 python-dateutil==2.9.0.post0 python-heatclient==3.5.0 python-jenkins==1.8.2 python-keystoneclient==5.4.0 python-magnumclient==4.4.0 python-novaclient==18.6.0 python-openstackclient==6.6.0 python-swiftclient==4.5.0 PyYAML==6.0.1 referencing==0.34.0 requests==2.31.0 requests-oauthlib==2.0.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.18.0 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.1 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.2.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.4 tqdm==4.66.2 typing_extensions==4.11.0 tzdata==2024.1 urllib3==1.26.18 virtualenv==20.25.1 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-master-project-csit-api] $ /bin/sh /tmp/jenkins3561166283510111737.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/jenkins17511790668904064551.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.KlugoA6qvR ++ echo ROBOT_VENV=/tmp/tmp.KlugoA6qvR +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.KlugoA6qvR ++ source /tmp/tmp.KlugoA6qvR/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.KlugoA6qvR +++ 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.KlugoA6qvR/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.KlugoA6qvR) ' '!=' x ']' +++ PS1='(tmp.KlugoA6qvR) ' +++ 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.7 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==5.2.1 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.2 python-dateutil==2.9.0.post0 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.KlugoA6qvR/src/onap ++ rm -rf /tmp/tmp.KlugoA6qvR/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.7 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==5.2.1 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.2 python-dateutil==2.9.0.post0 PyYAML==6.0.1 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==0.6.0.dev105 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ tr : ' ' ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace + 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.KlugoA6qvR/bin/activate + '[' -z /tmp/tmp.KlugoA6qvR/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.KlugoA6qvR/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.KlugoA6qvR ++ 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.KlugoA6qvR/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.KlugoA6qvR) ' ++ '[' 'x(tmp.KlugoA6qvR) ' '!=' x ']' ++ PS1='(tmp.KlugoA6qvR) (tmp.KlugoA6qvR) ' ++ 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.5YeOTjQDpQ + cd /tmp/tmp.5YeOTjQDpQ + 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:60a680475999b7df727a4e4ae6dd0391d3a6f4fffbde0f8c3faea985c8443c48 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:0e8cbccfee833c5b2be68d71dd51902b884e77df24bbbac2751693f58bdc20ce 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:4f6c47e39a9064028766e8c95890ed15690c30f00c4ba14e7ce6ae1ded0295b1 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:7d5faae481a4c6f436c99e98af11534f7fd5e8d3e35213552dd1dd02bc393d2e Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating prometheus ... Creating mariadb ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-master-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 10 seconds policy-db-migrator Up 11 seconds grafana Up 13 seconds mariadb Up 12 seconds prometheus Up 14 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds mariadb Up 17 seconds prometheus Up 19 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds mariadb Up 22 seconds prometheus Up 24 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + tee /w/workspace/policy-api-master-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 12:20:04 up 3 min, 0 users, load average: 2.54, 1.25, 0.51 Tasks: 176 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.7 us, 2.0 sy, 0.0 ni, 82.9 id, 4.3 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.5G 26G 1.0M 3.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 9657711fa934 policy-api 0.11% 529.6MiB / 31.41GiB 1.65% 987kB / 647kB 0B / 0B 54 4453e304886d grafana 0.04% 62.02MiB / 31.41GiB 0.19% 18.3kB / 3.12kB 0B / 24.9MB 18 b3ac994f49c6 mariadb 0.02% 100.6MiB / 31.41GiB 0.31% 921kB / 1.16MB 11MB / 67.8MB 27 541536bed315 prometheus 0.05% 18.71MiB / 31.41GiB 0.06% 1.31kB / 0B 229kB / 0B 13 + echo + cd /tmp/tmp.5YeOTjQDpQ + 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.5YeOTjQDpQ/output.xml Log: /tmp/tmp.5YeOTjQDpQ/log.html Report: /tmp/tmp.5YeOTjQDpQ/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-master-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 12:21:16 up 4 min, 0 users, load average: 0.95, 1.06, 0.51 Tasks: 174 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.1 us, 1.6 sy, 0.0 ni, 85.6 id, 3.6 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 2.0G 25G 1.0M 3.9G 28G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 9657711fa934 policy-api 0.10% 1.071GiB / 31.41GiB 3.41% 6.95MB / 2.31MB 0B / 0B 54 4453e304886d grafana 0.04% 62.75MiB / 31.41GiB 0.20% 19.3kB / 4.43kB 0B / 24.9MB 18 b3ac994f49c6 mariadb 0.04% 101.3MiB / 31.41GiB 0.31% 2.15MB / 6.99MB 11MB / 67.9MB 18 541536bed315 prometheus 0.00% 24.57MiB / 31.41GiB 0.08% 55.4kB / 6.47kB 229kB / 0B 13 + echo + source_safely /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-api/compose ++ cd /w/workspace/policy-api-master-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-api, policy-db-migrator, grafana, mariadb, prometheus policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb (172.17.0.2) 3306 port [tcp/mysql] succeeded! policy-db-migrator | 321 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Preparing upgrade release version: 1300 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 policy-db-migrator | upgrade: 0 -> 1300 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql mariadb | 2024-04-12 12:19:37+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-04-12 12:19:37+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-04-12 12:19:37+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-04-12 12:19:37+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-04-12 12:19:37 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-04-12 12:19:37 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-04-12 12:19:37 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2024-04-12 12:19:39+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-04-12 12:19:39+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-04-12 12:19:39+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-04-12 12:19:39 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 99 ... mariadb | 2024-04-12 12:19:39 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-04-12 12:19:39 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-04-12 12:19:39 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-04-12 12:19:39 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-04-12 12:19:39 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-04-12 12:19:39 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-04-12 12:19:39 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-04-12 12:19:39 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-04-12 12:19:39 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-04-12 12:19:39 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-04-12 12:19:39 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-04-12 12:19:39 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-04-12 12:19:39 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-04-12 12:19:39 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-04-12 12:19:39 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-04-12 12:19:39 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-04-12 12:19:39 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-04-12 12:19:39 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2024-04-12 12:19:40+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-04-12 12:19:41+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-04-12 12:19:41+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | mariadb | 2024-04-12 12:19:41+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf grafana | logger=settings t=2024-04-12T12:19:36.160669631Z level=info msg="Starting Grafana" version=10.4.2 commit=701c851be7a930e04fbc6ebb1cd4254da80edd4c branch=v10.4.x compiled=2024-04-12T12:19:36Z policy-db-migrator | -------------- mariadb | 2024-04-12 12:19:41+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh prometheus | ts=2024-04-12T12:19:35.186Z caller=main.go:573 level=info msg="No time or size retention was set so using the default time retention" duration=15d grafana | logger=settings t=2024-04-12T12:19:36.161021598Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini 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) mariadb | #!/bin/bash -xv policy-api | Waiting for mariadb port 3306... prometheus | ts=2024-04-12T12:19:35.186Z caller=main.go:617 level=info msg="Starting Prometheus Server" mode=server version="(version=2.51.2, branch=HEAD, revision=b4c0ab52c3e9b940ab803581ddae9b3d9a452337)" grafana | logger=settings t=2024-04-12T12:19:36.161031898Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini policy-db-migrator | -------------- mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved policy-api | mariadb (172.17.0.2:3306) open prometheus | ts=2024-04-12T12:19:35.186Z caller=main.go:622 level=info build_context="(go=go1.22.2, platform=linux/amd64, user=root@b63f02a423d9, date=20240410-14:05:54, tags=netgo,builtinassets,stringlabels)" grafana | logger=settings t=2024-04-12T12:19:36.161038808Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" policy-db-migrator | mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. policy-api | Waiting for policy-db-migrator port 6824... prometheus | ts=2024-04-12T12:19:35.186Z 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))" grafana | logger=settings t=2024-04-12T12:19:36.161044159Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" policy-db-migrator | mariadb | # policy-api | policy-db-migrator (172.17.0.5:6824) open prometheus | ts=2024-04-12T12:19:35.186Z caller=main.go:624 level=info fd_limits="(soft=1048576, hard=1048576)" grafana | logger=settings t=2024-04-12T12:19:36.161050939Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml prometheus | ts=2024-04-12T12:19:35.186Z caller=main.go:625 level=info vm_limits="(soft=unlimited, hard=unlimited)" grafana | logger=settings t=2024-04-12T12:19:36.161054159Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" policy-db-migrator | -------------- mariadb | # you may not use this file except in compliance with the License. policy-api | prometheus | ts=2024-04-12T12:19:35.189Z caller=web.go:568 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 grafana | logger=settings t=2024-04-12T12:19:36.161060219Z level=info msg="Config overridden from command line" arg="default.log.mode=console" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) mariadb | # You may obtain a copy of the License at policy-api | . ____ _ __ _ _ prometheus | ts=2024-04-12T12:19:35.189Z caller=main.go:1129 level=info msg="Starting TSDB ..." grafana | logger=settings t=2024-04-12T12:19:36.161063559Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" policy-db-migrator | -------------- mariadb | # policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ prometheus | ts=2024-04-12T12:19:35.193Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 grafana | logger=settings t=2024-04-12T12:19:36.161067609Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" policy-db-migrator | mariadb | # http://www.apache.org/licenses/LICENSE-2.0 policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ prometheus | ts=2024-04-12T12:19:35.193Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 grafana | logger=settings t=2024-04-12T12:19:36.161071529Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" policy-db-migrator | mariadb | # policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) prometheus | ts=2024-04-12T12:19:35.196Z caller=head.go:616 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql grafana | logger=settings t=2024-04-12T12:19:36.161075129Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" mariadb | # Unless required by applicable law or agreed to in writing, software prometheus | ts=2024-04-12T12:19:35.196Z caller=head.go:698 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=3.39µs policy-api | =========|_|==============|___/=/_/_/_/ policy-db-migrator | -------------- grafana | logger=settings t=2024-04-12T12:19:36.161081019Z level=info msg=Target target=[all] mariadb | # distributed under the License is distributed on an "AS IS" BASIS, prometheus | ts=2024-04-12T12:19:35.196Z caller=head.go:706 level=info component=tsdb msg="Replaying WAL, this may take a while" policy-api | :: Spring Boot :: (v3.1.10) policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=settings t=2024-04-12T12:19:36.161089569Z level=info msg="Path Home" path=/usr/share/grafana mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. prometheus | ts=2024-04-12T12:19:35.196Z caller=head.go:778 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 policy-api | policy-db-migrator | -------------- grafana | logger=settings t=2024-04-12T12:19:36.16109406Z level=info msg="Path Data" path=/var/lib/grafana mariadb | # See the License for the specific language governing permissions and prometheus | ts=2024-04-12T12:19:35.196Z caller=head.go:815 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=31.11µs wal_replay_duration=279.287µs wbl_replay_duration=320ns total_replay_duration=339.938µs policy-api | [2024-04-12T12:19:53.519+00:00|INFO|Version|background-preinit] HV000001: Hibernate Validator 8.0.1.Final policy-db-migrator | grafana | logger=settings t=2024-04-12T12:19:36.1610981Z level=info msg="Path Logs" path=/var/log/grafana mariadb | # limitations under the License. prometheus | ts=2024-04-12T12:19:35.199Z caller=main.go:1150 level=info fs_type=EXT4_SUPER_MAGIC policy-api | [2024-04-12T12:19:53.568+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.10 with PID 23 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-db-migrator | grafana | logger=settings t=2024-04-12T12:19:36.16110571Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins mariadb | prometheus | ts=2024-04-12T12:19:35.199Z caller=main.go:1153 level=info msg="TSDB started" policy-api | [2024-04-12T12:19:53.570+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql grafana | logger=settings t=2024-04-12T12:19:36.16110941Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp prometheus | ts=2024-04-12T12:19:35.199Z caller=main.go:1335 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml policy-api | [2024-04-12T12:19:55.395+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-db-migrator | -------------- grafana | logger=settings t=2024-04-12T12:19:36.16111302Z level=info msg="App mode production" mariadb | do prometheus | ts=2024-04-12T12:19:35.200Z caller=main.go:1372 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.089036ms db_storage=1.65µs remote_storage=1.68µs web_handler=471ns query_engine=970ns scrape=241.355µs scrape_sd=211.116µs notify=86.752µs notify_sd=14.92µs rules=2.26µs tracing=6.16µs policy-api | [2024-04-12T12:19:55.473+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 69 ms. Found 6 JPA repository interfaces. policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=sqlstore t=2024-04-12T12:19:36.161704432Z level=info msg="Connecting to DB" dbtype=sqlite3 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" prometheus | ts=2024-04-12T12:19:35.200Z caller=main.go:1114 level=info msg="Server is ready to receive web requests." policy-api | [2024-04-12T12:19:55.907+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=sqlstore t=2024-04-12T12:19:36.161728433Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" prometheus | ts=2024-04-12T12:19:35.200Z caller=manager.go:163 level=info component="rule manager" msg="Starting rule manager..." policy-api | [2024-04-12T12:19:55.907+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-04-12T12:19:36.162960809Z level=info msg="Starting DB migrations" mariadb | done policy-api | [2024-04-12T12:19:56.490+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-db-migrator | mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-api | [2024-04-12T12:19:56.498+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] grafana | logger=migrator t=2024-04-12T12:19:36.163944019Z level=info msg="Executing migration" id="create migration_log table" policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' policy-api | [2024-04-12T12:19:56.500+00:00|INFO|StandardService|main] Starting service [Tomcat] grafana | logger=migrator t=2024-04-12T12:19:36.164823338Z level=info msg="Migration successfully executed" id="create migration_log table" duration=878.909µs policy-db-migrator | -------------- mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-api | [2024-04-12T12:19:56.500+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.19] grafana | logger=migrator t=2024-04-12T12:19:36.173665803Z level=info msg="Executing migration" id="create user table" 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) mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-api | [2024-04-12T12:19:56.589+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext grafana | logger=migrator t=2024-04-12T12:19:36.17495888Z level=info msg="Migration successfully executed" id="create user table" duration=1.294617ms policy-db-migrator | -------------- mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' policy-api | [2024-04-12T12:19:56.589+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2944 ms grafana | logger=migrator t=2024-04-12T12:19:36.180013756Z level=info msg="Executing migration" id="add unique index user.login" policy-db-migrator | mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-api | [2024-04-12T12:19:56.995+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] grafana | logger=migrator t=2024-04-12T12:19:36.180838244Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=827.568µs policy-db-migrator | mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-api | [2024-04-12T12:19:57.073+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.2.Final grafana | logger=migrator t=2024-04-12T12:19:36.184766006Z level=info msg="Executing migration" id="add unique index user.email" policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' policy-api | [2024-04-12T12:19:57.124+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled grafana | logger=migrator t=2024-04-12T12:19:36.185491531Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=725.405µs policy-db-migrator | -------------- mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-api | [2024-04-12T12:19:57.401+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer grafana | logger=migrator t=2024-04-12T12:19:36.191460047Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-api | [2024-04-12T12:19:57.430+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... grafana | logger=migrator t=2024-04-12T12:19:36.19209548Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=635.213µs mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' policy-api | [2024-04-12T12:19:57.521+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@75483843 policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.195397489Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-api | [2024-04-12T12:19:57.524+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.196037013Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=616.473µs mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-api | [2024-04-12T12:19:59.484+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.199991146Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' policy-api | [2024-04-12T12:19:59.488+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql grafana | logger=migrator t=2024-04-12T12:19:36.202386836Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.39228ms mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-api | [2024-04-12T12:20:00.489+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.208246109Z level=info msg="Executing migration" id="create user table v2" mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-api | [2024-04-12T12:20:01.344+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-12T12:19:36.209636798Z level=info msg="Migration successfully executed" id="create user table v2" duration=1.390509ms mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' policy-api | [2024-04-12T12:20:02.522+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-04-12T12:19:36.213289275Z level=info msg="Executing migration" id="create index UQE_user_login - v2" mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-api | [2024-04-12T12:20:02.744+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@46270641, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@4ce824a7, org.springframework.security.web.context.SecurityContextHolderFilter@fffdd40, org.springframework.security.web.header.HeaderWriterFilter@749aa36f, org.springframework.security.web.authentication.logout.LogoutFilter@23639e5, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@746f2b91, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@42ca6733, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@34c9b1dd, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@278e51f1, org.springframework.security.web.access.ExceptionTranslationFilter@6dd8dfe5, org.springframework.security.web.access.intercept.AuthorizationFilter@6e00a1ba] policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.214459499Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.169584ms mariadb | policy-api | [2024-04-12T12:20:03.520+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.21781216Z level=info msg="Executing migration" id="create index UQE_user_email - v2" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" policy-api | [2024-04-12T12:20:03.612+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql grafana | logger=migrator t=2024-04-12T12:19:36.218506014Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=693.425µs mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' policy-api | [2024-04-12T12:20:03.632+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.224331596Z level=info msg="Executing migration" id="copy data_source v1 to v2" policy-api | [2024-04-12T12:20:03.654+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.799 seconds (process running for 11.446) mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-12T12:19:36.224959769Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=627.833µs policy-api | [2024-04-12T12:20:07.630+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.229155898Z level=info msg="Executing migration" id="Drop old table user_v1" mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp policy-api | [2024-04-12T12:20:07.630+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' grafana | logger=migrator t=2024-04-12T12:19:36.229898413Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=742.206µs mariadb | policy-db-migrator | policy-api | [2024-04-12T12:20:07.632+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 2 ms mariadb | 2024-04-12 12:19:43+00:00 [Note] [Entrypoint]: Stopping temporary server policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.233194912Z level=info msg="Executing migration" id="Add column help_flags1 to user table" policy-api | [2024-04-12T12:20:10.933+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-04-12T12:19:36.234274355Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.078863ms mariadb | 2024-04-12 12:19:43 0 [Note] mariadbd (initiated by: unknown): Normal shutdown policy-api | [] policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.23738239Z level=info msg="Executing migration" id="Update user table charset" mariadb | 2024-04-12 12:19:43 0 [Note] InnoDB: FTS optimize thread exiting. policy-api | [2024-04-12T12:20:11.095+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes grafana | logger=migrator t=2024-04-12T12:19:36.237408251Z level=info msg="Migration successfully executed" id="Update user table charset" duration=26.221µs mariadb | 2024-04-12 12:19:43 0 [Note] InnoDB: Starting shutdown... policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-api | [2024-04-12T12:20:11.404+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes grafana | logger=migrator t=2024-04-12T12:19:36.243140191Z level=info msg="Executing migration" id="Add last_seen_at column to user" mariadb | 2024-04-12 12:19:43 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool policy-db-migrator | -------------- policy-api | [2024-04-12T12:20:12.747+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policies mariadb | 2024-04-12 12:19:43 0 [Note] InnoDB: Buffer pool(s) dump completed at 240412 12:19:43 policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.244891128Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.749727ms mariadb | 2024-04-12 12:19:44 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.248695787Z level=info msg="Executing migration" id="Add missing user data" policy-api | [2024-04-12T12:20:14.797+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 mariadb | 2024-04-12 12:19:44 0 [Note] InnoDB: Shutdown completed; log sequence number 332011; transaction id 298 policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql grafana | logger=migrator t=2024-04-12T12:19:36.249033245Z level=info msg="Migration successfully executed" id="Add missing user data" duration=341.697µs policy-api | [2024-04-12T12:20:15.110+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 mariadb | 2024-04-12 12:19:44 0 [Note] mariadbd: Shutdown complete policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.252436636Z level=info msg="Executing migration" id="Add is_disabled column to user" policy-api | [2024-04-12T12:20:15.331+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 mariadb | policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-api | [2024-04-12T12:20:15.583+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 grafana | logger=migrator t=2024-04-12T12:19:36.253546649Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.109023ms mariadb | 2024-04-12 12:19:44+00:00 [Note] [Entrypoint]: Temporary server stopped policy-db-migrator | -------------- policy-api | [2024-04-12T12:20:15.811+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 grafana | logger=migrator t=2024-04-12T12:19:36.256638554Z level=info msg="Executing migration" id="Add index user.login/user.email" mariadb | policy-db-migrator | policy-api | [2024-04-12T12:20:16.048+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2024-04-12T12:19:36.257334929Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=695.435µs mariadb | 2024-04-12 12:19:44+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.26361022Z level=info msg="Executing migration" id="Add is_service_account column to user" mariadb | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql grafana | logger=migrator t=2024-04-12T12:19:36.264764465Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.153745ms mariadb | 2024-04-12 12:19:44 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.267834079Z level=info msg="Executing migration" id="Update is_service_account column to nullable" mariadb | 2024-04-12 12:19:44 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-12T12:19:36.278210457Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=10.377378ms mariadb | 2024-04-12 12:19:44 0 [Note] InnoDB: Number of transaction pools: 1 policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.281016646Z level=info msg="Executing migration" id="Add uid column to user" mariadb | 2024-04-12 12:19:44 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.281832463Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=815.167µs mariadb | 2024-04-12 12:19:44 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.284985599Z level=info msg="Executing migration" id="Update uid column values for users" mariadb | 2024-04-12 12:19:44 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql grafana | logger=migrator t=2024-04-12T12:19:36.285170113Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=187.584µs mariadb | 2024-04-12 12:19:44 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.290931614Z level=info msg="Executing migration" id="Add unique index user_uid" mariadb | 2024-04-12 12:19:44 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-12T12:19:36.291674949Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=738.225µs mariadb | 2024-04-12 12:19:44 0 [Note] InnoDB: Completed initialization of buffer pool policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.295172043Z level=info msg="Executing migration" id="update login field with orgid to allow for multiple service accounts with same name across orgs" mariadb | 2024-04-12 12:19:44 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.295657663Z level=info msg="Migration successfully executed" id="update login field with orgid to allow for multiple service accounts with same name across orgs" duration=486.031µs mariadb | 2024-04-12 12:19:44 0 [Note] InnoDB: 128 rollback segments are active. policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.29981237Z level=info msg="Executing migration" id="create temp user table v1-7" mariadb | 2024-04-12 12:19:44 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql grafana | logger=migrator t=2024-04-12T12:19:36.301111427Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.298507ms mariadb | 2024-04-12 12:19:44 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.306187674Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" mariadb | 2024-04-12 12:19:44 0 [Note] InnoDB: log sequence number 332011; transaction id 299 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-12T12:19:36.3069836Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=795.636µs mariadb | 2024-04-12 12:19:44 0 [Note] Plugin 'FEEDBACK' is disabled. policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.310458943Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" mariadb | 2024-04-12 12:19:44 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.311601197Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.141344ms mariadb | 2024-04-12 12:19:44 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.315368446Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" mariadb | 2024-04-12 12:19:44 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql grafana | logger=migrator t=2024-04-12T12:19:36.31650326Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.134154ms mariadb | 2024-04-12 12:19:44 0 [Note] Server socket created on IP: '0.0.0.0'. policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.32221778Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" mariadb | 2024-04-12 12:19:44 0 [Note] Server socket created on IP: '::'. policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-12T12:19:36.322966496Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=748.796µs mariadb | 2024-04-12 12:19:44 0 [Note] mariadbd: ready for connections. policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.326405438Z level=info msg="Executing migration" id="Update temp_user table charset" mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.326428458Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=25.89µs mariadb | 2024-04-12 12:19:44 0 [Note] InnoDB: Buffer pool(s) load completed at 240412 12:19:44 policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.329238497Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" mariadb | 2024-04-12 12:19:45 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-04-12T12:19:36.330349601Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.104673ms mariadb | 2024-04-12 12:19:45 7 [Warning] Aborted connection 7 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.333797753Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-04-12T12:19:36.334941967Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.143764ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.339706887Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.340373021Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=666.114µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.344082839Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql grafana | logger=migrator t=2024-04-12T12:19:36.345207752Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.125403ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.352968595Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-12T12:19:36.357744025Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=4.77504ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.361209328Z level=info msg="Executing migration" id="create temp_user v2" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.362125427Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=914.529µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.36557298Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql grafana | logger=migrator t=2024-04-12T12:19:36.366280954Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=707.284µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.369364239Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-12T12:19:36.370072574Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=706.655µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.375461857Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.376173772Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=711.385µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.380817869Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-04-12T12:19:36.381948983Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.129924ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.385813334Z level=info msg="Executing migration" id="copy temp_user v1 to v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-04-12T12:19:36.386411057Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=594.763µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.508352765Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.509279225Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=930.54µs policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.51336528Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-12T12:19:36.513923782Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=561.402µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.517538248Z level=info msg="Executing migration" id="create star table" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.51858531Z level=info msg="Migration successfully executed" id="create star table" duration=1.046902ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.525018765Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql grafana | logger=migrator t=2024-04-12T12:19:36.525769131Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=750.096µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.529288224Z level=info msg="Executing migration" id="create org table v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-12T12:19:36.53000907Z level=info msg="Migration successfully executed" id="create org table v1" duration=720.605µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.533449732Z level=info msg="Executing migration" id="create index UQE_org_name - v1" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.534843601Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.390609ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.538468997Z level=info msg="Executing migration" id="create org_user table v1" policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql grafana | logger=migrator t=2024-04-12T12:19:36.539507589Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.040232ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.545627107Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-12T12:19:36.546349762Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=722.595µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.549723253Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.550472299Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=748.476µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.55337394Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql grafana | logger=migrator t=2024-04-12T12:19:36.554064874Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=690.594µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.557072157Z level=info msg="Executing migration" id="Update org table charset" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-12T12:19:36.557103378Z level=info msg="Migration successfully executed" id="Update org table charset" duration=31.771µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.562285097Z level=info msg="Executing migration" id="Update org_user table charset" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.562310777Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=26.36µs policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql grafana | logger=migrator t=2024-04-12T12:19:36.564711228Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.565013334Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=298.766µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-12T12:19:36.56862021Z level=info msg="Executing migration" id="create dashboard table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.569950688Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.328307ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.573132714Z level=info msg="Executing migration" id="add index dashboard.account_id" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.574197527Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.063903ms policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql grafana | logger=migrator t=2024-04-12T12:19:36.58009725Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.581301546Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.203236ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-12T12:19:36.584661726Z level=info msg="Executing migration" id="create dashboard_tag table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.585692788Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.031152ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.589436876Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.590208493Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=770.566µs policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql grafana | logger=migrator t=2024-04-12T12:19:36.5934147Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.594126105Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=711.025µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) grafana | logger=migrator t=2024-04-12T12:19:36.599219322Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.606572156Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=7.352574ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.609818064Z level=info msg="Executing migration" id="create dashboard v2" policy-db-migrator | policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql grafana | logger=migrator t=2024-04-12T12:19:36.610369496Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=551.201µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.617086736Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-12T12:19:36.61820578Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.123244ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.621608221Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.62299388Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.384659ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.626549245Z level=info msg="Executing migration" id="copy dashboard v1 to v2" policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql grafana | logger=migrator t=2024-04-12T12:19:36.62724401Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=699.254µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.630447567Z level=info msg="Executing migration" id="drop table dashboard_v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-04-12T12:19:36.631680243Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.233546ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.63967557Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.639744792Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=70.082µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.643100392Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql grafana | logger=migrator t=2024-04-12T12:19:36.64635428Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=3.253598ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.653437299Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.655229547Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.792118ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.662979089Z level=info msg="Executing migration" id="Add column gnetId in dashboard" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.665916671Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=2.936932ms policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2024-04-12T12:19:36.671179501Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.671966028Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=789.147µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-04-12T12:19:36.675965222Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.679035006Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=3.068474ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.684495091Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.685249107Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=753.555µs policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2024-04-12T12:19:36.690218431Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.691435286Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.216835ms 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-04-12T12:19:36.69544112Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-04-12T12:19:36.695479411Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=38.901µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.701381175Z level=info msg="Executing migration" id="Update dashboard_tag table charset" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.701408796Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=28.111µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.704766096Z level=info msg="Executing migration" id="Add column folder_id in dashboard" policy-db-migrator | > upgrade 0460-pdppolicystatus.sql grafana | logger=migrator t=2024-04-12T12:19:36.706672186Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=1.9052ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.709906844Z level=info msg="Executing migration" id="Add column isFolder in dashboard" 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-04-12T12:19:36.71304868Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=3.142516ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.719505515Z level=info msg="Executing migration" id="Add column has_acl in dashboard" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.721478407Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.971252ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.725281756Z level=info msg="Executing migration" id="Add column uid in dashboard" policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2024-04-12T12:19:36.728477903Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=3.200827ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.732270953Z level=info msg="Executing migration" id="Update uid column values in dashboard" 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-04-12T12:19:36.73260653Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=335.697µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.73591711Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.736672905Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=755.785µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.741892165Z level=info msg="Executing migration" id="Remove unique index org_id_slug" policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2024-04-12T12:19:36.742870125Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=975.3µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.747655396Z level=info msg="Executing migration" id="Update dashboard title length" 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-04-12T12:19:36.747706447Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=50.701µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.752226302Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.753457928Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.261596ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.759449503Z level=info msg="Executing migration" id="create dashboard_provisioning" policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2024-04-12T12:19:36.760148788Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=699.375µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.764790875Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-04-12T12:19:36.769991004Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=5.199359ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.827962511Z level=info msg="Executing migration" id="create dashboard_provisioning v2" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.829187186Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=1.227105ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.834328954Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" policy-db-migrator | > upgrade 0500-pdpsubgroup.sql grafana | logger=migrator t=2024-04-12T12:19:36.835597331Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.267377ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.839408381Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" 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-04-12T12:19:36.840622746Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.209065ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.848134964Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.848666055Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=530.261µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.858634174Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql grafana | logger=migrator t=2024-04-12T12:19:36.859155585Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=521.831µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.862550566Z level=info msg="Executing migration" id="Add check_sum column" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) grafana | logger=migrator t=2024-04-12T12:19:36.864715102Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.163986ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.870731478Z level=info msg="Executing migration" id="Add index for dashboard_title" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.872024885Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=1.293327ms policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql grafana | logger=migrator t=2024-04-12T12:19:36.879537823Z level=info msg="Executing migration" id="delete tags for deleted dashboards" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.879705796Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=168.423µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) grafana | logger=migrator t=2024-04-12T12:19:36.883984736Z level=info msg="Executing migration" id="delete stars for deleted dashboards" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.8841533Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=169.074µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.887835037Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.889183065Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.347228ms policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql grafana | logger=migrator t=2024-04-12T12:19:36.894476796Z level=info msg="Executing migration" id="Add isPublic for dashboard" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.896632691Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.155775ms 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-04-12T12:19:36.900345799Z level=info msg="Executing migration" id="create data_source table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.901256528Z level=info msg="Migration successfully executed" id="create data_source table" duration=910.369µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.90514259Z level=info msg="Executing migration" id="add index data_source.account_id" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.906162511Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.019351ms policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql grafana | logger=migrator t=2024-04-12T12:19:36.933122387Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.934629059Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.510542ms 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-04-12T12:19:36.938221034Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.939384478Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.163564ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.942724898Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.943412003Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=686.625µs policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql grafana | logger=migrator t=2024-04-12T12:19:36.947651632Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.953995065Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=6.341763ms 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-04-12T12:19:36.957247753Z level=info msg="Executing migration" id="create data_source table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.958135612Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=881.799µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.961121214Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.961941812Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=822.408µs policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql grafana | logger=migrator t=2024-04-12T12:19:36.965861104Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.966709862Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=848.958µs 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-04-12T12:19:36.969598152Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.970118723Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=520.161µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.972773189Z level=info msg="Executing migration" id="Add column with_credentials" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.975340773Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.566734ms policy-db-migrator | > upgrade 0570-toscadatatype.sql grafana | logger=migrator t=2024-04-12T12:19:36.979883058Z level=info msg="Executing migration" id="Add secure json data column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.982304429Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.420521ms 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-04-12T12:19:36.987243072Z level=info msg="Executing migration" id="Update data_source table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:36.987330614Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=94.422µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.991948921Z level=info msg="Executing migration" id="Update initial version to 1" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:36.992269208Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=319.467µs policy-db-migrator | > upgrade 0580-toscadatatypes.sql grafana | logger=migrator t=2024-04-12T12:19:36.997754393Z level=info msg="Executing migration" id="Add read_only data column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.000329617Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.575114ms 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-04-12T12:19:37.006984218Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.007171702Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=184.714µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.012385663Z level=info msg="Executing migration" id="Update json_data with nulls" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.012634048Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=249.075µs policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql grafana | logger=migrator t=2024-04-12T12:19:37.019209138Z level=info msg="Executing migration" id="Add uid column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.022919546Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.709618ms 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-04-12T12:19:37.029264641Z level=info msg="Executing migration" id="Update uid value" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.029456905Z level=info msg="Migration successfully executed" id="Update uid value" duration=195.504µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.032933499Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.033724746Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=791.317µs policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=migrator t=2024-04-12T12:19:37.037664579Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.038969847Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.303118ms 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-04-12T12:19:37.043634516Z level=info msg="Executing migration" id="create api_key table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.044491794Z level=info msg="Migration successfully executed" id="create api_key table" duration=856.458µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.048174542Z level=info msg="Executing migration" id="add index api_key.account_id" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.049035491Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=861.459µs policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) grafana | logger=migrator t=2024-04-12T12:19:37.052735949Z level=info msg="Executing migration" id="add index api_key.key" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.053597567Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=860.578µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.059030823Z level=info msg="Executing migration" id="add index api_key.account_id_name" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.059936402Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=905.089µs policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql grafana | logger=migrator t=2024-04-12T12:19:37.063513288Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-04-12T12:19:37.064800445Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.287077ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.070119418Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" 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-04-12T12:19:37.071400005Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.282427ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.075615385Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.076131125Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=516.11µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.07966143Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" policy-db-migrator | > upgrade 0630-toscanodetype.sql grafana | logger=migrator t=2024-04-12T12:19:37.090775666Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=11.111776ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.095521117Z level=info msg="Executing migration" id="create api_key table v2" 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-04-12T12:19:37.096098959Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=579.552µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.09897724Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.100002402Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=1.021042ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.103624789Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" policy-db-migrator | > upgrade 0640-toscanodetypes.sql grafana | logger=migrator t=2024-04-12T12:19:37.10509475Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.468561ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.109751109Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) grafana | logger=migrator t=2024-04-12T12:19:37.110627837Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=875.348µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.114116922Z level=info msg="Executing migration" id="copy api_key v1 to v2" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.11453173Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=415.549µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.118063145Z level=info msg="Executing migration" id="Drop old table api_key_v1" policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2024-04-12T12:19:37.119047436Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=983.291µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.177323773Z level=info msg="Executing migration" id="Update api_key table charset" 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-04-12T12:19:37.177362634Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=40.06µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.18144931Z level=info msg="Executing migration" id="Add expires to api_key table" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.185553827Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.099357ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.189384409Z level=info msg="Executing migration" id="Add service account foreign key" policy-db-migrator | > upgrade 0660-toscaparameter.sql grafana | logger=migrator t=2024-04-12T12:19:37.191930503Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.544924ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.195281674Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-04-12T12:19:37.195475128Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=193.974µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.201578417Z level=info msg="Executing migration" id="Add last_used_at to api_key table" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.204402377Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.82065ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.20828596Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2024-04-12T12:19:37.211051838Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.765108ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.216738119Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) grafana | logger=migrator t=2024-04-12T12:19:37.217513735Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=775.096µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.223916911Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.225101506Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=1.191215ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.22905869Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2024-04-12T12:19:37.2300023Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=946.02µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.23326738Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-04-12T12:19:37.234056016Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=790.156µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.238807997Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.239748677Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=937.93µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.24316518Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2024-04-12T12:19:37.244145101Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=979.79µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.280279227Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) grafana | logger=migrator t=2024-04-12T12:19:37.280541153Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=263.736µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.296854599Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.29690703Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=53.971µs policy-db-migrator | policy-db-migrator | > upgrade 0700-toscapolicytype.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.303626513Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) grafana | logger=migrator t=2024-04-12T12:19:37.307993055Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.365552ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.311838417Z level=info msg="Executing migration" id="Add encrypted dashboard json column" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.313762548Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=1.923781ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.318435097Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2024-04-12T12:19:37.318477958Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=43.301µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.321714546Z level=info msg="Executing migration" id="create quota table v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) grafana | logger=migrator t=2024-04-12T12:19:37.322243918Z level=info msg="Migration successfully executed" id="create quota table v1" duration=529.322µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.325869485Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.326562639Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=693.174µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.329863769Z level=info msg="Executing migration" id="Update quota table charset" policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2024-04-12T12:19:37.32988183Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=18.611µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.337663905Z level=info msg="Executing migration" id="create plugin_setting table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-04-12T12:19:37.338191796Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=527.781µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.34451173Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.345213895Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=701.905µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.349976016Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2024-04-12T12:19:37.35249921Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.523324ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.357063117Z level=info msg="Executing migration" id="Update plugin_setting table charset" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-04-12T12:19:37.357083167Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=20.001µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.362236706Z level=info msg="Executing migration" id="create session table" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.36286398Z level=info msg="Migration successfully executed" id="create session table" duration=627.124µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.366304433Z level=info msg="Executing migration" id="Drop old table playlist table" policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2024-04-12T12:19:37.366397965Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=93.232µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.371979853Z level=info msg="Executing migration" id="Drop old table playlist_item table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) grafana | logger=migrator t=2024-04-12T12:19:37.372039494Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=59.851µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.37700924Z level=info msg="Executing migration" id="create playlist table v2" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.377832657Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=821.767µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.382865194Z level=info msg="Executing migration" id="create playlist item table v2" policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2024-04-12T12:19:37.383359985Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=495.2µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.388663817Z level=info msg="Executing migration" id="Update playlist table charset" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) grafana | logger=migrator t=2024-04-12T12:19:37.388684547Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=21.53µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.397992085Z level=info msg="Executing migration" id="Update playlist_item table charset" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.398011745Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=20.98µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.400611761Z level=info msg="Executing migration" id="Add playlist column created_at" policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2024-04-12T12:19:37.403449451Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=2.83731ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.407098788Z level=info msg="Executing migration" id="Add playlist column updated_at" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-04-12T12:19:37.409783265Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=2.684497ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.414184969Z level=info msg="Executing migration" id="drop preferences table v2" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.41424567Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=61.211µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.419279547Z level=info msg="Executing migration" id="drop preferences table v3" policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2024-04-12T12:19:37.419402469Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=124.402µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.426529291Z level=info msg="Executing migration" id="create preferences table v3" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) grafana | logger=migrator t=2024-04-12T12:19:37.427608973Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.083553ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.430987615Z level=info msg="Executing migration" id="Update preferences table charset" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.431013786Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=27.941µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.434213464Z level=info msg="Executing migration" id="Add column team_id in preferences" policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2024-04-12T12:19:37.436623255Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=2.409491ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.439606088Z level=info msg="Executing migration" id="Update team_id column values in preferences" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) grafana | logger=migrator t=2024-04-12T12:19:37.439749731Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=143.793µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.446395852Z level=info msg="Executing migration" id="Add column week_start in preferences" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.45008454Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.691378ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.453130125Z level=info msg="Executing migration" id="Add column preferences.json_data" policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.45617476Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.043904ms grafana | logger=migrator t=2024-04-12T12:19:37.459547641Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-04-12T12:19:37.459631223Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=84.372µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.466117691Z level=info msg="Executing migration" id="Add preferences index org_id" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.467095671Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=977.911µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.470063944Z level=info msg="Executing migration" id="Add preferences index user_id" policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2024-04-12T12:19:37.471436093Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.370449ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.474994699Z level=info msg="Executing migration" id="create alert table v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) grafana | logger=migrator t=2024-04-12T12:19:37.476900469Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.9046ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.525136203Z level=info msg="Executing migration" id="add index alert org_id & id " policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.525981161Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=848.008µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.529788432Z level=info msg="Executing migration" id="add index alert state" policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2024-04-12T12:19:37.530558168Z level=info msg="Migration successfully executed" id="add index alert state" duration=768.766µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.53774738Z level=info msg="Executing migration" id="add index alert dashboard_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-04-12T12:19:37.538883785Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.137164ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.545479234Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.546589648Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=1.106074ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.550229875Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2024-04-12T12:19:37.551170025Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=940.05µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.556172461Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-04-12T12:19:37.557686484Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.514312ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.563459826Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.572226322Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=8.767356ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.576614255Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-04-12T12:19:37.577967584Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=1.357299ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.5824966Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2024-04-12T12:19:37.58393426Z level=info msg="Migration successfully executed" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" duration=1.43755ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.588454636Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.588718212Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=263.576µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.595197569Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-04-12T12:19:37.596131949Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=934.63µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.601036373Z level=info msg="Executing migration" id="create alert_notification table v1" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-04-12T12:19:37.602248729Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.210156ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.607387968Z level=info msg="Executing migration" id="Add column is_default" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.612401475Z level=info msg="Migration successfully executed" id="Add column is_default" duration=5.014166ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.619172448Z level=info msg="Executing migration" id="Add column frequency" policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-04-12T12:19:37.624783857Z level=info msg="Migration successfully executed" id="Add column frequency" duration=5.609729ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.630665702Z level=info msg="Executing migration" id="Add column send_reminder" policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-04-12T12:19:37.634424082Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.7574ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.643218678Z level=info msg="Executing migration" id="Add column disable_resolve_message" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.646677692Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.458744ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.653940826Z level=info msg="Executing migration" id="add index alert_notification org_id & name" policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-04-12T12:19:37.655253114Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.311968ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.659530065Z level=info msg="Executing migration" id="Update alert table charset" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2024-04-12T12:19:37.659568105Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=39.081µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.66400824Z level=info msg="Executing migration" id="Update alert_notification table charset" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.66404003Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=33.341µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.667925013Z level=info msg="Executing migration" id="create notification_journal table v1" policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-04-12T12:19:37.669353323Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.42494ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.677570927Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2024-04-12T12:19:37.678969057Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.39712ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.683888811Z level=info msg="Executing migration" id="drop alert_notification_journal" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-04-12T12:19:37.684600866Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=711.785µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.691003812Z level=info msg="Executing migration" id="create alert_notification_state table v1" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2024-04-12T12:19:37.69276108Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.756608ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.697766036Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.699227587Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.460971ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.707139955Z level=info msg="Executing migration" id="Add for to alert table" policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-04-12T12:19:37.712935928Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=5.793383ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.719113629Z level=info msg="Executing migration" id="Add column uid in alert_notification" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2024-04-12T12:19:37.722808707Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.694128ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.727723572Z level=info msg="Executing migration" id="Update uid column values in alert_notification" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.727949976Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=226.165µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.733715039Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-04-12T12:19:37.735053817Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.335988ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.740484032Z level=info msg="Executing migration" id="Remove unique index org_id_name" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2024-04-12T12:19:37.741688398Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.204276ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.745822016Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.74978824Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.965785ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.75688447Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-04-12T12:19:37.756948652Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=64.262µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.76156658Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2024-04-12T12:19:37.762879647Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.309287ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.768588309Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.769977088Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.388179ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.774675528Z level=info msg="Executing migration" id="Drop old annotation table v4" policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-04-12T12:19:37.774805921Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=130.322µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.781961442Z level=info msg="Executing migration" id="create annotation table v5" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2024-04-12T12:19:37.783164598Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.202456ms grafana | logger=migrator t=2024-04-12T12:19:37.78843091Z level=info msg="Executing migration" id="add index annotation 0 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.789584524Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.152574ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.797331478Z level=info msg="Executing migration" id="add index annotation 1 v3" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.798902212Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.574064ms policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2024-04-12T12:19:37.805657705Z level=info msg="Executing migration" id="add index annotation 2 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.806491473Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=833.588µs policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2024-04-12T12:19:37.811481249Z level=info msg="Executing migration" id="add index annotation 3 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.812427129Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=945.46µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.818892516Z level=info msg="Executing migration" id="add index annotation 4 v3" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.819838486Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=943µs policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-04-12T12:19:37.824974145Z level=info msg="Executing migration" id="Update annotation table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.825012686Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=40.151µs policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2024-04-12T12:19:37.867320914Z level=info msg="Executing migration" id="Add column region_id to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.874173699Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=6.850005ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.881383582Z level=info msg="Executing migration" id="Drop category_id index" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.882163039Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=779.396µs policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-04-12T12:19:37.888009053Z level=info msg="Executing migration" id="Add column tags to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.893144862Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=5.136448ms policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-04-12T12:19:37.896437201Z level=info msg="Executing migration" id="Create annotation_tag table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.897113356Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=673.775µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.90204626Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.902907559Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=861.199µs policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-04-12T12:19:37.908035247Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.909140441Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.103984ms 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 policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.919094802Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.932886115Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=13.791193ms policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-04-12T12:19:37.939592917Z level=info msg="Executing migration" id="Create annotation_tag table v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.940153019Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=560.552µs policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-04-12T12:19:37.945619875Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.946978694Z 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.357549ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.952598443Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.953060833Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=463.52µs policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-04-12T12:19:37.961182095Z level=info msg="Executing migration" id="drop table annotation_tag_v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.962069674Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=885.889µs policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-04-12T12:19:37.969582443Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.969950931Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=368.708µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.97745126Z level=info msg="Executing migration" id="Add created time to annotation table" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:37.985333248Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=7.879838ms policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-04-12T12:19:37.990272322Z level=info msg="Executing migration" id="Add updated time to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:37.993341008Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=3.068186ms grafana | logger=migrator t=2024-04-12T12:19:37.999051339Z level=info msg="Executing migration" id="Add index for created in annotation table" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-04-12T12:19:38.000371367Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.323778ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.004002014Z level=info msg="Executing migration" id="Add index for updated in annotation table" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.005509991Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.505597ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.013539492Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-04-12T12:19:38.014037073Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=496.611µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.018783243Z level=info msg="Executing migration" id="Add epoch_end column" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-04-12T12:19:38.025455027Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=6.670684ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.029865659Z level=info msg="Executing migration" id="Add index for epoch_end" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.030549395Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=683.646µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.036841611Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-04-12T12:19:38.03724846Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=405.77µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.043032184Z level=info msg="Executing migration" id="Move region to single row" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-04-12T12:19:38.04374495Z level=info msg="Migration successfully executed" id="Move region to single row" duration=712.136µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.050356593Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.051763326Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.407113ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.056617298Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-04-12T12:19:38.058114242Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.496844ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.063296462Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-04-12T12:19:38.065477763Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=2.205641ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.070070049Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.071563633Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.475634ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.076064618Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-04-12T12:19:38.077245465Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.182268ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.080788007Z level=info msg="Executing migration" id="Add index for alert_id on annotation 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-04-12T12:19:38.081991065Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.202768ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.086090839Z level=info msg="Executing migration" id="Increase tags column to length 4096" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.086156731Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=64.332µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.092678202Z level=info msg="Executing migration" id="create test_data table" policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-04-12T12:19:38.093668945Z level=info msg="Migration successfully executed" id="create test_data table" duration=990.253µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.098505837Z level=info msg="Executing migration" id="create dashboard_version table v1" policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-04-12T12:19:38.099730105Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.224008ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.103640975Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.104868904Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.226289ms policy-db-migrator | policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.112751126Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-04-12T12:19:38.113925903Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.174367ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.118326465Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.118567541Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=238.895µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.124048437Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-04-12T12:19:38.124521218Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=472.621µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.129501893Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-04-12T12:19:38.129603556Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=103.003µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.135489552Z level=info msg="Executing migration" id="create team table" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.136467784Z level=info msg="Migration successfully executed" id="create team table" duration=982.642µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.143380754Z level=info msg="Executing migration" id="add index team.org_id" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-04-12T12:19:38.144599913Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.218758ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.150215462Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-04-12T12:19:38.151077582Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=862.23µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.15702481Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.161746169Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.721129ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.166311125Z level=info msg="Executing migration" id="Update uid column values in team" policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-04-12T12:19:38.166487119Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=176.074µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.17171974Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-04-12T12:19:38.17302697Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.314751ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.279020991Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.279787859Z level=info msg="Migration successfully executed" id="create team member table" duration=765.558µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.289556845Z level=info msg="Executing migration" id="add index team_member.org_id" policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2024-04-12T12:19:38.290550248Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=993.513µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.293890375Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL grafana | logger=migrator t=2024-04-12T12:19:38.294765385Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=874.88µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.299966996Z level=info msg="Executing migration" id="add index team_member.team_id" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.301221855Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.254609ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.306716292Z level=info msg="Executing migration" id="Add column email to team table" policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-04-12T12:19:38.31314459Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=6.432139ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.321819351Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num grafana | logger=migrator t=2024-04-12T12:19:38.327027751Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=5.20833ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.332394195Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.337904313Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=5.507348ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.351795444Z level=info msg="Executing migration" id="create dashboard acl table" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2024-04-12T12:19:38.353437532Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.640138ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.362280077Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.36327169Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=991.452µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.371979231Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-04-12T12:19:38.373127347Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.144386ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.385502134Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-04-12T12:19:38.386495757Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=993.953µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.39443316Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.39617591Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.74091ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.401249028Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-04-12T12:19:38.402840025Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.591937ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.406925199Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-04-12T12:19:38.40783773Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=909.081µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.416433719Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.417950814Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.516025ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.424528246Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-04-12T12:19:38.425386676Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=857.98µs policy-db-migrator | -------------- policy-db-migrator | UPDATE jpapdpstatistics_enginestats a policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-04-12T12:19:38.434437975Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-04-12T12:19:38.435012139Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=579.504µs policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-04-12T12:19:38.440774452Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.441528219Z level=info msg="Migration successfully executed" id="create tag table" duration=754.537µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.450342193Z level=info msg="Executing migration" id="add index tag.key_value" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.451654543Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.31244ms policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-04-12T12:19:38.457016978Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.457764545Z level=info msg="Migration successfully executed" id="create login attempt table" duration=747.678µs policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2024-04-12T12:19:38.461969062Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.463048267Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.078065ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.470417797Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.472022735Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.607867ms policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-04-12T12:19:38.479381295Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.494388162Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=15.010867ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) grafana | logger=migrator t=2024-04-12T12:19:38.500131135Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.500710048Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=578.833µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.503749728Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2024-04-12T12:19:38.505213952Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.462464ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.510880143Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2024-04-12T12:19:38.511322263Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=441.64µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.515651413Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.516559554Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=908.121µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.52196715Z level=info msg="Executing migration" id="create user auth table" policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-04-12T12:19:38.522717227Z level=info msg="Migration successfully executed" id="create user auth table" duration=750.057µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.528940081Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-04-12T12:19:38.529875262Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=932.631µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.535752308Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.5358197Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=69.822µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.540704593Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-04-12T12:19:38.548146275Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=7.444972ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.552069086Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2024-04-12T12:19:38.557073751Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.004135ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.564265718Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.569207762Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=4.941754ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.604696603Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-04-12T12:19:38.612242147Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=7.546204ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.617031708Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) grafana | logger=migrator t=2024-04-12T12:19:38.618139624Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.107256ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.62403909Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.62923497Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.19551ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.633070859Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-04-12T12:19:38.633860257Z level=info msg="Migration successfully executed" id="create server_lock table" duration=788.778µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.638376462Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) grafana | logger=migrator t=2024-04-12T12:19:38.639297723Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=920.801µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.644733699Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.646131131Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.398272ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.654010763Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2024-04-12T12:19:38.65558807Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.576017ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.660532964Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-04-12T12:19:38.661735102Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.203078ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.666936532Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.668406946Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.470314ms policy-db-migrator | policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.67335201Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-04-12T12:19:38.679108854Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.756804ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.683347292Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.684356935Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.009813ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.689555055Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-04-12T12:19:38.690963428Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.407893ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.697475588Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-04-12T12:19:38.698369309Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=893.491µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.704260945Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.705130075Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=868.92µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.710777816Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-04-12T12:19:38.712300641Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.525015ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.717630454Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-04-12T12:19:38.717734467Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=104.773µs policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.722843065Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.722964168Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=121.813µs grafana | logger=migrator t=2024-04-12T12:19:38.730564464Z level=info msg="Executing migration" id="recreate alert_definition table" grafana | logger=migrator t=2024-04-12T12:19:38.732009307Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.444223ms policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2024-04-12T12:19:38.737845702Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.739402638Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.557256ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.744521546Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.745589711Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.067715ms policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2024-04-12T12:19:38.752125442Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.752191014Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=66.642µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.756424442Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.757981668Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.557156ms policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2024-04-12T12:19:38.763217659Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.764674832Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.457843ms policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY grafana | logger=migrator t=2024-04-12T12:19:38.771429139Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.772544734Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.115515ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.778291677Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.779850043Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.557736ms policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2024-04-12T12:19:38.785398672Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.793448748Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=8.050076ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.800843819Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.801820991Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=977.172µs policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2024-04-12T12:19:38.806136581Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.806224353Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=88.382µs policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-04-12T12:19:38.810716767Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.81214532Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.428093ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.818007846Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.819562842Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.554586ms policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=migrator t=2024-04-12T12:19:38.824715001Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.82595928Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.244719ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.832123342Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.832192534Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=69.232µs policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-04-12T12:19:38.838477469Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.839879412Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.401663ms policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=migrator t=2024-04-12T12:19:38.846654398Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.848138473Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.483475ms policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=migrator t=2024-04-12T12:19:38.854272524Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.855883022Z 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.607978ms policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2024-04-12T12:19:38.859387423Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.860680203Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.29214ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.864680915Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | msg grafana | logger=migrator t=2024-04-12T12:19:38.870745975Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=6.06419ms policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2024-04-12T12:19:38.877667055Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.878639718Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=923.202µs policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2024-04-12T12:19:38.884249528Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.885606979Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.353741ms policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2024-04-12T12:19:38.918169302Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.947782526Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=29.611274ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.952994667Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:38.977587065Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=24.585089ms policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-04-12T12:19:38.982640362Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.983341128Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=702.386µs policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-04-12T12:19:38.989138072Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:38.990824291Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.685569ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:39.000075605Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:39.006490854Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=6.409318ms policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-04-12T12:19:39.012712068Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:39.01886454Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=6.153673ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:39.026029396Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:39.026792073Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=762.288µs policy-db-migrator | > upgrade 0120-audit_sequence.sql grafana | logger=migrator t=2024-04-12T12:19:39.033279143Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:39.034308027Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.028494ms policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-04-12T12:19:39.039499517Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:39.040468599Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=971.602µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:39.045157978Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:39.046215222Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.057934ms policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) grafana | logger=migrator t=2024-04-12T12:19:39.052551519Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:39.052711983Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=161.804µs policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:39.058012855Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:39.064063665Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=6.04687ms policy-db-migrator | > upgrade 0130-statistics_sequence.sql grafana | logger=migrator t=2024-04-12T12:19:39.068998559Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:39.075157112Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=6.156473ms policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-04-12T12:19:39.087552448Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:39.093992577Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.444259ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:39.097625991Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:39.098354558Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=728.607µ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-04-12T12:19:39.10191297Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:39.103052967Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.142257ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:39.108213556Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | TRUNCATE TABLE sequence grafana | logger=migrator t=2024-04-12T12:19:39.114176674Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=5.962708ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:39.118948224Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:39.125828713Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.878519ms policy-db-migrator | policy-db-migrator | > upgrade 0100-pdpstatistics.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:39.129797985Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-04-12T12:19:39.13087018Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.071925ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:39.135859905Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:39.142381586Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=6.519701ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:39.146203085Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | DROP TABLE pdpstatistics grafana | logger=migrator t=2024-04-12T12:19:39.153096104Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=6.892569ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:39.158360676Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:39.158570461Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=169.774µs policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-04-12T12:19:39.164749834Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:39.167023326Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=2.273113ms policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats grafana | logger=migrator t=2024-04-12T12:19:39.170723772Z 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-04-12T12:19:39.171831137Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" duration=1.106835ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:39.174807066Z 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-04-12T12:19:39.175890881Z 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.083275ms policy-db-migrator | > upgrade 0120-statistics_sequence.sql grafana | logger=migrator t=2024-04-12T12:19:39.183522568Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:39.183650521Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=127.863µs policy-db-migrator | DROP TABLE statistics_sequence grafana | logger=migrator t=2024-04-12T12:19:39.189550007Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-12T12:19:39.199547198Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=9.997461ms policy-db-migrator | grafana | logger=migrator t=2024-04-12T12:19:39.203392337Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | policyadmin: OK: upgrade (1300) grafana | logger=migrator t=2024-04-12T12:19:39.208528456Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=5.137079ms policy-db-migrator | name version grafana | logger=migrator t=2024-04-12T12:19:39.252750959Z level=info msg="Executing migration" id="add column labels to alert_rule_version" grafana | logger=migrator t=2024-04-12T12:19:39.262691089Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=9.937359ms policy-db-migrator | policyadmin 1300 grafana | logger=migrator t=2024-04-12T12:19:39.266088557Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | ID script operation from_version to_version tag success atTime grafana | logger=migrator t=2024-04-12T12:19:39.27054609Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=4.454923ms policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:45 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:45 grafana | logger=migrator t=2024-04-12T12:19:39.273827346Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" grafana | logger=migrator t=2024-04-12T12:19:39.279962648Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.104281ms policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:45 grafana | logger=migrator t=2024-04-12T12:19:39.285332152Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:45 grafana | logger=migrator t=2024-04-12T12:19:39.285397144Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=65.772µs policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:45 grafana | logger=migrator t=2024-04-12T12:19:39.288586037Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:45 grafana | logger=migrator t=2024-04-12T12:19:39.289415277Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=828.86µs policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:45 grafana | logger=migrator t=2024-04-12T12:19:39.292637201Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:45 grafana | logger=migrator t=2024-04-12T12:19:39.303785119Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=11.146268ms policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:45 grafana | logger=migrator t=2024-04-12T12:19:39.318241903Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:45 grafana | logger=migrator t=2024-04-12T12:19:39.318344246Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=104.463µs policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:45 grafana | logger=migrator t=2024-04-12T12:19:39.336233319Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:45 grafana | logger=migrator t=2024-04-12T12:19:39.346486056Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=10.252417ms policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:45 grafana | logger=migrator t=2024-04-12T12:19:39.358463883Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:45 grafana | logger=migrator t=2024-04-12T12:19:39.359977578Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.513435ms policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 grafana | logger=migrator t=2024-04-12T12:19:39.373386479Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 grafana | logger=migrator t=2024-04-12T12:19:39.38339313Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=10.008432ms policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 grafana | logger=migrator t=2024-04-12T12:19:39.391091828Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 grafana | logger=migrator t=2024-04-12T12:19:39.392003569Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=909.831µs policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 grafana | logger=migrator t=2024-04-12T12:19:39.406077125Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 grafana | logger=migrator t=2024-04-12T12:19:39.40762637Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.549136ms policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 grafana | logger=migrator t=2024-04-12T12:19:39.420483108Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 grafana | logger=migrator t=2024-04-12T12:19:39.430461978Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=9.97834ms policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 grafana | logger=migrator t=2024-04-12T12:19:39.433775635Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 grafana | logger=migrator t=2024-04-12T12:19:39.434332708Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=559.373µs policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 grafana | logger=migrator t=2024-04-12T12:19:39.444508303Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 grafana | logger=migrator t=2024-04-12T12:19:39.44608445Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.573827ms policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 grafana | logger=migrator t=2024-04-12T12:19:39.449580991Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 grafana | logger=migrator t=2024-04-12T12:19:39.45083669Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.255549ms policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 grafana | logger=migrator t=2024-04-12T12:19:39.456219644Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 grafana | logger=migrator t=2024-04-12T12:19:39.45775221Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.558867ms policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 grafana | logger=migrator t=2024-04-12T12:19:39.463666906Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 grafana | logger=migrator t=2024-04-12T12:19:39.463727728Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=61.892µs policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 grafana | logger=migrator t=2024-04-12T12:19:39.467021584Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 grafana | logger=migrator t=2024-04-12T12:19:39.468322024Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.29899ms policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 grafana | logger=migrator t=2024-04-12T12:19:39.472097331Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 grafana | logger=migrator t=2024-04-12T12:19:39.473568605Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.465004ms policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 grafana | logger=migrator t=2024-04-12T12:19:39.480006464Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:46 grafana | logger=migrator t=2024-04-12T12:19:39.480407273Z 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 | 41 0500-pdpsubgroup.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 grafana | logger=migrator t=2024-04-12T12:19:39.483242469Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 grafana | logger=migrator t=2024-04-12T12:19:39.483630588Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=387.879µs policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 grafana | logger=migrator t=2024-04-12T12:19:39.487149599Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 grafana | logger=migrator t=2024-04-12T12:19:39.488691885Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.541826ms policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 grafana | logger=migrator t=2024-04-12T12:19:39.494687994Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 grafana | logger=migrator t=2024-04-12T12:19:39.50448158Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=9.794456ms policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 grafana | logger=migrator t=2024-04-12T12:19:39.508180936Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 grafana | logger=migrator t=2024-04-12T12:19:39.5092086Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.027264ms policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 grafana | logger=migrator t=2024-04-12T12:19:39.512307451Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 grafana | logger=migrator t=2024-04-12T12:19:39.513337315Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.026484ms policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 grafana | logger=migrator t=2024-04-12T12:19:39.521581826Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 grafana | logger=migrator t=2024-04-12T12:19:39.522854185Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.271899ms policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 grafana | logger=migrator t=2024-04-12T12:19:39.527956543Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 grafana | logger=migrator t=2024-04-12T12:19:39.52954013Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.582707ms policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 grafana | logger=migrator t=2024-04-12T12:19:39.533994823Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 grafana | logger=migrator t=2024-04-12T12:19:39.535559079Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.559156ms policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 grafana | logger=migrator t=2024-04-12T12:19:39.541987488Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 grafana | logger=migrator t=2024-04-12T12:19:39.542014098Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=27.4µs policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 grafana | logger=migrator t=2024-04-12T12:19:39.546636905Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 grafana | logger=migrator t=2024-04-12T12:19:39.546741368Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=105.182µs policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 grafana | logger=migrator t=2024-04-12T12:19:39.550675819Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 grafana | logger=migrator t=2024-04-12T12:19:39.551106768Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=430.84µs policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 grafana | logger=migrator t=2024-04-12T12:19:39.556521034Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 grafana | logger=migrator t=2024-04-12T12:19:39.558002588Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.481014ms policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:47 grafana | logger=migrator t=2024-04-12T12:19:39.621841264Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 grafana | logger=migrator t=2024-04-12T12:19:39.623336389Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.497945ms policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 grafana | logger=migrator t=2024-04-12T12:19:39.62725599Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 grafana | logger=migrator t=2024-04-12T12:19:39.659036404Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=31.781995ms policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 grafana | logger=migrator t=2024-04-12T12:19:39.661923071Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 grafana | logger=migrator t=2024-04-12T12:19:39.668499923Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=6.581162ms policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 grafana | logger=migrator t=2024-04-12T12:19:39.673648482Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 grafana | logger=migrator t=2024-04-12T12:19:39.673792306Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=144.314µs policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 grafana | logger=migrator t=2024-04-12T12:19:39.676293004Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 grafana | logger=migrator t=2024-04-12T12:19:39.708516119Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=32.223115ms policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 grafana | logger=migrator t=2024-04-12T12:19:39.711867216Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 grafana | logger=migrator t=2024-04-12T12:19:39.73795587Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=26.088214ms policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 grafana | logger=migrator t=2024-04-12T12:19:39.74316496Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 grafana | logger=migrator t=2024-04-12T12:19:39.743825435Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=662.405µs policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 grafana | logger=migrator t=2024-04-12T12:19:39.748048343Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 grafana | logger=migrator t=2024-04-12T12:19:39.748942704Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=896.201µs policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 grafana | logger=migrator t=2024-04-12T12:19:39.754166404Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 grafana | logger=migrator t=2024-04-12T12:19:39.754318648Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=152.284µs policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 grafana | logger=migrator t=2024-04-12T12:19:39.757694566Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 grafana | logger=migrator t=2024-04-12T12:19:39.758336521Z level=info msg="Migration successfully executed" id="create permission table" duration=641.805µs policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 grafana | logger=migrator t=2024-04-12T12:19:39.762998329Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 grafana | logger=migrator t=2024-04-12T12:19:39.764097464Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.097225ms policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:48 grafana | logger=migrator t=2024-04-12T12:19:39.767597905Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:49 grafana | logger=migrator t=2024-04-12T12:19:39.769262234Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.663548ms policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:49 grafana | logger=migrator t=2024-04-12T12:19:39.772685603Z level=info msg="Executing migration" id="create role table" policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:49 grafana | logger=migrator t=2024-04-12T12:19:39.773541463Z level=info msg="Migration successfully executed" id="create role table" duration=855.719µs policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:49 grafana | logger=migrator t=2024-04-12T12:19:39.779613123Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:49 grafana | logger=migrator t=2024-04-12T12:19:39.786916302Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.302559ms policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:49 grafana | logger=migrator t=2024-04-12T12:19:39.790223438Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:49 grafana | logger=migrator t=2024-04-12T12:19:39.797360473Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.136145ms policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1204241219450800u 1 2024-04-12 12:19:49 grafana | logger=migrator t=2024-04-12T12:19:39.801948799Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1204241219450900u 1 2024-04-12 12:19:49 grafana | logger=migrator t=2024-04-12T12:19:39.803482125Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.531626ms policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1204241219450900u 1 2024-04-12 12:19:49 grafana | logger=migrator t=2024-04-12T12:19:39.809191657Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1204241219450900u 1 2024-04-12 12:19:49 grafana | logger=migrator t=2024-04-12T12:19:39.810839285Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.647718ms policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1204241219450900u 1 2024-04-12 12:19:49 grafana | logger=migrator t=2024-04-12T12:19:39.814215983Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1204241219450900u 1 2024-04-12 12:19:49 grafana | logger=migrator t=2024-04-12T12:19:39.815853331Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.636638ms policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1204241219450900u 1 2024-04-12 12:19:49 grafana | logger=migrator t=2024-04-12T12:19:39.819031265Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1204241219450900u 1 2024-04-12 12:19:49 grafana | logger=migrator t=2024-04-12T12:19:39.819817013Z level=info msg="Migration successfully executed" id="create team role table" duration=785.939µs policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1204241219450900u 1 2024-04-12 12:19:50 grafana | logger=migrator t=2024-04-12T12:19:39.825361621Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1204241219450900u 1 2024-04-12 12:19:50 grafana | logger=migrator t=2024-04-12T12:19:39.82702983Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.668578ms policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1204241219450900u 1 2024-04-12 12:19:50 grafana | logger=migrator t=2024-04-12T12:19:39.831051673Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1204241219450900u 1 2024-04-12 12:19:50 grafana | logger=migrator t=2024-04-12T12:19:39.832779402Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.72683ms policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1204241219450900u 1 2024-04-12 12:19:50 grafana | logger=migrator t=2024-04-12T12:19:39.838624058Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1204241219450900u 1 2024-04-12 12:19:50 grafana | logger=migrator t=2024-04-12T12:19:39.83959256Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=966.782µs policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1204241219451000u 1 2024-04-12 12:19:50 grafana | logger=migrator t=2024-04-12T12:19:39.842946598Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1204241219451000u 1 2024-04-12 12:19:50 grafana | logger=migrator t=2024-04-12T12:19:39.844246598Z level=info msg="Migration successfully executed" id="create user role table" duration=1.2996ms policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1204241219451000u 1 2024-04-12 12:19:50 grafana | logger=migrator t=2024-04-12T12:19:39.847744509Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1204241219451000u 1 2024-04-12 12:19:50 grafana | logger=migrator t=2024-04-12T12:19:39.849312475Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.568167ms policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1204241219451000u 1 2024-04-12 12:19:50 grafana | logger=migrator t=2024-04-12T12:19:39.852510579Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1204241219451000u 1 2024-04-12 12:19:50 grafana | logger=migrator t=2024-04-12T12:19:39.853502702Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=993.243µs policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1204241219451000u 1 2024-04-12 12:19:50 grafana | logger=migrator t=2024-04-12T12:19:39.859889959Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1204241219451000u 1 2024-04-12 12:19:50 grafana | logger=migrator t=2024-04-12T12:19:39.861479786Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.589467ms policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1204241219451000u 1 2024-04-12 12:19:50 grafana | logger=migrator t=2024-04-12T12:19:39.864724401Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1204241219451100u 1 2024-04-12 12:19:50 grafana | logger=migrator t=2024-04-12T12:19:39.86598801Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.263279ms policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1204241219451200u 1 2024-04-12 12:19:50 grafana | logger=migrator t=2024-04-12T12:19:39.869110493Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1204241219451200u 1 2024-04-12 12:19:51 grafana | logger=migrator t=2024-04-12T12:19:39.870119116Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.008523ms policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1204241219451200u 1 2024-04-12 12:19:51 grafana | logger=migrator t=2024-04-12T12:19:39.874687212Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1204241219451200u 1 2024-04-12 12:19:51 grafana | logger=migrator t=2024-04-12T12:19:39.875699185Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.011633ms policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 1204241219451300u 1 2024-04-12 12:19:51 grafana | logger=migrator t=2024-04-12T12:19:39.879212496Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 1204241219451300u 1 2024-04-12 12:19:51 grafana | logger=migrator t=2024-04-12T12:19:39.886951825Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.738709ms policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 1204241219451300u 1 2024-04-12 12:19:51 grafana | logger=migrator t=2024-04-12T12:19:39.890208581Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | policyadmin: OK @ 1300 grafana | logger=migrator t=2024-04-12T12:19:39.891206604Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=997.883µs grafana | logger=migrator t=2024-04-12T12:19:39.895561784Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2024-04-12T12:19:39.897193462Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.633398ms grafana | logger=migrator t=2024-04-12T12:19:39.900958509Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" grafana | logger=migrator t=2024-04-12T12:19:39.902457614Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.500025ms grafana | logger=migrator t=2024-04-12T12:19:39.906250732Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2024-04-12T12:19:39.907240974Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=989.852µs grafana | logger=migrator t=2024-04-12T12:19:39.953198257Z level=info msg="Executing migration" id="create seed assignment table" grafana | logger=migrator t=2024-04-12T12:19:39.953968885Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=772.498µs grafana | logger=migrator t=2024-04-12T12:19:39.957779573Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2024-04-12T12:19:39.958547831Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=768.028µs grafana | logger=migrator t=2024-04-12T12:19:39.961691844Z level=info msg="Executing migration" id="add column hidden to role table" grafana | logger=migrator t=2024-04-12T12:19:39.967463617Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=5.771613ms grafana | logger=migrator t=2024-04-12T12:19:39.97580548Z level=info msg="Executing migration" id="permission kind migration" grafana | logger=migrator t=2024-04-12T12:19:39.984089722Z level=info msg="Migration successfully executed" id="permission kind migration" duration=8.281712ms grafana | logger=migrator t=2024-04-12T12:19:39.987672295Z level=info msg="Executing migration" id="permission attribute migration" grafana | logger=migrator t=2024-04-12T12:19:39.993245523Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=5.573139ms grafana | logger=migrator t=2024-04-12T12:19:39.99656782Z level=info msg="Executing migration" id="permission identifier migration" grafana | logger=migrator t=2024-04-12T12:19:40.004420201Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.851661ms grafana | logger=migrator t=2024-04-12T12:19:40.009118614Z level=info msg="Executing migration" id="add permission identifier index" grafana | logger=migrator t=2024-04-12T12:19:40.010324559Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.208276ms grafana | logger=migrator t=2024-04-12T12:19:40.013759452Z level=info msg="Executing migration" id="add permission action scope role_id index" grafana | logger=migrator t=2024-04-12T12:19:40.015022058Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=1.261996ms grafana | logger=migrator t=2024-04-12T12:19:40.018341938Z level=info msg="Executing migration" id="remove permission role_id action scope index" grafana | logger=migrator t=2024-04-12T12:19:40.019464461Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.122683ms grafana | logger=migrator t=2024-04-12T12:19:40.023989706Z level=info msg="Executing migration" id="create query_history table v1" grafana | logger=migrator t=2024-04-12T12:19:40.025000897Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.010611ms grafana | logger=migrator t=2024-04-12T12:19:40.028528621Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" grafana | logger=migrator t=2024-04-12T12:19:40.029659725Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.130824ms grafana | logger=migrator t=2024-04-12T12:19:40.033191849Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" grafana | logger=migrator t=2024-04-12T12:19:40.033256871Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=65.862µs grafana | logger=migrator t=2024-04-12T12:19:40.039511652Z level=info msg="Executing migration" id="rbac disabled migrator" grafana | logger=migrator t=2024-04-12T12:19:40.039561003Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=50.631µs grafana | logger=migrator t=2024-04-12T12:19:40.043462225Z level=info msg="Executing migration" id="teams permissions migration" grafana | logger=migrator t=2024-04-12T12:19:40.044222721Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=760.286µs grafana | logger=migrator t=2024-04-12T12:19:40.048409049Z level=info msg="Executing migration" id="dashboard permissions" grafana | logger=migrator t=2024-04-12T12:19:40.049303027Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=894.909µs grafana | logger=migrator t=2024-04-12T12:19:40.05324674Z level=info msg="Executing migration" id="dashboard permissions uid scopes" grafana | logger=migrator t=2024-04-12T12:19:40.053978245Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=731.455µs grafana | logger=migrator t=2024-04-12T12:19:40.058790126Z level=info msg="Executing migration" id="drop managed folder create actions" grafana | logger=migrator t=2024-04-12T12:19:40.059105263Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=314.747µs grafana | logger=migrator t=2024-04-12T12:19:40.062730219Z level=info msg="Executing migration" id="alerting notification permissions" grafana | logger=migrator t=2024-04-12T12:19:40.063573767Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=843.418µs grafana | logger=migrator t=2024-04-12T12:19:40.067517899Z level=info msg="Executing migration" id="create query_history_star table v1" grafana | logger=migrator t=2024-04-12T12:19:40.06895661Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.437141ms grafana | logger=migrator t=2024-04-12T12:19:40.073995555Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2024-04-12T12:19:40.0751699Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.173965ms grafana | logger=migrator t=2024-04-12T12:19:40.07896411Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2024-04-12T12:19:40.089309827Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=10.346987ms grafana | logger=migrator t=2024-04-12T12:19:40.092555655Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" grafana | logger=migrator t=2024-04-12T12:19:40.092602766Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=47.701µs grafana | logger=migrator t=2024-04-12T12:19:40.096189111Z level=info msg="Executing migration" id="create correlation table v1" grafana | logger=migrator t=2024-04-12T12:19:40.097397486Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.207645ms grafana | logger=migrator t=2024-04-12T12:19:40.10327827Z level=info msg="Executing migration" id="add index correlations.uid" grafana | logger=migrator t=2024-04-12T12:19:40.105057237Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.777687ms grafana | logger=migrator t=2024-04-12T12:19:40.109132003Z level=info msg="Executing migration" id="add index correlations.source_uid" grafana | logger=migrator t=2024-04-12T12:19:40.110982721Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.847909ms grafana | logger=migrator t=2024-04-12T12:19:40.115040167Z level=info msg="Executing migration" id="add correlation config column" grafana | logger=migrator t=2024-04-12T12:19:40.123651987Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.613631ms grafana | logger=migrator t=2024-04-12T12:19:40.12805512Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2024-04-12T12:19:40.129061481Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.006261ms grafana | logger=migrator t=2024-04-12T12:19:40.132334039Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" grafana | logger=migrator t=2024-04-12T12:19:40.13330465Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=970.111µs grafana | logger=migrator t=2024-04-12T12:19:40.137558819Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" grafana | logger=migrator t=2024-04-12T12:19:40.159017769Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=21.45913ms grafana | logger=migrator t=2024-04-12T12:19:40.162059693Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2024-04-12T12:19:40.162958422Z level=info msg="Migration successfully executed" id="create correlation v2" duration=898.399µs grafana | logger=migrator t=2024-04-12T12:19:40.166354503Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" grafana | logger=migrator t=2024-04-12T12:19:40.167105519Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=751.156µs grafana | logger=migrator t=2024-04-12T12:19:40.171834478Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" grafana | logger=migrator t=2024-04-12T12:19:40.173631746Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.797398ms grafana | logger=migrator t=2024-04-12T12:19:40.177951336Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2024-04-12T12:19:40.179004499Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.053092ms grafana | logger=migrator t=2024-04-12T12:19:40.182569203Z level=info msg="Executing migration" id="copy correlation v1 to v2" grafana | logger=migrator t=2024-04-12T12:19:40.182974452Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=404.729µs grafana | logger=migrator t=2024-04-12T12:19:40.187421935Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2024-04-12T12:19:40.188648891Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.226116ms grafana | logger=migrator t=2024-04-12T12:19:40.192628554Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2024-04-12T12:19:40.202735676Z level=info msg="Migration successfully executed" id="add provisioning column" duration=10.106292ms grafana | logger=migrator t=2024-04-12T12:19:40.206188249Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2024-04-12T12:19:40.20769593Z level=info msg="Migration successfully executed" id="create entity_events table" duration=1.507041ms grafana | logger=migrator t=2024-04-12T12:19:40.213118114Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2024-04-12T12:19:40.215200838Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=2.084474ms grafana | logger=migrator t=2024-04-12T12:19:40.219385646Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-04-12T12:19:40.220263074Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-04-12T12:19:40.223785838Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-04-12T12:19:40.224581225Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-04-12T12:19:40.229195112Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2024-04-12T12:19:40.230487449Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.291818ms grafana | logger=migrator t=2024-04-12T12:19:40.23388487Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2024-04-12T12:19:40.235522214Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.640834ms grafana | logger=migrator t=2024-04-12T12:19:40.240220043Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-04-12T12:19:40.241946829Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.726746ms grafana | logger=migrator t=2024-04-12T12:19:40.245480773Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-04-12T12:19:40.246623497Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.142464ms grafana | logger=migrator t=2024-04-12T12:19:40.249855805Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-04-12T12:19:40.250923877Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.068412ms grafana | logger=migrator t=2024-04-12T12:19:40.255546754Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-04-12T12:19:40.256560416Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.013122ms grafana | logger=migrator t=2024-04-12T12:19:40.260339275Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2024-04-12T12:19:40.261492599Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.151364ms grafana | logger=migrator t=2024-04-12T12:19:40.298376323Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2024-04-12T12:19:40.300560919Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=2.184096ms grafana | logger=migrator t=2024-04-12T12:19:40.305502942Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-04-12T12:19:40.306537074Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.033992ms grafana | logger=migrator t=2024-04-12T12:19:40.310279963Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-04-12T12:19:40.311400686Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.120513ms grafana | logger=migrator t=2024-04-12T12:19:40.315934011Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2024-04-12T12:19:40.316991094Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.056562ms grafana | logger=migrator t=2024-04-12T12:19:40.320479027Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2024-04-12T12:19:40.345524782Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=25.045415ms grafana | logger=migrator t=2024-04-12T12:19:40.348974895Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2024-04-12T12:19:40.356512923Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=7.537048ms grafana | logger=migrator t=2024-04-12T12:19:40.360746962Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2024-04-12T12:19:40.369009015Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.261583ms grafana | logger=migrator t=2024-04-12T12:19:40.372442637Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2024-04-12T12:19:40.37259822Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=155.353µs grafana | logger=migrator t=2024-04-12T12:19:40.375772927Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2024-04-12T12:19:40.382627741Z level=info msg="Migration successfully executed" id="add share column" duration=6.853694ms grafana | logger=migrator t=2024-04-12T12:19:40.385892869Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2024-04-12T12:19:40.386079563Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=186.824µs grafana | logger=migrator t=2024-04-12T12:19:40.390320362Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2024-04-12T12:19:40.391259622Z level=info msg="Migration successfully executed" id="create file table" duration=939.08µs grafana | logger=migrator t=2024-04-12T12:19:40.394747735Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2024-04-12T12:19:40.395778927Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.030971ms grafana | logger=migrator t=2024-04-12T12:19:40.399377392Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2024-04-12T12:19:40.400430494Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.052892ms grafana | logger=migrator t=2024-04-12T12:19:40.404824116Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2024-04-12T12:19:40.406037472Z level=info msg="Migration successfully executed" id="create file_meta table" duration=1.216126ms grafana | logger=migrator t=2024-04-12T12:19:40.409689918Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2024-04-12T12:19:40.411407464Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.716636ms grafana | logger=migrator t=2024-04-12T12:19:40.417007172Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2024-04-12T12:19:40.417072063Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=65.071µs grafana | logger=migrator t=2024-04-12T12:19:40.420561406Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2024-04-12T12:19:40.420626038Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=64.842µs grafana | logger=migrator t=2024-04-12T12:19:40.425284726Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2024-04-12T12:19:40.426093003Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=807.926µs grafana | logger=migrator t=2024-04-12T12:19:40.429901612Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2024-04-12T12:19:40.430230989Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=329.687µs grafana | logger=migrator t=2024-04-12T12:19:40.43408135Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-04-12T12:19:40.436097132Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=2.015342ms grafana | logger=migrator t=2024-04-12T12:19:40.439585616Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-04-12T12:19:40.447977352Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.391846ms grafana | logger=migrator t=2024-04-12T12:19:40.452459496Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-04-12T12:19:40.452576248Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=117.282µs grafana | logger=migrator t=2024-04-12T12:19:40.456071501Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-04-12T12:19:40.457565003Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.499352ms grafana | logger=migrator t=2024-04-12T12:19:40.461849563Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-04-12T12:19:40.462455345Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=606.842µs grafana | logger=migrator t=2024-04-12T12:19:40.467220305Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-04-12T12:19:40.46742377Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=203.515µs grafana | logger=migrator t=2024-04-12T12:19:40.470721549Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-04-12T12:19:40.47123356Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=512.361µs grafana | logger=migrator t=2024-04-12T12:19:40.474819215Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-04-12T12:19:40.486902338Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=12.084433ms grafana | logger=migrator t=2024-04-12T12:19:40.492315822Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-04-12T12:19:40.50128357Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.966568ms grafana | logger=migrator t=2024-04-12T12:19:40.504751903Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2024-04-12T12:19:40.505520129Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=765.716µs grafana | logger=migrator t=2024-04-12T12:19:40.50987593Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2024-04-12T12:19:40.581632446Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=71.755786ms grafana | logger=migrator t=2024-04-12T12:19:40.594757781Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-04-12T12:19:40.596483207Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.725356ms grafana | logger=migrator t=2024-04-12T12:19:40.600703336Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2024-04-12T12:19:40.60187398Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.169894ms grafana | logger=migrator t=2024-04-12T12:19:40.605983187Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-04-12T12:19:40.632035473Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=26.052846ms grafana | logger=migrator t=2024-04-12T12:19:40.638385817Z level=info msg="Executing migration" id="add origin column to seed_assignment" grafana | logger=migrator t=2024-04-12T12:19:40.64520547Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=6.819144ms grafana | logger=migrator t=2024-04-12T12:19:40.64951249Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" grafana | logger=migrator t=2024-04-12T12:19:40.649824406Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=311.686µs grafana | logger=migrator t=2024-04-12T12:19:40.65378761Z level=info msg="Executing migration" id="prevent seeding OnCall access" grafana | logger=migrator t=2024-04-12T12:19:40.653966293Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=178.513µs grafana | logger=migrator t=2024-04-12T12:19:40.658675392Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2024-04-12T12:19:40.658878886Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=203.554µs grafana | logger=migrator t=2024-04-12T12:19:40.66284775Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2024-04-12T12:19:40.663156646Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=308.806µs grafana | logger=migrator t=2024-04-12T12:19:40.667116339Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2024-04-12T12:19:40.667408745Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=293.516µs grafana | logger=migrator t=2024-04-12T12:19:40.671104733Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-04-12T12:19:40.672485572Z level=info msg="Migration successfully executed" id="create folder table" duration=1.380469ms grafana | logger=migrator t=2024-04-12T12:19:40.676930825Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2024-04-12T12:19:40.678183631Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.252216ms grafana | logger=migrator t=2024-04-12T12:19:40.681753026Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2024-04-12T12:19:40.682954462Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.200696ms grafana | logger=migrator t=2024-04-12T12:19:40.686908425Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-04-12T12:19:40.686934785Z level=info msg="Migration successfully executed" id="Update folder title length" duration=27.041µs grafana | logger=migrator t=2024-04-12T12:19:40.691132613Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-04-12T12:19:40.692357739Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.224786ms grafana | logger=migrator t=2024-04-12T12:19:40.695713719Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-04-12T12:19:40.697329183Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.616514ms grafana | logger=migrator t=2024-04-12T12:19:40.700881348Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-04-12T12:19:40.702227266Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.346058ms grafana | logger=migrator t=2024-04-12T12:19:40.70669402Z level=info msg="Executing migration" id="Sync dashboard and folder table" grafana | logger=migrator t=2024-04-12T12:19:40.707148679Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=454.699µs grafana | logger=migrator t=2024-04-12T12:19:40.710392027Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" grafana | logger=migrator t=2024-04-12T12:19:40.710668363Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=276.476µs grafana | logger=migrator t=2024-04-12T12:19:40.714005593Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" grafana | logger=migrator t=2024-04-12T12:19:40.715106176Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.102523ms grafana | logger=migrator t=2024-04-12T12:19:40.719351845Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" grafana | logger=migrator t=2024-04-12T12:19:40.721120292Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=1.765267ms grafana | logger=migrator t=2024-04-12T12:19:40.725205568Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" grafana | logger=migrator t=2024-04-12T12:19:40.726874583Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.668785ms grafana | logger=migrator t=2024-04-12T12:19:40.732027561Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" grafana | logger=migrator t=2024-04-12T12:19:40.735384992Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=3.356491ms grafana | logger=migrator t=2024-04-12T12:19:40.740521019Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" grafana | logger=migrator t=2024-04-12T12:19:40.741819577Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.303418ms grafana | logger=migrator t=2024-04-12T12:19:40.744882541Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-04-12T12:19:40.74579454Z level=info msg="Migration successfully executed" id="create anon_device table" duration=912.019µs grafana | logger=migrator t=2024-04-12T12:19:40.749969058Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-04-12T12:19:40.751167443Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.198435ms grafana | logger=migrator t=2024-04-12T12:19:40.756021395Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-04-12T12:19:40.757977486Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.956682ms grafana | logger=migrator t=2024-04-12T12:19:40.761884088Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-04-12T12:19:40.762853368Z level=info msg="Migration successfully executed" id="create signing_key table" duration=969.1µs grafana | logger=migrator t=2024-04-12T12:19:40.76722107Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-04-12T12:19:40.768979936Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.753437ms grafana | logger=migrator t=2024-04-12T12:19:40.773215945Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-04-12T12:19:40.775189437Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.974062ms grafana | logger=migrator t=2024-04-12T12:19:40.779051068Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-04-12T12:19:40.779492967Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=442.369µs grafana | logger=migrator t=2024-04-12T12:19:40.784366009Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-04-12T12:19:40.795582555Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=11.215245ms grafana | logger=migrator t=2024-04-12T12:19:40.799321723Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-04-12T12:19:40.799888675Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=568.492µs grafana | logger=migrator t=2024-04-12T12:19:40.803388278Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-04-12T12:19:40.804249776Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=861.748µs grafana | logger=migrator t=2024-04-12T12:19:40.808886024Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-04-12T12:19:40.810571119Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.685145ms grafana | logger=migrator t=2024-04-12T12:19:40.815034523Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-04-12T12:19:40.816228458Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=1.193385ms grafana | logger=migrator t=2024-04-12T12:19:40.819816243Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" grafana | logger=migrator t=2024-04-12T12:19:40.821498078Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=1.679845ms grafana | logger=migrator t=2024-04-12T12:19:40.826077894Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-04-12T12:19:40.827966214Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.88772ms grafana | logger=migrator t=2024-04-12T12:19:40.831893736Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-04-12T12:19:40.833087821Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.196705ms grafana | logger=migrator t=2024-04-12T12:19:40.838714409Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-04-12T12:19:40.839565977Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=852.048µs grafana | logger=migrator t=2024-04-12T12:19:40.844783817Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-04-12T12:19:40.845245367Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=463.889µs grafana | logger=migrator t=2024-04-12T12:19:40.84920455Z level=info msg="Executing migration" id="alter kv_store.value to longtext" grafana | logger=migrator t=2024-04-12T12:19:40.849326922Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=124.713µs grafana | logger=migrator t=2024-04-12T12:19:40.853563441Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" grafana | logger=migrator t=2024-04-12T12:19:40.865837259Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=12.271347ms grafana | logger=migrator t=2024-04-12T12:19:40.870706331Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" grafana | logger=migrator t=2024-04-12T12:19:40.881666301Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=10.95667ms grafana | logger=migrator t=2024-04-12T12:19:40.885402749Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" grafana | logger=migrator t=2024-04-12T12:19:40.885722856Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=326.057µs grafana | logger=migrator t=2024-04-12T12:19:40.888896242Z level=info msg="migrations completed" performed=548 skipped=0 duration=4.724984723s grafana | logger=sqlstore t=2024-04-12T12:19:40.897678837Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-04-12T12:19:40.897974423Z level=info msg="Created default organization" grafana | logger=secrets t=2024-04-12T12:19:40.903331485Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2024-04-12T12:19:40.927066443Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2024-04-12T12:19:40.970578506Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-04-12T12:19:40.970695178Z level=info msg="Plugins loaded" count=55 duration=43.634605ms grafana | logger=query_data t=2024-04-12T12:19:40.973221581Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-04-12T12:19:40.976526491Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2024-04-12T12:19:40.984357975Z level=info msg=Starting grafana | logger=ngalert.migration t=2024-04-12T12:19:40.984826595Z level=info msg="Applying transition" currentType=Legacy desiredType=UnifiedAlerting cleanOnDowngrade=false cleanOnUpgrade=false grafana | logger=ngalert.migration orgID=1 t=2024-04-12T12:19:40.985302055Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-04-12T12:19:40.985987959Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration t=2024-04-12T12:19:40.987754286Z level=info msg="Completed alerting migration" grafana | logger=ngalert.state.manager t=2024-04-12T12:19:41.016914304Z level=info msg="Running in alternative execution of Error/NoData mode" grafana | logger=infra.usagestats.collector t=2024-04-12T12:19:41.0191193Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-04-12T12:19:41.02153636Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-04-12T12:19:41.034587279Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-04-12T12:19:41.03463641Z level=info msg="finished to provision alerting" grafana | logger=ngalert.state.manager t=2024-04-12T12:19:41.034818824Z level=info msg="Warming state cache for startup" grafana | logger=ngalert.state.manager t=2024-04-12T12:19:41.035493501Z level=info msg="State cache has been initialized" states=0 duration=673.777µs grafana | logger=provisioning.dashboard t=2024-04-12T12:19:41.035939153Z level=info msg="starting to provision dashboards" grafana | logger=ngalert.multiorg.alertmanager t=2024-04-12T12:19:41.035941473Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=ngalert.scheduler t=2024-04-12T12:19:41.036160298Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 grafana | logger=ticker t=2024-04-12T12:19:41.036351833Z level=info msg=starting first_tick=2024-04-12T12:19:50Z grafana | logger=grafanaStorageLogger t=2024-04-12T12:19:41.03743072Z level=info msg="Storage starting" grafana | logger=http.server t=2024-04-12T12:19:41.03821552Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=grafana.update.checker t=2024-04-12T12:19:41.144747439Z level=info msg="Update check succeeded" duration=109.068263ms grafana | logger=plugins.update.checker t=2024-04-12T12:19:41.147414496Z level=info msg="Update check succeeded" duration=112.596682ms grafana | logger=sqlstore.transactions t=2024-04-12T12:19:41.19726334Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=provisioning.dashboard t=2024-04-12T12:19:41.407783905Z level=info msg="finished to provision dashboards" grafana | logger=grafana-apiserver t=2024-04-12T12:19:41.617344656Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" grafana | logger=grafana-apiserver t=2024-04-12T12:19:41.61789572Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" grafana | logger=infra.usagestats t=2024-04-12T12:20:55.050519125Z level=info msg="Usage stats are ready to report" ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing mariadb ... Removing prometheus ... Removing policy-api ... done Removing policy-db-migrator ... done Removing prometheus ... done Removing grafana ... done Removing mariadb ... done Removing network compose_default ++ cd /w/workspace/policy-api-master-project-csit-api + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.5YeOTjQDpQ ]] + rsync -av /tmp/tmp.5YeOTjQDpQ/ /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,005 bytes received 95 bytes 2,714,200.00 bytes/sec total size is 1,356,355 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 2081 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/jenkins13787642592396315188.sh ---> sysstat.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins14179504668952129560.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/jenkins14668978876140005802.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-8LfR from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-8LfR/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins15478342747973760082.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-master-project-csit-api@tmp/config4041526688814409041tmp 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/jenkins6719900001881797355.sh ---> create-netrc.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins14093845350173034025.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-8LfR from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-8LfR/bin to PATH [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins1666303625588486330.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins2176424042505248150.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-8LfR 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-8LfR/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/jenkins17769004331615503953.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-8LfR from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-8LfR/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-master-project-csit-api/1598 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-22701 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 845 27340 0 3981 30865 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:ca:ea:9d brd ff:ff:ff:ff:ff:ff inet 10.30.107.3/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86056sec preferred_lft 86056sec inet6 fe80::f816:3eff:feca:ea9d/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:96:a1:3a:d4 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-22701) 04/12/24 _x86_64_ (8 CPU) 12:16:33 LINUX RESTART (8 CPU) 12:17:01 tps rtps wtps bread/s bwrtn/s 12:18:01 145.32 70.93 74.39 4596.73 31383.41 12:19:01 135.61 23.51 112.10 2740.88 36470.19 12:20:01 393.72 12.18 381.54 832.93 86103.75 12:21:01 19.75 0.48 19.26 22.93 23749.01 12:22:01 64.47 1.38 63.09 124.78 26839.86 Average: 151.77 21.70 130.07 1663.75 40908.92 12:17:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 12:18:01 30131380 31682432 2807840 8.52 67376 1795876 1436288 4.23 886504 1631480 133792 12:19:01 29538788 31693404 3400432 10.32 93132 2348824 1333448 3.92 925716 2132020 328968 12:20:01 27370420 31018812 5568800 16.91 128852 3741952 3777084 11.11 1722912 3389636 276 12:21:01 26684476 30334764 6254744 18.99 128992 3743368 4520596 13.30 2410976 3386288 64 12:22:01 27998008 31606312 4941212 15.00 130684 3710380 1474040 4.34 1175516 3337176 760 Average: 28344614 31267145 4594606 13.95 109807 3068080 2508291 7.38 1424325 2775320 92772 12:17:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 12:18:01 lo 1.87 1.87 0.21 0.21 0.00 0.00 0.00 0.00 12:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:18:01 ens3 392.09 267.21 1465.98 61.48 0.00 0.00 0.00 0.00 12:19:01 lo 5.20 5.20 0.50 0.50 0.00 0.00 0.00 0.00 12:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:19:01 ens3 137.23 97.27 2952.15 18.62 0.00 0.00 0.00 0.00 12:19:01 br-85c086564c8e 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:20:01 lo 5.10 5.10 0.45 0.45 0.00 0.00 0.00 0.00 12:20:01 vethae00f25 16.96 16.33 8.93 8.75 0.00 0.00 0.00 0.00 12:20:01 vetha021d9d 0.43 0.62 0.05 0.30 0.00 0.00 0.00 0.00 12:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:21:01 lo 10.10 10.10 8.51 8.51 0.00 0.00 0.00 0.00 12:21:01 vethae00f25 96.98 78.22 28.54 104.36 0.00 0.00 0.00 0.01 12:21:01 vetha021d9d 0.17 0.22 0.01 0.01 0.00 0.00 0.00 0.00 12:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:22:01 lo 7.10 7.10 0.61 0.61 0.00 0.00 0.00 0.00 12:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:22:01 ens3 809.60 553.06 11383.16 117.43 0.00 0.00 0.00 0.00 Average: lo 5.87 5.87 2.05 2.05 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: ens3 159.71 108.74 2262.88 23.24 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-22701) 04/12/24 _x86_64_ (8 CPU) 12:16:33 LINUX RESTART (8 CPU) 12:17:01 CPU %user %nice %system %iowait %steal %idle 12:18:01 all 11.41 0.00 1.02 3.06 0.04 84.46 12:18:01 0 4.79 0.00 0.72 2.06 0.05 92.38 12:18:01 1 11.54 0.00 1.22 3.09 0.03 84.12 12:18:01 2 32.25 0.00 1.93 3.16 0.05 62.61 12:18:01 3 15.75 0.00 1.20 0.53 0.03 82.48 12:18:01 4 9.61 0.00 0.90 0.15 0.05 89.29 12:18:01 5 5.06 0.00 0.57 0.52 0.05 93.81 12:18:01 6 7.84 0.00 0.53 1.05 0.02 90.56 12:18:01 7 4.51 0.00 1.08 13.89 0.05 80.47 12:19:01 all 10.48 0.00 0.97 2.29 0.03 86.23 12:19:01 0 10.32 0.00 1.32 0.89 0.03 87.44 12:19:01 1 5.96 0.00 1.04 9.37 0.03 83.60 12:19:01 2 7.33 0.00 0.83 1.80 0.03 90.00 12:19:01 3 17.41 0.00 1.00 0.27 0.03 81.28 12:19:01 4 8.71 0.00 0.83 0.17 0.02 90.27 12:19:01 5 9.35 0.00 0.94 0.62 0.02 89.08 12:19:01 6 2.00 0.00 0.45 0.52 0.02 97.01 12:19:01 7 22.74 0.00 1.39 4.71 0.05 71.11 12:20:01 all 14.03 0.00 3.65 6.95 0.08 75.29 12:20:01 0 11.07 0.00 3.45 0.39 0.08 85.00 12:20:01 1 15.02 0.00 3.39 16.97 0.08 64.53 12:20:01 2 12.76 0.00 3.27 0.57 0.07 83.34 12:20:01 3 12.46 0.00 3.66 29.00 0.10 54.78 12:20:01 4 16.93 0.00 3.97 1.31 0.08 77.71 12:20:01 5 14.43 0.00 3.37 1.44 0.08 80.67 12:20:01 6 14.61 0.00 4.44 1.55 0.07 79.34 12:20:01 7 14.97 0.00 3.64 4.51 0.08 76.80 12:21:01 all 7.00 0.00 0.55 1.35 0.03 91.06 12:21:01 0 7.74 0.00 0.62 0.02 0.03 91.59 12:21:01 1 11.58 0.00 0.84 0.02 0.07 87.51 12:21:01 2 8.36 0.00 0.73 0.03 0.05 90.83 12:21:01 3 8.95 0.00 0.65 10.17 0.03 80.19 12:21:01 4 3.99 0.00 0.25 0.37 0.02 95.38 12:21:01 5 3.80 0.00 0.37 0.03 0.02 95.78 12:21:01 6 6.85 0.00 0.62 0.22 0.02 92.30 12:21:01 7 4.72 0.00 0.30 0.00 0.02 94.96 12:22:01 all 5.95 0.00 0.57 1.76 0.03 91.69 12:22:01 0 3.19 0.00 0.40 0.02 0.03 96.36 12:22:01 1 4.53 0.00 0.60 0.73 0.05 94.08 12:22:01 2 0.94 0.00 0.38 4.45 0.05 94.18 12:22:01 3 0.70 0.00 0.40 5.59 0.02 93.29 12:22:01 4 29.36 0.00 1.12 0.50 0.05 68.98 12:22:01 5 0.80 0.00 0.42 0.23 0.02 98.53 12:22:01 6 1.87 0.00 0.60 2.40 0.03 95.09 12:22:01 7 6.16 0.00 0.67 0.18 0.02 92.97 Average: all 9.77 0.00 1.35 3.08 0.04 85.76 Average: 0 7.41 0.00 1.30 0.68 0.05 90.57 Average: 1 9.72 0.00 1.41 6.02 0.05 82.79 Average: 2 12.32 0.00 1.43 2.00 0.05 84.20 Average: 3 11.05 0.00 1.38 9.06 0.04 78.47 Average: 4 13.72 0.00 1.41 0.50 0.04 84.33 Average: 5 6.69 0.00 1.13 0.57 0.04 91.58 Average: 6 6.62 0.00 1.32 1.15 0.03 90.88 Average: 7 10.61 0.00 1.41 4.66 0.04 83.28