Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-9135 (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-QYAhz95b9UhF/agent.2087 SSH_AGENT_PID=2089 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-master-project-csit-api@tmp/private_key_14352029912251470563.key (/w/workspace/policy-api-master-project-csit-api@tmp/private_key_14352029912251470563.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 8361cb0e3663a610a46bc5ea8a0cc783ade26f89 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 8361cb0e3663a610a46bc5ea8a0cc783ade26f89 # timeout=30 Commit message: "Fix config files removing hibernate deprecated properties and changing robot deprecated commands in test files" > git rev-list --no-walk 8361cb0e3663a610a46bc5ea8a0cc783ade26f89 # 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/jenkins2132084396678052955.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-Ss0b 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-Ss0b/bin to PATH Generating Requirements File ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.9 requires openstacksdk>=2.1.0, but you have openstacksdk 0.62.0 which is incompatible. Python 3.10.6 pip 24.0 from /tmp/venv-Ss0b/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.2 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.50 botocore==1.34.50 bs4==0.0.2 cachetools==5.3.3 certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.6.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.6.1 docker==4.2.2 dogpile.cache==1.3.2 email_validator==2.1.1 filelock==3.13.1 future==1.0.0 gitdb==4.0.11 GitPython==3.1.42 google-auth==2.28.1 httplib2==0.22.0 identify==2.5.35 idna==3.6 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.6.0 kubernetes==29.0.0 lftools==0.37.9 lxml==5.1.0 MarkupSafe==2.1.5 msgpack==1.0.7 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==0.62.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.4.0 oslo.i18n==6.3.0 oslo.log==5.5.0 oslo.serialization==5.4.0 oslo.utils==7.1.0 packaging==23.2 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.10.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.2.0 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.4.0 python-jenkins==1.8.2 python-keystoneclient==5.3.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.1 python-swiftclient==4.4.0 PyYAML==6.0.1 referencing==0.33.0 requests==2.31.0 requests-oauthlib==1.3.1 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.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.2.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.4 tqdm==4.66.2 typing_extensions==4.10.0 tzdata==2024.1 urllib3==1.26.18 virtualenv==20.25.1 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-master-project-csit-api] $ /bin/sh /tmp/jenkins10463806009375455676.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/jenkins10172096068343468421.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.NVBTmPRkq9 ++ echo ROBOT_VENV=/tmp/tmp.NVBTmPRkq9 +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.NVBTmPRkq9 ++ source /tmp/tmp.NVBTmPRkq9/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.NVBTmPRkq9 +++ 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.NVBTmPRkq9/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.NVBTmPRkq9) ' '!=' x ']' +++ PS1='(tmp.NVBTmPRkq9) ' +++ export PS1 +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r ++ set -exu ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' ++ echo 'Installing Python Requirements' Installing Python Requirements ++ python3 -m pip install -qq -r /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2024.2.2 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==5.1.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 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.NVBTmPRkq9/src/onap ++ rm -rf /tmp/tmp.NVBTmPRkq9/src/onap/testsuite ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre ++ echo 'Installing python confluent-kafka library' Installing python confluent-kafka library ++ python3 -m pip install -qq confluent-kafka ++ echo 'Uninstall docker-py and reinstall docker.' Uninstall docker-py and reinstall docker. ++ python3 -m pip uninstall -y -qq docker ++ python3 -m pip install -U -qq docker ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.3 bitarray==2.9.2 certifi==2024.2.2 cffi==1.15.1 charset-normalizer==2.0.12 confluent-kafka==2.3.0 cryptography==40.0.2 decorator==5.1.1 deepdiff==5.7.0 dnspython==2.2.1 docker==5.0.3 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 future==1.0.0 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==5.1.0 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 PyYAML==6.0.1 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==0.6.0.dev105 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.NVBTmPRkq9/bin/activate + '[' -z /tmp/tmp.NVBTmPRkq9/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.NVBTmPRkq9/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.NVBTmPRkq9 ++ 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.NVBTmPRkq9/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.NVBTmPRkq9) ' ++ '[' 'x(tmp.NVBTmPRkq9) ' '!=' x ']' ++ PS1='(tmp.NVBTmPRkq9) (tmp.NVBTmPRkq9) ' ++ 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.8uZfqdIV3x + cd /tmp/tmp.8uZfqdIV3x + 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:59b5cc74cb5bbcb86c2e85d974415cfa4a6270c5728a7a489a5c6eece42f2b45 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:71cc3c3555fddbd324c5ddec27e24db340b82732d2f6ce50eddcfdf6715a7ab2 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:042258e3578a558ce41b036104dfa997b2d25151ab6889a3f4d6187e27b1176c 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:8640e5038e83ca4554ed56b9d76375158bcd51580238c6f5d8adaf3f20dd5379 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating prometheus ... Creating mariadb ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-master-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-master-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 10 seconds policy-db-migrator Up 11 seconds grafana Up 13 seconds prometheus Up 14 seconds mariadb Up 12 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds prometheus Up 19 seconds mariadb Up 17 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds prometheus Up 24 seconds mariadb Up 22 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds prometheus Up 29 seconds mariadb Up 27 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ sed 's/./& /g' ++ echo hxB + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/policy-api-master-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:22:55 up 3 min, 0 users, load average: 2.10, 0.95, 0.38 Tasks: 179 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.6 us, 2.1 sy, 0.0 ni, 83.5 id, 3.7 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.5G 25G 1.0M 4.1G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds prometheus Up 29 seconds mariadb Up 27 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 51fbe87e5b08 policy-api 0.10% 520.2MiB / 31.41GiB 1.62% 999kB / 710kB 8.19kB / 0B 55 e9a6ee879dfb grafana 0.04% 49.96MiB / 31.41GiB 0.16% 18.6kB / 3.12kB 0B / 24MB 18 2b2d23ff60b1 prometheus 0.00% 19.01MiB / 31.41GiB 0.06% 1.52kB / 158B 233kB / 0B 13 673c663246a6 mariadb 0.02% 100.1MiB / 31.41GiB 0.31% 985kB / 1.18MB 10.9MB / 67.7MB 25 + echo + cd /tmp/tmp.8uZfqdIV3x + 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.8uZfqdIV3x/output.xml Log: /tmp/tmp.8uZfqdIV3x/log.html Report: /tmp/tmp.8uZfqdIV3x/report.html + RESULT=0 + load_set + _setopts=hxB ++ tr : ' ' ++ echo braceexpand:hashall:interactive-comments: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 xtrace ++ sed 's/./& /g' ++ echo hxB + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-master-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute prometheus Up About a minute mariadb Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 11:24:07 up 4 min, 0 users, load average: 1.00, 0.88, 0.39 Tasks: 177 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.9 us, 1.7 sy, 0.0 ni, 86.3 id, 3.0 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 2.3G 24G 1.0M 4.1G 28G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute prometheus Up About a minute mariadb Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 51fbe87e5b08 policy-api 0.12% 1.403GiB / 31.41GiB 4.47% 7MB / 2.55MB 8.19kB / 0B 56 e9a6ee879dfb grafana 0.02% 56.1MiB / 31.41GiB 0.17% 19.5kB / 4.3kB 0B / 24MB 18 2b2d23ff60b1 prometheus 0.00% 25.11MiB / 31.41GiB 0.08% 55.4kB / 6.45kB 233kB / 0B 13 673c663246a6 mariadb 0.02% 101.2MiB / 31.41GiB 0.31% 2.39MB / 7.04MB 10.9MB / 68.1MB 18 + echo + source_safely /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-api/compose ++ cd /w/workspace/policy-api-master-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-api, policy-db-migrator, grafana, prometheus, mariadb grafana | logger=settings t=2024-02-27T11:22:26.772566037Z level=info msg="Starting Grafana" version=10.3.3 commit=252761264e22ece57204b327f9130d3b44592c01 branch=HEAD compiled=2024-02-27T11:22:26Z grafana | logger=settings t=2024-02-27T11:22:26.772750289Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-02-27T11:22:26.772756989Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-02-27T11:22:26.772760379Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-02-27T11:22:26.772763399Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-02-27T11:22:26.772766379Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-02-27T11:22:26.772769219Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-02-27T11:22:26.772772509Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-02-27T11:22:26.772775559Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-02-27T11:22:26.772778679Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-02-27T11:22:26.772781689Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-02-27T11:22:26.772784469Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-02-27T11:22:26.772787489Z level=info msg=Target target=[all] grafana | logger=settings t=2024-02-27T11:22:26.77279227Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-02-27T11:22:26.77279521Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-02-27T11:22:26.77279787Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-02-27T11:22:26.77280074Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-02-27T11:22:26.7728048Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-02-27T11:22:26.77280757Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-02-27T11:22:26.773085272Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-02-27T11:22:26.773102012Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db mariadb | 2024-02-27 11:22:27+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-02-27 11:22:28+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-02-27 11:22:28+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-02-27 11:22:28+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-02-27 11:22:28 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-02-27 11:22:28 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-02-27 11:22:28 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2024-02-27 11:22:29+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-02-27 11:22:29+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-02-27 11:22:29+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-02-27 11:22:29 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 96 ... mariadb | 2024-02-27 11:22:29 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-02-27 11:22:29 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-02-27 11:22:29 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-02-27 11:22:29 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-02-27 11:22:29 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-02-27 11:22:29 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-02-27 11:22:29 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-02-27 11:22:29 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-02-27 11:22:29 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-02-27 11:22:29 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-02-27 11:22:29 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-02-27 11:22:29 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-02-27 11:22:29 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-02-27 11:22:29 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-02-27 11:22:29 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-02-27 11:22:29 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-02-27 11:22:29 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-02-27 11:22:29 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2024-02-27 11:22:30+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-02-27 11:22:32+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-02-27 11:22:32+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) grafana | logger=migrator t=2024-02-27T11:22:26.773661688Z level=info msg="Starting DB migrations" mariadb | policy-api | Waiting for mariadb port 3306... grafana | logger=migrator t=2024-02-27T11:22:26.774643827Z level=info msg="Executing migration" id="create migration_log table" mariadb | 2024-02-27 11:22:32+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | policy-api | mariadb (172.17.0.2:3306) open grafana | logger=migrator t=2024-02-27T11:22:26.775387614Z level=info msg="Migration successfully executed" id="create migration_log table" duration=743.647µs policy-db-migrator | Waiting for mariadb port 3306... prometheus | ts=2024-02-27T11:22:25.854Z caller=main.go:564 level=info msg="No time or size retention was set so using the default time retention" duration=15d policy-api | Waiting for policy-db-migrator port 6824... grafana | logger=migrator t=2024-02-27T11:22:26.779423072Z level=info msg="Executing migration" id="create user table" policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused prometheus | ts=2024-02-27T11:22:25.854Z caller=main.go:608 level=info msg="Starting Prometheus Server" mode=server version="(version=2.50.0, branch=HEAD, revision=814b920e8a6345d35712b5857ebd4cb5e90fc107)" mariadb | 2024-02-27 11:22:32+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh policy-api | policy-db-migrator (172.17.0.5:6824) open grafana | logger=migrator t=2024-02-27T11:22:26.779897486Z level=info msg="Migration successfully executed" id="create user table" duration=446.674µs prometheus | ts=2024-02-27T11:22:25.854Z caller=main.go:613 level=info build_context="(go=go1.21.7, platform=linux/amd64, user=root@384077e1cf50, date=20240222-09:38:19, tags=netgo,builtinassets,stringlabels)" mariadb | #!/bin/bash -xv policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml grafana | logger=migrator t=2024-02-27T11:22:26.787574058Z level=info msg="Executing migration" id="add unique index user.login" prometheus | ts=2024-02-27T11:22:25.854Z caller=main.go:614 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved policy-api | grafana | logger=migrator t=2024-02-27T11:22:26.788291234Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=717.136µs prometheus | ts=2024-02-27T11:22:25.854Z caller=main.go:615 level=info fd_limits="(soft=1048576, hard=1048576)" mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. grafana | logger=migrator t=2024-02-27T11:22:26.792062939Z level=info msg="Executing migration" id="add unique index user.email" mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused prometheus | ts=2024-02-27T11:22:25.854Z caller=main.go:616 level=info vm_limits="(soft=unlimited, hard=unlimited)" grafana | logger=migrator t=2024-02-27T11:22:26.793120869Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.05731ms policy-api | . ____ _ __ _ _ policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused prometheus | ts=2024-02-27T11:22:25.858Z caller=web.go:565 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 mariadb | # you may not use this file except in compliance with the License. grafana | logger=migrator t=2024-02-27T11:22:26.796827603Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused prometheus | ts=2024-02-27T11:22:25.859Z caller=main.go:1118 level=info msg="Starting TSDB ..." mariadb | # You may obtain a copy of the License at grafana | logger=migrator t=2024-02-27T11:22:26.797793182Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=965.009µs policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused prometheus | ts=2024-02-27T11:22:25.862Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 mariadb | # grafana | logger=migrator t=2024-02-27T11:22:26.804117391Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-db-migrator | Connection to mariadb (172.17.0.2) 3306 port [tcp/mysql] succeeded! prometheus | ts=2024-02-27T11:22:25.862Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 mariadb | # http://www.apache.org/licenses/LICENSE-2.0 grafana | logger=migrator t=2024-02-27T11:22:26.805181481Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.06471ms policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-db-migrator | 321 blocks prometheus | ts=2024-02-27T11:22:25.869Z caller=head.go:610 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" mariadb | # grafana | logger=migrator t=2024-02-27T11:22:26.809256949Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" policy-api | =========|_|==============|___/=/_/_/_/ policy-db-migrator | Preparing upgrade release version: 0800 prometheus | ts=2024-02-27T11:22:25.869Z caller=head.go:692 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=3.19µs mariadb | # Unless required by applicable law or agreed to in writing, software grafana | logger=migrator t=2024-02-27T11:22:26.813160565Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=3.911817ms policy-api | :: Spring Boot :: (v3.1.8) policy-db-migrator | Preparing upgrade release version: 0900 prometheus | ts=2024-02-27T11:22:25.869Z caller=head.go:700 level=info component=tsdb msg="Replaying WAL, this may take a while" mariadb | # distributed under the License is distributed on an "AS IS" BASIS, grafana | logger=migrator t=2024-02-27T11:22:26.81695035Z level=info msg="Executing migration" id="create user table v2" policy-api | policy-db-migrator | Preparing upgrade release version: 1000 prometheus | ts=2024-02-27T11:22:25.869Z caller=head.go:771 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. grafana | logger=migrator t=2024-02-27T11:22:26.817627256Z level=info msg="Migration successfully executed" id="create user table v2" duration=676.676µs policy-api | [2024-02-27T11:22:42.111+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.10 with PID 21 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-db-migrator | Preparing upgrade release version: 1100 prometheus | ts=2024-02-27T11:22:25.869Z caller=head.go:808 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=47.961µs wal_replay_duration=508.727µs wbl_replay_duration=220ns total_replay_duration=600.579µs mariadb | # See the License for the specific language governing permissions and grafana | logger=migrator t=2024-02-27T11:22:26.823625372Z level=info msg="Executing migration" id="create index UQE_user_login - v2" policy-api | [2024-02-27T11:22:42.114+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-db-migrator | Preparing upgrade release version: 1200 prometheus | ts=2024-02-27T11:22:25.873Z caller=main.go:1139 level=info fs_type=EXT4_SUPER_MAGIC mariadb | # limitations under the License. grafana | logger=migrator t=2024-02-27T11:22:26.824825824Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.199422ms policy-api | [2024-02-27T11:22:43.760+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-db-migrator | Preparing upgrade release version: 1300 prometheus | ts=2024-02-27T11:22:25.873Z caller=main.go:1142 level=info msg="TSDB started" mariadb | grafana | logger=migrator t=2024-02-27T11:22:26.82879458Z level=info msg="Executing migration" id="create index UQE_user_email - v2" policy-api | [2024-02-27T11:22:43.853+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 83 ms. Found 6 JPA repository interfaces. policy-db-migrator | Done prometheus | ts=2024-02-27T11:22:25.874Z caller=main.go:1324 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-02-27T11:22:26.829903441Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.108221ms policy-api | [2024-02-27T11:22:44.244+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 | name version prometheus | ts=2024-02-27T11:22:25.875Z caller=main.go:1361 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.066026ms db_storage=1.06µs remote_storage=1.75µs web_handler=670ns query_engine=840ns scrape=320.684µs scrape_sd=149.342µs notify=27.811µs notify_sd=9.39µs rules=2.02µs tracing=12.28µs mariadb | do grafana | logger=migrator t=2024-02-27T11:22:26.833304693Z level=info msg="Executing migration" id="copy data_source v1 to v2" policy-api | [2024-02-27T11:22:44.244+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 | policyadmin 0 prometheus | ts=2024-02-27T11:22:25.875Z caller=main.go:1103 level=info msg="Server is ready to receive web requests." mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" grafana | logger=migrator t=2024-02-27T11:22:26.833656076Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=351.333µs policy-api | [2024-02-27T11:22:44.839+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 prometheus | ts=2024-02-27T11:22:25.875Z caller=manager.go:146 level=info component="rule manager" msg="Starting rule manager..." mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" grafana | logger=migrator t=2024-02-27T11:22:26.837047257Z level=info msg="Executing migration" id="Drop old table user_v1" policy-api | [2024-02-27T11:22:44.849+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-db-migrator | upgrade: 0 -> 1300 mariadb | done grafana | logger=migrator t=2024-02-27T11:22:26.837503961Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=456.274µs policy-api | [2024-02-27T11:22:44.852+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-db-migrator | mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-02-27T11:22:26.843169344Z level=info msg="Executing migration" id="Add column help_flags1 to user table" policy-api | [2024-02-27T11:22:44.852+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.18] policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' grafana | logger=migrator t=2024-02-27T11:22:26.84492994Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.759066ms policy-api | [2024-02-27T11:22:44.936+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-db-migrator | -------------- mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-02-27T11:22:26.848825516Z level=info msg="Executing migration" id="Update user table charset" policy-api | [2024-02-27T11:22:44.936+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2756 ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-02-27T11:22:26.848848576Z level=info msg="Migration successfully executed" id="Update user table charset" duration=23.77µs policy-api | [2024-02-27T11:22:45.376+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-db-migrator | -------------- mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' grafana | logger=migrator t=2024-02-27T11:22:26.852199548Z level=info msg="Executing migration" id="Add last_seen_at column to user" policy-api | [2024-02-27T11:22:45.443+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-db-migrator | mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-02-27T11:22:26.853249918Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.04995ms policy-api | [2024-02-27T11:22:45.446+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-db-migrator | mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-02-27T11:22:26.887206913Z level=info msg="Executing migration" id="Add missing user data" policy-api | [2024-02-27T11:22:45.495+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' grafana | logger=migrator t=2024-02-27T11:22:26.887567307Z level=info msg="Migration successfully executed" id="Add missing user data" duration=360.544µs policy-api | [2024-02-27T11:22:45.868+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-db-migrator | -------------- mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-02-27T11:22:26.894970146Z level=info msg="Executing migration" id="Add is_disabled column to user" policy-api | [2024-02-27T11:22:45.887+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... 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) mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-02-27T11:22:26.896646931Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.676655ms policy-api | [2024-02-27T11:22:45.980+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@63b3ee82 policy-db-migrator | -------------- mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' grafana | logger=migrator t=2024-02-27T11:22:26.900276585Z level=info msg="Executing migration" id="Add index user.login/user.email" policy-api | [2024-02-27T11:22:45.982+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-db-migrator | mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-02-27T11:22:26.901384535Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.11009ms policy-api | [2024-02-27T11:22:47.926+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-db-migrator | mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-02-27T11:22:26.904914228Z level=info msg="Executing migration" id="Add is_service_account column to user" policy-api | [2024-02-27T11:22:47.930+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' grafana | logger=migrator t=2024-02-27T11:22:26.905960578Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.04178ms policy-api | [2024-02-27T11:22:48.930+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-db-migrator | -------------- mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-02-27T11:22:26.911479779Z level=info msg="Executing migration" id="Update is_service_account column to nullable" policy-api | [2024-02-27T11:22:49.819+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 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) mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2024-02-27T11:22:26.923616672Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=12.136793ms policy-api | [2024-02-27T11:22:50.971+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 | -------------- mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' grafana | logger=migrator t=2024-02-27T11:22:26.92667848Z level=info msg="Executing migration" id="create temp user table v1-7" policy-api | [2024-02-27T11:22:51.168+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@14a7e16e, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@59171a5d, org.springframework.security.web.context.SecurityContextHolderFilter@700f356b, org.springframework.security.web.header.HeaderWriterFilter@fb74661, org.springframework.security.web.authentication.logout.LogoutFilter@6a4859fc, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@33e7ece5, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@712ce4f1, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@3770dd80, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@6f286e1d, org.springframework.security.web.access.ExceptionTranslationFilter@22ccd80f, org.springframework.security.web.access.intercept.AuthorizationFilter@78b9d614] policy-db-migrator | mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2024-02-27T11:22:26.927150365Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=471.745µs policy-api | [2024-02-27T11:22:51.968+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-db-migrator | mariadb | grafana | logger=migrator t=2024-02-27T11:22:26.930340015Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" policy-api | [2024-02-27T11:22:52.060+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql grafana | logger=migrator t=2024-02-27T11:22:26.931020921Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=682.667µs mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' 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) mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp policy-db-migrator | -------------- policy-db-migrator | mariadb | mariadb | 2024-02-27 11:22:33+00:00 [Note] [Entrypoint]: Stopping temporary server policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql mariadb | 2024-02-27 11:22:33 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-02-27 11:22:33 0 [Note] InnoDB: FTS optimize thread exiting. 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) mariadb | 2024-02-27 11:22:33 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-02-27 11:22:33 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool policy-db-migrator | -------------- policy-db-migrator | mariadb | 2024-02-27 11:22:33 0 [Note] InnoDB: Buffer pool(s) dump completed at 240227 11:22:33 mariadb | 2024-02-27 11:22:33 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql mariadb | 2024-02-27 11:22:33 0 [Note] InnoDB: Shutdown completed; log sequence number 330764; transaction id 298 mariadb | 2024-02-27 11:22:33 0 [Note] mariadbd: Shutdown complete 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) mariadb | mariadb | 2024-02-27 11:22:33+00:00 [Note] [Entrypoint]: Temporary server stopped policy-db-migrator | -------------- policy-db-migrator | mariadb | mariadb | 2024-02-27 11:22:33+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql mariadb | mariadb | 2024-02-27 11:22:33 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) mariadb | 2024-02-27 11:22:33 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-02-27 11:22:33 0 [Note] InnoDB: Number of transaction pools: 1 policy-db-migrator | -------------- policy-db-migrator | mariadb | 2024-02-27 11:22:33 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-02-27 11:22:33 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql mariadb | 2024-02-27 11:22:33 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-02-27 11:22:33 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) mariadb | 2024-02-27 11:22:33 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-02-27 11:22:33 0 [Note] InnoDB: Completed initialization of buffer pool policy-db-migrator | -------------- policy-db-migrator | mariadb | 2024-02-27 11:22:33 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-02-27 11:22:33 0 [Note] InnoDB: 128 rollback segments are active. policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql mariadb | 2024-02-27 11:22:33 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-02-27 11:22:33 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) mariadb | 2024-02-27 11:22:33 0 [Note] InnoDB: log sequence number 330764; transaction id 299 mariadb | 2024-02-27 11:22:33 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool policy-db-migrator | -------------- policy-db-migrator | mariadb | 2024-02-27 11:22:33 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-02-27 11:22:33 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql mariadb | 2024-02-27 11:22:33 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-02-27 11:22:33 0 [Note] Server socket created on IP: '0.0.0.0'. policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) mariadb | 2024-02-27 11:22:33 0 [Note] Server socket created on IP: '::'. policy-api | [2024-02-27T11:22:52.085+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-db-migrator | -------------- policy-db-migrator | policy-api | [2024-02-27T11:22:52.103+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.704 seconds (process running for 11.292) policy-api | [2024-02-27T11:22:58.303+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-api | [2024-02-27T11:22:58.303+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2024-02-27T11:22:58.304+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-api | [2024-02-27T11:23:01.414+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: policy-api | [] policy-db-migrator | -------------- policy-db-migrator | policy-api | [2024-02-27T11:23:01.536+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes policy-api | [2024-02-27T11:23:01.806+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-api | [2024-02-27T11:23:03.216+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policies policy-api | [2024-02-27T11:23:05.435+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-api | [2024-02-27T11:23:05.763+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-02-27T11:23:05.995+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-db-migrator | -------------- policy-db-migrator | policy-api | [2024-02-27T11:23:06.265+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-02-27T11:23:06.517+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-db-migrator | mariadb | 2024-02-27 11:22:33 0 [Note] mariadbd: ready for connections. policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- policy-api | [2024-02-27T11:23:06.838+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- 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 | policy-db-migrator | mariadb | 2024-02-27 11:22:33 0 [Note] InnoDB: Buffer pool(s) load completed at 240227 11:22:33 policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql grafana | logger=migrator t=2024-02-27T11:22:26.936674034Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" mariadb | 2024-02-27 11:22:33 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:26.93734228Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=667.876µs mariadb | 2024-02-27 11:22:33 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) policy-db-migrator | 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-02-27T11:22:26.940698741Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-02-27T11:22:26.941843922Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.145091ms grafana | logger=migrator t=2024-02-27T11:22:26.945424225Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-02-27T11:22:26.946475384Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.050439ms grafana | logger=migrator t=2024-02-27T11:22:26.949595203Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-02-27T11:22:26.949615613Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=24.13µs grafana | logger=migrator t=2024-02-27T11:22:26.954741921Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:26.955352637Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=610.916µs grafana | logger=migrator t=2024-02-27T11:22:26.958982501Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-02-27T11:22:26.95998425Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.000969ms grafana | logger=migrator t=2024-02-27T11:22:26.96316014Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-02-27T11:22:26.964148139Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=987.28µs grafana | logger=migrator t=2024-02-27T11:22:26.969717101Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-02-27T11:22:26.970818871Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.10138ms grafana | logger=migrator t=2024-02-27T11:22:26.974153872Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-02-27T11:22:26.977732075Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.578093ms grafana | logger=migrator t=2024-02-27T11:22:26.980780364Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-02-27T11:22:26.981531281Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=750.937µs grafana | logger=migrator t=2024-02-27T11:22:26.986671769Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-02-27T11:22:26.987443856Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=771.507µs grafana | logger=migrator t=2024-02-27T11:22:26.990493614Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-02-27T11:22:26.991256111Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=762.547µs grafana | logger=migrator t=2024-02-27T11:22:26.994318179Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-02-27T11:22:26.995562021Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.243692ms grafana | logger=migrator t=2024-02-27T11:22:27.001820129Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-02-27T11:22:27.003355154Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.538075ms grafana | logger=migrator t=2024-02-27T11:22:27.007059378Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-02-27T11:22:27.007715521Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=655.183µs grafana | logger=migrator t=2024-02-27T11:22:27.010679182Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-02-27T11:22:27.011245616Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=563.674µs grafana | logger=migrator t=2024-02-27T11:22:27.016177549Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-02-27T11:22:27.016537981Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=360.232µs grafana | logger=migrator t=2024-02-27T11:22:27.019757272Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-02-27T11:22:27.020664048Z level=info msg="Migration successfully executed" id="create star table" duration=906.106µs grafana | logger=migrator t=2024-02-27T11:22:27.024333131Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-02-27T11:22:27.025504229Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.170058ms grafana | logger=migrator t=2024-02-27T11:22:27.02874913Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-02-27T11:22:27.029454965Z level=info msg="Migration successfully executed" id="create org table v1" duration=705.545µs grafana | logger=migrator t=2024-02-27T11:22:27.036422169Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-02-27T11:22:27.037374706Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=951.147µs grafana | logger=migrator t=2024-02-27T11:22:27.040781077Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-02-27T11:22:27.041673773Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=892.376µs grafana | logger=migrator t=2024-02-27T11:22:27.045204426Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-02-27T11:22:27.045900651Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=695.915µs grafana | logger=migrator t=2024-02-27T11:22:27.049185221Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-02-27T11:22:27.049896456Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=710.295µs grafana | logger=migrator t=2024-02-27T11:22:27.05514992Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-02-27T11:22:27.056319077Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.168827ms grafana | logger=migrator t=2024-02-27T11:22:27.060308643Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-02-27T11:22:27.060343233Z level=info msg="Migration successfully executed" id="Update org table charset" duration=35.64µs grafana | logger=migrator t=2024-02-27T11:22:27.064299788Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-02-27T11:22:27.064320189Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=21.021µs grafana | logger=migrator t=2024-02-27T11:22:27.067868412Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-02-27T11:22:27.068023523Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=155.251µs grafana | logger=migrator t=2024-02-27T11:22:27.073356527Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-02-27T11:22:27.074332793Z level=info msg="Migration successfully executed" id="create dashboard table" duration=975.666µs grafana | logger=migrator t=2024-02-27T11:22:27.078059187Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-02-27T11:22:27.079196965Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.145928ms grafana | logger=migrator t=2024-02-27T11:22:27.082996479Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.083865414Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=867.975µs policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.08776857Z level=info msg="Executing migration" id="create dashboard_tag table" policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql grafana | logger=migrator t=2024-02-27T11:22:27.088412724Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=640.694µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.094112171Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" 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-02-27T11:22:27.095298718Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.186267ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.098816481Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.099972188Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.155127ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.1033808Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql grafana | logger=migrator t=2024-02-27T11:22:27.111625783Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=8.210143ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.117101338Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-02-27T11:22:27.117726032Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=624.804µs grafana | logger=migrator t=2024-02-27T11:22:27.120865293Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" 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-02-27T11:22:27.121550157Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=689.644µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.124790088Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.125481572Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=690.874µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.130792037Z level=info msg="Executing migration" id="copy dashboard v1 to v2" policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql grafana | logger=migrator t=2024-02-27T11:22:27.131094078Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=301.871µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.134633091Z level=info msg="Executing migration" id="drop table dashboard_v1" 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-02-27T11:22:27.135801599Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.166768ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.139725524Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.139824385Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=100.041µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.145004248Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-02-27T11:22:27.146681019Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.676491ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.149772399Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-02-27T11:22:27.151470719Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.69769ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.154966983Z level=info msg="Executing migration" id="Add column gnetId in dashboard" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.156671783Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.70668ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.1623756Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql grafana | logger=migrator t=2024-02-27T11:22:27.163581378Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.205068ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.167537013Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" 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-02-27T11:22:27.170358271Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.820468ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.173858093Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.175172282Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.314049ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.180743418Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql grafana | logger=migrator t=2024-02-27T11:22:27.182018846Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.275148ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.185712351Z level=info msg="Executing migration" id="Update dashboard table charset" 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-02-27T11:22:27.185760731Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=45.63µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.189171503Z level=info msg="Executing migration" id="Update dashboard_tag table charset" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.189197033Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=26.21µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.194512347Z level=info msg="Executing migration" id="Add column folder_id in dashboard" policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-02-27T11:22:27.19646587Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=1.952402ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.201776333Z level=info msg="Executing migration" id="Add column isFolder in dashboard" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-02-27T11:22:27.203599565Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.822842ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.206744735Z level=info msg="Executing migration" id="Add column has_acl in dashboard" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.210086857Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=3.341582ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.214829558Z level=info msg="Executing migration" id="Add column uid in dashboard" policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-02-27T11:22:27.216879731Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.052833ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.220437204Z level=info msg="Executing migration" id="Update uid column values in dashboard" 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-02-27T11:22:27.220617635Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=181.011µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.223820305Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.224597721Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=776.976µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.228973569Z level=info msg="Executing migration" id="Remove unique index org_id_slug" policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql grafana | logger=migrator t=2024-02-27T11:22:27.229652833Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=679.214µs policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-27T11:22:27.233009975Z level=info msg="Executing migration" id="Update dashboard title length" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.233052245Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=37.77µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.236847049Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.238005046Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.157587ms policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql grafana | logger=migrator t=2024-02-27T11:22:27.242312115Z level=info msg="Executing migration" id="create dashboard_provisioning" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.242899598Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=581.163µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-27T11:22:27.246490471Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.253628947Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=7.137876ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.256933419Z level=info msg="Executing migration" id="create dashboard_provisioning v2" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.257546982Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=613.213µs policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql grafana | logger=migrator t=2024-02-27T11:22:27.261960811Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.262665145Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=704.414µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-27T11:22:27.266103347Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.266926053Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=822.076µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.270220144Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.270520266Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=299.932µs policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql grafana | logger=migrator t=2024-02-27T11:22:27.274704143Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.275206147Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=501.844µ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-02-27T11:22:27.281080914Z level=info msg="Executing migration" id="Add check_sum column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.284185294Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.10532ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.287450125Z level=info msg="Executing migration" id="Add index for dashboard_title" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.28826264Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=812.305µs policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql grafana | logger=migrator t=2024-02-27T11:22:27.292527458Z level=info msg="Executing migration" id="delete tags for deleted dashboards" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.29279728Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=269.042µs 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-02-27T11:22:27.341875855Z level=info msg="Executing migration" id="delete stars for deleted dashboards" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.342304209Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=432.394µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.346307774Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.347788924Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.48039ms policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql grafana | logger=migrator t=2024-02-27T11:22:27.351510848Z level=info msg="Executing migration" id="Add isPublic for dashboard" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.355368622Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.849254ms 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-02-27T11:22:27.359967492Z level=info msg="Executing migration" id="create data_source table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.360813377Z level=info msg="Migration successfully executed" id="create data_source table" duration=845.305µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.364128458Z level=info msg="Executing migration" id="add index data_source.account_id" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.365050905Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=920.617µs policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql grafana | logger=migrator t=2024-02-27T11:22:27.368668448Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.370042556Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.370198ms 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-02-27T11:22:27.374821947Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.375565362Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=743.315µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.378690453Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.379408027Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=717.404µs policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql grafana | logger=migrator t=2024-02-27T11:22:27.382482037Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.390832061Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=8.349544ms 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-02-27T11:22:27.395237618Z level=info msg="Executing migration" id="create data_source table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.395865193Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=627.035µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.399518826Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.400784134Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.262988ms policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql grafana | logger=migrator t=2024-02-27T11:22:27.405695386Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.407017985Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.324829ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-27T11:22:27.410538657Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.411056141Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=521.414µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.414398482Z level=info msg="Executing migration" id="Add column with_credentials" policy-db-migrator | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.416693637Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.294805ms 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-02-27T11:22:27.420871384Z level=info msg="Executing migration" id="Add secure json data column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.423173108Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.298714ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.426897693Z level=info msg="Executing migration" id="Update data_source table charset" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.426937813Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=41.46µs policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2024-02-27T11:22:27.430346675Z level=info msg="Executing migration" id="Update initial version to 1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.430542056Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=195.651µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) grafana | logger=migrator t=2024-02-27T11:22:27.433917008Z level=info msg="Executing migration" id="Add read_only data column" policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.437804093Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.885675ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.442636114Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" policy-db-migrator | > upgrade 0460-pdppolicystatus.sql grafana | logger=migrator t=2024-02-27T11:22:27.442921195Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=285.661µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.446570279Z level=info msg="Executing migration" id="Update json_data with nulls" 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-02-27T11:22:27.44674099Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=171.161µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.450100202Z level=info msg="Executing migration" id="Add uid column" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.452629478Z level=info msg="Migration successfully executed" id="Add uid column" duration=2.527936ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.455747838Z level=info msg="Executing migration" id="Update uid value" policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2024-02-27T11:22:27.455948909Z level=info msg="Migration successfully executed" id="Update uid value" duration=198.371µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.460057896Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" 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-02-27T11:22:27.460981592Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=922.806µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.464525895Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.465773803Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.247258ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.469683138Z level=info msg="Executing migration" id="create api_key table" policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2024-02-27T11:22:27.470773575Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.090117ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.475217804Z level=info msg="Executing migration" id="add index api_key.account_id" 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-02-27T11:22:27.476370461Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.149697ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.479785183Z level=info msg="Executing migration" id="add index api_key.key" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.480622508Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=836.845µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.484693894Z level=info msg="Executing migration" id="add index api_key.account_id_name" policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2024-02-27T11:22:27.485580471Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=886.217µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.491543829Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-02-27T11:22:27.492344924Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=801.435µs grafana | logger=migrator t=2024-02-27T11:22:27.495776926Z level=info msg="Executing migration" id="drop index UQE_api_key_key - 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-02-27T11:22:27.496568931Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=791.905µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.502757361Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.503934808Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=1.192947ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.507603593Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" policy-db-migrator | > upgrade 0500-pdpsubgroup.sql grafana | logger=migrator t=2024-02-27T11:22:27.516247808Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=8.644126ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.5196168Z level=info msg="Executing migration" id="create api_key table 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-02-27T11:22:27.520327844Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=710.604µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.524470751Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.525289146Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=818.405µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.528675928Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql grafana | logger=migrator t=2024-02-27T11:22:27.529524043Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=845.335µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.532933306Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" 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-02-27T11:22:27.53370232Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=768.855µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.538024017Z level=info msg="Executing migration" id="copy api_key v1 to v2" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.5383527Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=329.063µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.541132528Z level=info msg="Executing migration" id="Drop old table api_key_v1" policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql grafana | logger=migrator t=2024-02-27T11:22:27.541650382Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=517.433µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.544887122Z level=info msg="Executing migration" id="Update api_key table charset" 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-02-27T11:22:27.544906832Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=20.63µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.5492339Z level=info msg="Executing migration" id="Add expires to api_key table" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.551709696Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.475346ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.554958706Z level=info msg="Executing migration" id="Add service account foreign key" policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-27T11:22:27.557402942Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.443816ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.560638934Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.560788215Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=149.292µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.563937665Z level=info msg="Executing migration" id="Add last_used_at to api_key table" policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql grafana | logger=migrator t=2024-02-27T11:22:27.56629425Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.355935ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.570394556Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) grafana | logger=migrator t=2024-02-27T11:22:27.572877172Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.481816ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.576322654Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.576996328Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=673.424µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.580692063Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql grafana | logger=migrator t=2024-02-27T11:22:27.581205926Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=513.773µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.585329542Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" 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-02-27T11:22:27.586038637Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=708.555µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.589494589Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.590651356Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.156537ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.595045215Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql grafana | logger=migrator t=2024-02-27T11:22:27.596208352Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.162997ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.599934787Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" 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-02-27T11:22:27.601206875Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.280058ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.604741597Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.604800527Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=59.32µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.608299491Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" policy-db-migrator | > upgrade 0570-toscadatatype.sql grafana | logger=migrator t=2024-02-27T11:22:27.608328461Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=29.7µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.612677598Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) grafana | logger=migrator t=2024-02-27T11:22:27.616827306Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.148978ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.620584529Z level=info msg="Executing migration" id="Add encrypted dashboard json column" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.625169369Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=4.58434ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.628641331Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" policy-db-migrator | > upgrade 0580-toscadatatypes.sql grafana | logger=migrator t=2024-02-27T11:22:27.628701242Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=60.581µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.633011219Z level=info msg="Executing migration" id="create quota table v1" 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-02-27T11:22:27.633665074Z level=info msg="Migration successfully executed" id="create quota table v1" duration=653.755µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.636890985Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.638425814Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.534119ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.642023988Z level=info msg="Executing migration" id="Update quota table charset" policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql grafana | logger=migrator t=2024-02-27T11:22:27.642055728Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=32.94µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.644842336Z level=info msg="Executing migration" id="create plugin_setting table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-27T11:22:27.645513Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=670.144µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.649736347Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.650527762Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=790.835µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.653713233Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=migrator t=2024-02-27T11:22:27.656547911Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.834128ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.659681391Z level=info msg="Executing migration" id="Update plugin_setting table charset" 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-02-27T11:22:27.659706361Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=19.89µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.663770057Z level=info msg="Executing migration" id="create session table" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.664552163Z level=info msg="Migration successfully executed" id="create session table" duration=781.606µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.667928434Z level=info msg="Executing migration" id="Drop old table playlist table" policy-db-migrator | > upgrade 0610-toscanodetemplates.sql grafana | logger=migrator t=2024-02-27T11:22:27.668010545Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=82.851µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.671490897Z level=info msg="Executing migration" id="Drop old table playlist_item table" 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-02-27T11:22:27.671618738Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=120.981µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.676588Z level=info msg="Executing migration" id="create playlist table v2" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.677916808Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.332198ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.681917124Z level=info msg="Executing migration" id="create playlist item table v2" policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-27T11:22:27.683094551Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.176837ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.686597514Z level=info msg="Executing migration" id="Update playlist table charset" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.686628184Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=28.29µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.689957556Z level=info msg="Executing migration" id="Update playlist_item table charset" policy-db-migrator | > upgrade 0630-toscanodetype.sql grafana | logger=migrator t=2024-02-27T11:22:27.689984306Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=29.12µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.693947551Z level=info msg="Executing migration" id="Add playlist column created_at" 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-02-27T11:22:27.697180322Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=3.231681ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.700343792Z level=info msg="Executing migration" id="Add playlist column updated_at" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.704694951Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=4.353429ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.708118203Z level=info msg="Executing migration" id="drop preferences table v2" policy-db-migrator | > upgrade 0640-toscanodetypes.sql grafana | logger=migrator t=2024-02-27T11:22:27.708203013Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=89.28µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.712422511Z level=info msg="Executing migration" id="drop preferences table v3" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) grafana | logger=migrator t=2024-02-27T11:22:27.712520291Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=96.46µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.715691372Z level=info msg="Executing migration" id="create preferences table v3" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.716420416Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=730.224µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.722579395Z level=info msg="Executing migration" id="Update preferences table charset" policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2024-02-27T11:22:27.722609046Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=33.771µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.725986488Z level=info msg="Executing migration" id="Add column team_id in preferences" 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-02-27T11:22:27.729062798Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.07651ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.736580136Z level=info msg="Executing migration" id="Update team_id column values in preferences" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.736843897Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=255.231µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.741389767Z level=info msg="Executing migration" id="Add column week_start in preferences" policy-db-migrator | > upgrade 0660-toscaparameter.sql grafana | logger=migrator t=2024-02-27T11:22:27.74814061Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=6.754963ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.751661163Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2024-02-27T11:22:27.755767919Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=4.106516ms 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-02-27T11:22:27.793564683Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.793801194Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=242.101µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.797582078Z level=info msg="Executing migration" id="Add preferences index org_id" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.799108099Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.521261ms policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2024-02-27T11:22:27.803126084Z level=info msg="Executing migration" id="Add preferences index user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.803969419Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=843.105µs 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-02-27T11:22:27.808184477Z level=info msg="Executing migration" id="create alert table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.809186933Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.003506ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.812796267Z level=info msg="Executing migration" id="add index alert org_id & id " policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.813771993Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=975.256µs policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2024-02-27T11:22:27.817374996Z level=info msg="Executing migration" id="add index alert state" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.818215001Z level=info msg="Migration successfully executed" id="add index alert state" duration=839.965µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-27T11:22:27.82273434Z level=info msg="Executing migration" id="add index alert dashboard_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.823602176Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=866.146µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.827067739Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.827723883Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=655.174µs policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2024-02-27T11:22:27.831463106Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.833015457Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.551801ms 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-02-27T11:22:27.837433925Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.838286271Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=851.966µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.841740403Z 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-02-27T11:22:27.855678673Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=13.93458ms policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2024-02-27T11:22:27.860440474Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.861629101Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=1.201227ms 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-02-27T11:22:27.865322454Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.866487622Z 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.164478ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.871416783Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" policy-db-migrator | policy-db-migrator | > upgrade 0710-toscapolicytypes.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.871726886Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=310.103µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) grafana | logger=migrator t=2024-02-27T11:22:27.878828251Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.879383785Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=555.304µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.884183256Z level=info msg="Executing migration" id="create alert_notification table v1" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.88488747Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=704.314µs policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2024-02-27T11:22:27.888204871Z level=info msg="Executing migration" id="Add column is_default" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.891782025Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.576904ms 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-02-27T11:22:27.897391481Z level=info msg="Executing migration" id="Add column frequency" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.900845383Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.451482ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.903542371Z level=info msg="Executing migration" id="Add column send_reminder" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.906948462Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.406511ms policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2024-02-27T11:22:27.912967111Z level=info msg="Executing migration" id="Add column disable_resolve_message" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.916410304Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.445273ms 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-02-27T11:22:27.919357313Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-02-27T11:22:27.920297379Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=939.846µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.924608456Z level=info msg="Executing migration" id="Update alert table charset" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.924634556Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=27µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.927940528Z level=info msg="Executing migration" id="Update alert_notification table charset" policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2024-02-27T11:22:27.927967658Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=27.75µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.930932447Z level=info msg="Executing migration" id="create notification_journal table v1" 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-02-27T11:22:27.932015624Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.083147ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.944857827Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.95780483Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.64469ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.962339879Z level=info msg="Executing migration" id="drop alert_notification_journal" policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2024-02-27T11:22:27.963019153Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=679.644µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.965981532Z level=info msg="Executing migration" id="create alert_notification_state table v1" 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-02-27T11:22:27.966540836Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=559.144µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:27.98587864Z 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-02-27T11:22:27.987009978Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.131298ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:27.994000423Z level=info msg="Executing migration" id="Add for to alert table" policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2024-02-27T11:22:27.997394594Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.392661ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.002056915Z level=info msg="Executing migration" id="Add column uid in alert_notification" 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-02-27T11:22:28.00586009Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.804945ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.01139051Z level=info msg="Executing migration" id="Update uid column values in alert_notification" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.011532961Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=142.861µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.017827675Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2024-02-27T11:22:28.018741561Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=913.466µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.023331813Z level=info msg="Executing migration" id="Remove unique index org_id_name" 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-02-27T11:22:28.027711863Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=4.37341ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.034594561Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.039394323Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=4.798522ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.043776574Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2024-02-27T11:22:28.043840684Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=64.64µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.047888492Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" 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-02-27T11:22:28.048520077Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=631.345µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.054485698Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.055992228Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.50676ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.060073047Z level=info msg="Executing migration" id="Drop old annotation table v4" policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2024-02-27T11:22:28.060204948Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=131.431µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.063206818Z level=info msg="Executing migration" id="create annotation table v5" 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-02-27T11:22:28.064078914Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=871.436µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.069728903Z level=info msg="Executing migration" id="add index annotation 0 v3" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.07061783Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=888.627µs policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2024-02-27T11:22:28.074251765Z level=info msg="Executing migration" id="add index annotation 1 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.07512175Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=870.135µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) grafana | logger=migrator t=2024-02-27T11:22:28.079153739Z level=info msg="Executing migration" id="add index annotation 2 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.079964184Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=810.095µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.082770304Z level=info msg="Executing migration" id="add index annotation 3 v3" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.08367926Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=908.576µs policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2024-02-27T11:22:28.088460413Z level=info msg="Executing migration" id="add index annotation 4 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.089357629Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=896.836µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-02-27T11:22:28.092343499Z level=info msg="Executing migration" id="Update annotation table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.09236821Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=27.531µs policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.097437415Z level=info msg="Executing migration" id="Add column region_id to annotation table" policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2024-02-27T11:22:28.103641317Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=6.197252ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.10971674Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2024-02-27T11:22:28.110956168Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=1.244838ms grafana | logger=migrator t=2024-02-27T11:22:28.115618701Z level=info msg="Executing migration" id="Add column tags to annotation table" 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-02-27T11:22:28.121066379Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=5.452998ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.123997899Z level=info msg="Executing migration" id="Create annotation_tag table v2" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.124681933Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=683.544µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.127828475Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.128763121Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=930.886µs policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2024-02-27T11:22:28.134088248Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.134973455Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=885.267µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.137946635Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.152218834Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=14.272219ms policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-02-27T11:22:28.155484776Z level=info msg="Executing migration" id="Create annotation_tag table v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.15601518Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=531.964µs policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-02-27T11:22:28.161085995Z 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-02-27T11:22:28.162085072Z 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=998.787µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.16614228Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.166780934Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=640.884µs policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-02-27T11:22:28.170399089Z level=info msg="Executing migration" id="drop table annotation_tag_v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.170977283Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=577.644µs policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-02-27T11:22:28.175130412Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.175317053Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=187.881µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.180042256Z level=info msg="Executing migration" id="Add created time to annotation table" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.186698232Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.656426ms policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-02-27T11:22:28.190345727Z level=info msg="Executing migration" id="Add updated time to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.194663147Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.32096ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2024-02-27T11:22:28.199208518Z level=info msg="Executing migration" id="Add index for created in annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.200240936Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.032518ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.20513929Z level=info msg="Executing migration" id="Add index for updated in annotation table" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.206021106Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=881.746µs policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-02-27T11:22:28.209722961Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.210010843Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=302.932µs policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2024-02-27T11:22:28.213254925Z level=info msg="Executing migration" id="Add epoch_end column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.217505805Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.25085ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.22111152Z level=info msg="Executing migration" id="Add index for epoch_end" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.222099787Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=987.977µs policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-02-27T11:22:28.226454447Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.226682658Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=228.011µs policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.231052409Z level=info msg="Executing migration" id="Move region to single row" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.231498322Z level=info msg="Migration successfully executed" id="Move region to single row" duration=445.653µs policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-02-27T11:22:28.269584085Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.271250586Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.671991ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2024-02-27T11:22:28.277420179Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.27893639Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.515651ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.283011637Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.2847931Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.778723ms policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-02-27T11:22:28.288568746Z 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-02-27T11:22:28.289506053Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=938.987µs policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2024-02-27T11:22:28.294049424Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.295827676Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.778592ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.304663267Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.30643274Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.768993ms policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-02-27T11:22:28.313450778Z level=info msg="Executing migration" id="Increase tags column to length 4096" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.313617259Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=170.161µs policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2024-02-27T11:22:28.32237032Z level=info msg="Executing migration" id="create test_data table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.32385684Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.421461ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.328659694Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2024-02-27T11:22:28.329871542Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=1.210078ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.336296616Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-02-27T11:22:28.337345424Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.048418ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.343233184Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2024-02-27T11:22:28.344786044Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.55242ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.349368597Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.349779009Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=410.203µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.354535392Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2024-02-27T11:22:28.355156506Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=619.424µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.362017504Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2024-02-27T11:22:28.362160065Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=141.541µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.367785234Z level=info msg="Executing migration" id="create team table" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.368511739Z level=info msg="Migration successfully executed" id="create team table" duration=726.225µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.372764338Z level=info msg="Executing migration" id="add index team.org_id" policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-02-27T11:22:28.373807886Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.041368ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.378878591Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2024-02-27T11:22:28.380343231Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.46635ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.38450456Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.38892511Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.42142ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.392726237Z level=info msg="Executing migration" id="Update uid column values in team" policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-02-27T11:22:28.392923748Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=197.981µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.399111181Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" 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-02-27T11:22:28.400649051Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.53664ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.406901235Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.408038042Z level=info msg="Migration successfully executed" id="create team member table" duration=1.136937ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.411350815Z level=info msg="Executing migration" id="add index team_member.org_id" policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-02-27T11:22:28.412252582Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=900.787µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.417026434Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-27T11:22:28.418200353Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.172589ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.42652587Z level=info msg="Executing migration" id="add index team_member.team_id" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.427535687Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.007627ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.432690363Z level=info msg="Executing migration" id="Add column email to team table" policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.437655697Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.963064ms 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-02-27T11:22:28.441667515Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.446577359Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.909644ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.45116456Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.460180703Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=9.014153ms policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-02-27T11:22:28.465020996Z level=info msg="Executing migration" id="create dashboard acl table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.465670711Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=649.645µ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-02-27T11:22:28.469584148Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.470963897Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.375949ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.476700927Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.478841231Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=2.139124ms policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-02-27T11:22:28.483642935Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.484782252Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.138987ms 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-02-27T11:22:28.490106419Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.491194077Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.088038ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.497041428Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.498640278Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.5979ms policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-02-27T11:22:28.505409316Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.506433512Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.025476ms 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-02-27T11:22:28.511101245Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.512497614Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.395379ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.519261611Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.52064096Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=1.376739ms policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-02-27T11:22:28.526284379Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.526544141Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=259.532µs 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-02-27T11:22:28.531975539Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.532716645Z level=info msg="Migration successfully executed" id="create tag table" duration=740.516µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.539504021Z level=info msg="Executing migration" id="add index tag.key_value" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.541124513Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.620072ms policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-02-27T11:22:28.546426529Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.547301675Z level=info msg="Migration successfully executed" id="create login attempt table" duration=875.486µs policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-27T11:22:28.551615315Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.552722403Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.106738ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.558817535Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.559847262Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.031667ms policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-02-27T11:22:28.564699165Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.586349945Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=21.65151ms 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-02-27T11:22:28.591854633Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.592486408Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=631.675µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.598162077Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.600208271Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=2.047774ms policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-02-27T11:22:28.604594311Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.605132034Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=538.113µs 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-02-27T11:22:28.610118239Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.611477869Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=1.3601ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.619522004Z level=info msg="Executing migration" id="create user auth table" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.62033942Z level=info msg="Migration successfully executed" id="create user auth table" duration=817.396µs policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-02-27T11:22:28.624870681Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.626556053Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.685352ms grafana | logger=migrator t=2024-02-27T11:22:28.632730945Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2024-02-27T11:22:28.632927227Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=195.352µs policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-27T11:22:28.639399142Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.648733816Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=9.336174ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.65354861Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-02-27T11:22:28.657174615Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=3.626445ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.663224326Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-02-27T11:22:28.668359782Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.131456ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.675170379Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.680548646Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.380487ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.71581679Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-02-27T11:22:28.718970512Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=3.154322ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.722877338Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-02-27T11:22:28.727963594Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.086186ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.733607573Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.734412359Z level=info msg="Migration successfully executed" id="create server_lock table" duration=805.006µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.738766959Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-02-27T11:22:28.74030735Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.541021ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.74470828Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-02-27T11:22:28.746054529Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.343139ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.751705328Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.752782605Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.075647ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.760284258Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2024-02-27T11:22:28.762033829Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.749601ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.76647835Z level=info msg="Executing migration" id="add index user_auth_token.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-02-27T11:22:28.768133782Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.652092ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.774377215Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.779880933Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.503598ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.784740396Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-02-27T11:22:28.785716953Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=978.387µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.7909161Z level=info msg="Executing migration" id="create cache_data 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-02-27T11:22:28.791658384Z level=info msg="Migration successfully executed" id="create cache_data table" duration=742.284µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.798834654Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.80257292Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=3.736266ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.811698263Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2024-02-27T11:22:28.812477728Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=778.505µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.816212864Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.817286701Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.073367ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.823686825Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-02-27T11:22:28.823947297Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=263.322µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.831693391Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-02-27T11:22:28.831921862Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=228.201µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.838837991Z level=info msg="Executing migration" id="recreate alert_definition table" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.839912008Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.075517ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.843842196Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-02-27T11:22:28.844815942Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=973.596µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.84897019Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-02-27T11:22:28.850810963Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.840953ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.856479562Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.856716114Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=236.132µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.861457627Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-02-27T11:22:28.863677043Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=2.216226ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.869871435Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" policy-db-migrator | UPDATE jpapdpstatistics_enginestats a policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-02-27T11:22:28.870859382Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=988.077µs policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-02-27T11:22:28.876227159Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-02-27T11:22:28.877231435Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.004326ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.881841528Z 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-02-27T11:22:28.883432139Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.590201ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.929292106Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-02-27T11:22:28.938193037Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=8.901951ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.942481757Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2024-02-27T11:22:28.943371103Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=887.836µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.951919592Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.952437366Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=518.683µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.958971251Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-02-27T11:22:28.96035624Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.384099ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.969341482Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" 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-02-27T11:22:28.970850893Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.507931ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.97616867Z 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-02-27T11:22:28.977885231Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.717241ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.982878896Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2024-02-27T11:22:28.983058627Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=184.051µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.988355204Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2024-02-27T11:22:28.990011986Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.654082ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:28.996227419Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:28.997174665Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=947.036µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.001274784Z 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 | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-02-27T11:22:29.003524999Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=2.249745ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.018847383Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-02-27T11:22:29.022093042Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=3.247719ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.028578693Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.034600169Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=6.021866ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.038355592Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-02-27T11:22:29.039369227Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.013986ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.044980391Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" 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-02-27T11:22:29.046418651Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.4382ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.050106453Z 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-02-27T11:22:29.091414664Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=41.292881ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.095951722Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-02-27T11:22:29.131657668Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=35.688336ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.191668144Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" 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-02-27T11:22:29.193956558Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=2.289354ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.198915807Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.199988624Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.072247ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.20432858Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-02-27T11:22:29.21246764Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=8.14084ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.217509081Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" 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-02-27T11:22:29.223060344Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=5.550023ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.227631803Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.228486767Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=854.674µs policy-db-migrator | policy-db-migrator | > upgrade 0120-toscatrigger.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.236263175Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-02-27T11:22:29.238066885Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.80475ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.246857169Z 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-02-27T11:22:29.248574729Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.71628ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.254088193Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-02-27T11:22:29.255540322Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.451489ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.263126348Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-02-27T11:22:29.263216698Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=93.09µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.269235605Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.278304761Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=9.069255ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.284095356Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-02-27T11:22:29.292365536Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=8.27434ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.297755029Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-02-27T11:22:29.303422643Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.669454ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.308100951Z 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-02-27T11:22:29.309089348Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=987.927µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.31620831Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-02-27T11:22:29.317980092Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.771412ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.323364244Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-02-27T11:22:29.32931025Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=5.947966ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.333782287Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.339888115Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.105488ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.347064988Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2024-02-27T11:22:29.348086145Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.020757ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.353261825Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.359337063Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=6.074738ms grafana | logger=migrator t=2024-02-27T11:22:29.364132612Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" grafana | logger=migrator t=2024-02-27T11:22:29.370147068Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=6.013756ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.377336382Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2024-02-27T11:22:29.377518163Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=180.061µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.381340906Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.382393213Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.051877ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.385737053Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2024-02-27T11:22:29.387775376Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" duration=2.038003ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.393228659Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY grafana | logger=migrator t=2024-02-27T11:22:29.394530367Z 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.301198ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.399517917Z 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-02-27T11:22:29.399701068Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=182.731µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.404133576Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2024-02-27T11:22:29.410462304Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.328339ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.415647635Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.421842793Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.193198ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.425374024Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2024-02-27T11:22:29.431623422Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.248698ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.435375445Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-02-27T11:22:29.441517652Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.141617ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.446156901Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.452197178Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.040037ms policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=migrator t=2024-02-27T11:22:29.456681124Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.456746105Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=65.771µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.461007201Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.461698485Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=691.224µs policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-02-27T11:22:29.466674515Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.476463504Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=9.786839ms policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=migrator t=2024-02-27T11:22:29.480776481Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.480836061Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=67.51µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.485307379Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.495030498Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=9.719659ms policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=migrator t=2024-02-27T11:22:29.500629272Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.501398256Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=769.804µs policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2024-02-27T11:22:29.507614085Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.516280767Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=8.667892ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.520337651Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | msg grafana | logger=migrator t=2024-02-27T11:22:29.521134446Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=796.015µs policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2024-02-27T11:22:29.524343945Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.526131827Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.788362ms policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2024-02-27T11:22:29.532840518Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.542596847Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=9.756429ms policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2024-02-27T11:22:29.54649525Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.547178685Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=683.075µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.550421475Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.55144576Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.022315ms policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-02-27T11:22:29.557785199Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.558536894Z level=info msg="Migration successfully executed" id="create alert_image table" duration=750.315µs policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-02-27T11:22:29.561984605Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.563553294Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.568189ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.566852445Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.566967855Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=115.97µs policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-02-27T11:22:29.570362216Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.5711777Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=815.104µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.575759449Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.577329158Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.568569ms policy-db-migrator | > upgrade 0120-audit_sequence.sql grafana | logger=migrator t=2024-02-27T11:22:29.581072051Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.581717705Z 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 | 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-02-27T11:22:29.588529486Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.588988699Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=459.203µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.592587481Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.59414372Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.555099ms 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-02-27T11:22:29.59741641Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.605641001Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=8.224131ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.650561074Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.652216583Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.656019ms policy-db-migrator | > upgrade 0130-statistics_sequence.sql grafana | logger=migrator t=2024-02-27T11:22:29.656139357Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.657975708Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.837191ms 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-02-27T11:22:29.66161571Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.662444936Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=828.616µs policy-db-migrator | policy-db-migrator | -------------- policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2024-02-27T11:22:29.670051992Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.671235849Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.183577ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.674592999Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.675735967Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.143018ms policy-db-migrator | TRUNCATE TABLE sequence grafana | logger=migrator t=2024-02-27T11:22:29.678870156Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.678976416Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=109.64µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.682168435Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.682351696Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=183.011µs policy-db-migrator | > upgrade 0100-pdpstatistics.sql grafana | logger=migrator t=2024-02-27T11:22:29.686725132Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.687137186Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=412.154µs policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-02-27T11:22:29.690750498Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.691674193Z level=info msg="Migration successfully executed" id="create data_keys table" duration=923.165µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.695728568Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.697088466Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.359218ms policy-db-migrator | DROP TABLE pdpstatistics grafana | logger=migrator t=2024-02-27T11:22:29.702116137Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.751116264Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=49.001247ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.76195608Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.772555025Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=10.599115ms policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-02-27T11:22:29.783827653Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.784042494Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=215.561µs policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats grafana | logger=migrator t=2024-02-27T11:22:29.793331031Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.85075851Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=57.410359ms policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.853917689Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.904240245Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=50.323736ms policy-db-migrator | > upgrade 0120-statistics_sequence.sql grafana | logger=migrator t=2024-02-27T11:22:29.908481291Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.909099365Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=617.834µs policy-db-migrator | DROP TABLE statistics_sequence grafana | logger=migrator t=2024-02-27T11:22:29.914627019Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-27T11:22:29.915413823Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=786.594µs policy-db-migrator | grafana | logger=migrator t=2024-02-27T11:22:29.920043532Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" grafana | logger=migrator t=2024-02-27T11:22:29.920447184Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=404.022µs policy-db-migrator | policyadmin: OK: upgrade (1300) grafana | logger=migrator t=2024-02-27T11:22:29.924241227Z level=info msg="Executing migration" id="create permission table" grafana | logger=migrator t=2024-02-27T11:22:29.925575785Z level=info msg="Migration successfully executed" id="create permission table" duration=1.334418ms policy-db-migrator | name version grafana | logger=migrator t=2024-02-27T11:22:29.933606944Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | policyadmin 1300 grafana | logger=migrator t=2024-02-27T11:22:29.935254894Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.64817ms policy-db-migrator | ID script operation from_version to_version tag success atTime grafana | logger=migrator t=2024-02-27T11:22:29.942510868Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:34 grafana | logger=migrator t=2024-02-27T11:22:29.944238718Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.72732ms policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:34 grafana | logger=migrator t=2024-02-27T11:22:29.948588685Z level=info msg="Executing migration" id="create role table" policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:34 grafana | logger=migrator t=2024-02-27T11:22:29.94944865Z level=info msg="Migration successfully executed" id="create role table" duration=861.095µs policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:34 grafana | logger=migrator t=2024-02-27T11:22:29.955773139Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:34 grafana | logger=migrator t=2024-02-27T11:22:29.963177783Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.402965ms policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:34 grafana | logger=migrator t=2024-02-27T11:22:29.967618481Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:34 grafana | logger=migrator t=2024-02-27T11:22:29.975962222Z level=info msg="Migration successfully executed" id="add column group_name" duration=8.34113ms grafana | logger=migrator t=2024-02-27T11:22:29.978838119Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:34 grafana | logger=migrator t=2024-02-27T11:22:29.979602033Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=763.384µs policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:34 grafana | logger=migrator t=2024-02-27T11:22:29.984131241Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:34 grafana | logger=migrator t=2024-02-27T11:22:29.984980456Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=848.975µs policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:34 grafana | logger=migrator t=2024-02-27T11:22:29.988280986Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:34 grafana | logger=migrator t=2024-02-27T11:22:29.990133658Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.851932ms policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:34 grafana | logger=migrator t=2024-02-27T11:22:29.993291457Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:34 grafana | logger=migrator t=2024-02-27T11:22:29.994478373Z level=info msg="Migration successfully executed" id="create team role table" duration=1.186196ms policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:34 grafana | logger=migrator t=2024-02-27T11:22:29.999597155Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:34 grafana | logger=migrator t=2024-02-27T11:22:30.000791743Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.193568ms policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:34 grafana | logger=migrator t=2024-02-27T11:22:30.00367291Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:34 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:34 grafana | logger=migrator t=2024-02-27T11:22:30.004964867Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.291377ms policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:35 grafana | logger=migrator t=2024-02-27T11:22:30.008080646Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:35 grafana | logger=migrator t=2024-02-27T11:22:30.009212413Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.131197ms policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:35 grafana | logger=migrator t=2024-02-27T11:22:30.01380748Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:35 grafana | logger=migrator t=2024-02-27T11:22:30.014559044Z level=info msg="Migration successfully executed" id="create user role table" duration=751.134µs policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:35 grafana | logger=migrator t=2024-02-27T11:22:30.017902435Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:35 grafana | logger=migrator t=2024-02-27T11:22:30.018983941Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.081286ms policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:35 grafana | logger=migrator t=2024-02-27T11:22:30.022060759Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:35 grafana | logger=migrator t=2024-02-27T11:22:30.023167586Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.106167ms policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:35 grafana | logger=migrator t=2024-02-27T11:22:30.027807113Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:35 grafana | logger=migrator t=2024-02-27T11:22:30.02888862Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.080717ms policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:35 grafana | logger=migrator t=2024-02-27T11:22:30.033695068Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:35 grafana | logger=migrator t=2024-02-27T11:22:30.034486004Z level=info msg="Migration successfully executed" id="create builtin role table" duration=790.376µs policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:35 grafana | logger=migrator t=2024-02-27T11:22:30.037644052Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:35 grafana | logger=migrator t=2024-02-27T11:22:30.039207841Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.562369ms policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:35 grafana | logger=migrator t=2024-02-27T11:22:30.04406805Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:35 grafana | logger=migrator t=2024-02-27T11:22:30.045770701Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.702281ms policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:35 grafana | logger=migrator t=2024-02-27T11:22:30.049177691Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:35 grafana | logger=migrator t=2024-02-27T11:22:30.056867437Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.689186ms policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:35 grafana | logger=migrator t=2024-02-27T11:22:30.059828635Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:35 grafana | logger=migrator t=2024-02-27T11:22:30.060956531Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.127296ms policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:35 grafana | logger=migrator t=2024-02-27T11:22:30.065986041Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" grafana | logger=migrator t=2024-02-27T11:22:30.067661831Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.6752ms grafana | logger=migrator t=2024-02-27T11:22:30.071246053Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:35 grafana | logger=migrator t=2024-02-27T11:22:30.072969002Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.723719ms policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:35 grafana | logger=migrator t=2024-02-27T11:22:30.076059541Z level=info msg="Executing migration" id="add unique index role.uid" policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:35 grafana | logger=migrator t=2024-02-27T11:22:30.077206638Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.146837ms policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:35 grafana | logger=migrator t=2024-02-27T11:22:30.081920057Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:35 grafana | logger=migrator t=2024-02-27T11:22:30.082653861Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=733.264µs policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:35 grafana | logger=migrator t=2024-02-27T11:22:30.086089771Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:36 grafana | logger=migrator t=2024-02-27T11:22:30.087864012Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.774041ms policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:36 grafana | logger=migrator t=2024-02-27T11:22:30.091236622Z level=info msg="Executing migration" id="add column hidden to role table" policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:36 grafana | logger=migrator t=2024-02-27T11:22:30.101462863Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=10.226571ms policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:36 grafana | logger=migrator t=2024-02-27T11:22:30.130517336Z level=info msg="Executing migration" id="permission kind migration" policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:36 grafana | logger=migrator t=2024-02-27T11:22:30.141078389Z level=info msg="Migration successfully executed" id="permission kind migration" duration=10.561343ms policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:36 grafana | logger=migrator t=2024-02-27T11:22:30.144160897Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:36 grafana | logger=migrator t=2024-02-27T11:22:30.152528667Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=8.36841ms policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:36 grafana | logger=migrator t=2024-02-27T11:22:30.155631596Z level=info msg="Executing migration" id="permission identifier migration" policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:36 grafana | logger=migrator t=2024-02-27T11:22:30.163910175Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=8.276749ms policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:36 grafana | logger=migrator t=2024-02-27T11:22:30.166821552Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:36 grafana | logger=migrator t=2024-02-27T11:22:30.167985229Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.161587ms policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:36 grafana | logger=migrator t=2024-02-27T11:22:30.172566466Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:36 grafana | logger=migrator t=2024-02-27T11:22:30.173529462Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=962.756µs policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:36 grafana | logger=migrator t=2024-02-27T11:22:30.17652542Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:36 grafana | logger=migrator t=2024-02-27T11:22:30.177903048Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.377098ms policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:36 grafana | logger=migrator t=2024-02-27T11:22:30.182915328Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:36 grafana | logger=migrator t=2024-02-27T11:22:30.183009299Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=96.071µs policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:36 grafana | logger=migrator t=2024-02-27T11:22:30.186866422Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:36 grafana | logger=migrator t=2024-02-27T11:22:30.186901562Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=35.77µs policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:36 grafana | logger=migrator t=2024-02-27T11:22:30.190304902Z level=info msg="Executing migration" id="teams permissions migration" policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:36 grafana | logger=migrator t=2024-02-27T11:22:30.190884495Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=578.863µs policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:36 grafana | logger=migrator t=2024-02-27T11:22:30.194241136Z level=info msg="Executing migration" id="dashboard permissions" policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:36 grafana | logger=migrator t=2024-02-27T11:22:30.195491913Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.252127ms policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:36 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:37 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:37 grafana | logger=migrator t=2024-02-27T11:22:30.200552453Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:37 grafana | logger=migrator t=2024-02-27T11:22:30.201257167Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=705.084µs policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:37 grafana | logger=migrator t=2024-02-27T11:22:30.204296845Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:37 grafana | logger=migrator t=2024-02-27T11:22:30.204534527Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=236.242µs policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:37 grafana | logger=migrator t=2024-02-27T11:22:30.207792376Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:37 grafana | logger=migrator t=2024-02-27T11:22:30.208160349Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=368.073µs policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:37 grafana | logger=migrator t=2024-02-27T11:22:30.211531079Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:37 grafana | logger=migrator t=2024-02-27T11:22:30.212876326Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.342637ms policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:37 grafana | logger=migrator t=2024-02-27T11:22:30.218230778Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:37 grafana | logger=migrator t=2024-02-27T11:22:30.22021105Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.980052ms policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:37 grafana | logger=migrator t=2024-02-27T11:22:30.224793138Z level=info msg="Executing migration" id="add column org_id in query_history_star" policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:37 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:37 grafana | logger=migrator t=2024-02-27T11:22:30.234485385Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=9.693277ms policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:37 grafana | logger=migrator t=2024-02-27T11:22:30.237937326Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:37 grafana | logger=migrator t=2024-02-27T11:22:30.238005286Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=67.98µs policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:37 grafana | logger=migrator t=2024-02-27T11:22:30.241084364Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:37 grafana | logger=migrator t=2024-02-27T11:22:30.24199942Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=915.686µs policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:37 grafana | logger=migrator t=2024-02-27T11:22:30.246556297Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:37 grafana | logger=migrator t=2024-02-27T11:22:30.248826701Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=2.269184ms policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:37 grafana | logger=migrator t=2024-02-27T11:22:30.253864531Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:38 grafana | logger=migrator t=2024-02-27T11:22:30.25542197Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.558739ms policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:38 grafana | logger=migrator t=2024-02-27T11:22:30.260104348Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:38 grafana | logger=migrator t=2024-02-27T11:22:30.268615679Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.510771ms policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:38 grafana | logger=migrator t=2024-02-27T11:22:30.271653327Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2702241122340800u 1 2024-02-27 11:22:38 grafana | logger=migrator t=2024-02-27T11:22:30.272886435Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.232287ms policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2702241122340900u 1 2024-02-27 11:22:38 grafana | logger=migrator t=2024-02-27T11:22:30.275919733Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2702241122340900u 1 2024-02-27 11:22:38 grafana | logger=migrator t=2024-02-27T11:22:30.277135299Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.215627ms policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2702241122340900u 1 2024-02-27 11:22:38 grafana | logger=migrator t=2024-02-27T11:22:30.281387935Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2702241122340900u 1 2024-02-27 11:22:38 grafana | logger=migrator t=2024-02-27T11:22:30.312575401Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=31.187646ms policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2702241122340900u 1 2024-02-27 11:22:38 grafana | logger=migrator t=2024-02-27T11:22:30.31572678Z level=info msg="Executing migration" id="create correlation v2" policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2702241122340900u 1 2024-02-27 11:22:38 grafana | logger=migrator t=2024-02-27T11:22:30.316533214Z level=info msg="Migration successfully executed" id="create correlation v2" duration=804.034µs policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2702241122340900u 1 2024-02-27 11:22:38 grafana | logger=migrator t=2024-02-27T11:22:30.320678999Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2702241122340900u 1 2024-02-27 11:22:38 grafana | logger=migrator t=2024-02-27T11:22:30.321947696Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.267397ms policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2702241122340900u 1 2024-02-27 11:22:38 grafana | logger=migrator t=2024-02-27T11:22:30.325331116Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2702241122340900u 1 2024-02-27 11:22:38 grafana | logger=migrator t=2024-02-27T11:22:30.327092937Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.764381ms policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2702241122340900u 1 2024-02-27 11:22:38 grafana | logger=migrator t=2024-02-27T11:22:30.3308982Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2702241122340900u 1 2024-02-27 11:22:38 grafana | logger=migrator t=2024-02-27T11:22:30.332808171Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.909551ms policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2702241122340900u 1 2024-02-27 11:22:38 grafana | logger=migrator t=2024-02-27T11:22:30.33765513Z level=info msg="Executing migration" id="copy correlation v1 to v2" policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2702241122341000u 1 2024-02-27 11:22:38 grafana | logger=migrator t=2024-02-27T11:22:30.338008912Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=353.572µs policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2702241122341000u 1 2024-02-27 11:22:38 grafana | logger=migrator t=2024-02-27T11:22:30.341902705Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2702241122341000u 1 2024-02-27 11:22:38 grafana | logger=migrator t=2024-02-27T11:22:30.342762141Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=858.846µs policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2702241122341000u 1 2024-02-27 11:22:39 grafana | logger=migrator t=2024-02-27T11:22:30.346654644Z level=info msg="Executing migration" id="add provisioning column" policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2702241122341000u 1 2024-02-27 11:22:39 grafana | logger=migrator t=2024-02-27T11:22:30.357293247Z level=info msg="Migration successfully executed" id="add provisioning column" duration=10.639373ms policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2702241122341000u 1 2024-02-27 11:22:39 grafana | logger=migrator t=2024-02-27T11:22:30.362352418Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2024-02-27T11:22:30.363246223Z level=info msg="Migration successfully executed" id="create entity_events table" duration=894.085µs policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2702241122341000u 1 2024-02-27 11:22:39 grafana | logger=migrator t=2024-02-27T11:22:30.367595809Z level=info msg="Executing migration" id="create dashboard public config v1" policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2702241122341000u 1 2024-02-27 11:22:39 grafana | logger=migrator t=2024-02-27T11:22:30.368669535Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.071836ms policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2702241122341000u 1 2024-02-27 11:22:39 grafana | logger=migrator t=2024-02-27T11:22:30.373354343Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2702241122341100u 1 2024-02-27 11:22:39 grafana | logger=migrator t=2024-02-27T11:22:30.373910117Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2702241122341200u 1 2024-02-27 11:22:39 grafana | logger=migrator t=2024-02-27T11:22:30.377654969Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2702241122341200u 1 2024-02-27 11:22:39 grafana | logger=migrator t=2024-02-27T11:22:30.378487623Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2702241122341200u 1 2024-02-27 11:22:39 grafana | logger=migrator t=2024-02-27T11:22:30.382553708Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2702241122341200u 1 2024-02-27 11:22:39 grafana | logger=migrator t=2024-02-27T11:22:30.383804935Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.247887ms policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 2702241122341300u 1 2024-02-27 11:22:39 grafana | logger=migrator t=2024-02-27T11:22:30.387646968Z level=info msg="Executing migration" id="recreate dashboard public config v1" policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 2702241122341300u 1 2024-02-27 11:22:39 grafana | logger=migrator t=2024-02-27T11:22:30.388712324Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.064726ms policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 2702241122341300u 1 2024-02-27 11:22:39 grafana | logger=migrator t=2024-02-27T11:22:30.393603314Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" policy-db-migrator | policyadmin: OK @ 1300 grafana | logger=migrator t=2024-02-27T11:22:30.39475242Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.149446ms grafana | logger=migrator t=2024-02-27T11:22:30.39811421Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-02-27T11:22:30.399344448Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.228668ms grafana | logger=migrator t=2024-02-27T11:22:30.402883149Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-02-27T11:22:30.403981595Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.097046ms grafana | logger=migrator t=2024-02-27T11:22:30.408646433Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-02-27T11:22:30.40974064Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.090657ms grafana | logger=migrator t=2024-02-27T11:22:30.413246361Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2024-02-27T11:22:30.414308427Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.062416ms grafana | logger=migrator t=2024-02-27T11:22:30.419158616Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2024-02-27T11:22:30.420882717Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.720551ms grafana | logger=migrator t=2024-02-27T11:22:30.425337633Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-02-27T11:22:30.42652139Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.183277ms grafana | logger=migrator t=2024-02-27T11:22:30.432127544Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-02-27T11:22:30.434358356Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=2.228592ms grafana | logger=migrator t=2024-02-27T11:22:30.43832451Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2024-02-27T11:22:30.440240551Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.915651ms grafana | logger=migrator t=2024-02-27T11:22:30.443859053Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2024-02-27T11:22:30.477865796Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=34.004333ms grafana | logger=migrator t=2024-02-27T11:22:30.482148821Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2024-02-27T11:22:30.488784951Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.63601ms grafana | logger=migrator t=2024-02-27T11:22:30.492297492Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2024-02-27T11:22:30.500868343Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.570131ms grafana | logger=migrator t=2024-02-27T11:22:30.504299273Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2024-02-27T11:22:30.504539564Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=241.381µs grafana | logger=migrator t=2024-02-27T11:22:30.508079566Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2024-02-27T11:22:30.516399756Z level=info msg="Migration successfully executed" id="add share column" duration=8.31916ms grafana | logger=migrator t=2024-02-27T11:22:30.52055955Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2024-02-27T11:22:30.520711021Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=148.891µs grafana | logger=migrator t=2024-02-27T11:22:30.524077571Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2024-02-27T11:22:30.524686175Z level=info msg="Migration successfully executed" id="create file table" duration=608.314µs grafana | logger=migrator t=2024-02-27T11:22:30.528283206Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2024-02-27T11:22:30.530160688Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.875682ms grafana | logger=migrator t=2024-02-27T11:22:30.535455199Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2024-02-27T11:22:30.536536426Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.080917ms grafana | logger=migrator t=2024-02-27T11:22:30.539913396Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2024-02-27T11:22:30.5406413Z level=info msg="Migration successfully executed" id="create file_meta table" duration=727.474µs grafana | logger=migrator t=2024-02-27T11:22:30.544199012Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2024-02-27T11:22:30.545429029Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.228816ms grafana | logger=migrator t=2024-02-27T11:22:30.552617272Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2024-02-27T11:22:30.552684252Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=67.73µs grafana | logger=migrator t=2024-02-27T11:22:30.556576965Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2024-02-27T11:22:30.556673676Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=97.551µs grafana | logger=migrator t=2024-02-27T11:22:30.560430318Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2024-02-27T11:22:30.561379204Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=947.856µs grafana | logger=migrator t=2024-02-27T11:22:30.564770504Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2024-02-27T11:22:30.565153456Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=382.132µs grafana | logger=migrator t=2024-02-27T11:22:30.569895835Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-02-27T11:22:30.571056491Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.160506ms grafana | logger=migrator t=2024-02-27T11:22:30.605370565Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-02-27T11:22:30.616935665Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=11.56837ms grafana | logger=migrator t=2024-02-27T11:22:30.620661597Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-02-27T11:22:30.620819958Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=158.071µs grafana | logger=migrator t=2024-02-27T11:22:30.624072747Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-02-27T11:22:30.625178103Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.105146ms grafana | logger=migrator t=2024-02-27T11:22:30.629377069Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-02-27T11:22:30.629768811Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=392.092µs grafana | logger=migrator t=2024-02-27T11:22:30.633178291Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-02-27T11:22:30.633391782Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=213.721µs grafana | logger=migrator t=2024-02-27T11:22:30.636736873Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-02-27T11:22:30.637201176Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=464.283µs grafana | logger=migrator t=2024-02-27T11:22:30.64144134Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-02-27T11:22:30.64983156Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=8.39009ms grafana | logger=migrator t=2024-02-27T11:22:30.65317775Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-02-27T11:22:30.661659611Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=8.481381ms grafana | logger=migrator t=2024-02-27T11:22:30.665144652Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2024-02-27T11:22:30.665924547Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=779.375µs grafana | logger=migrator t=2024-02-27T11:22:30.670255943Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2024-02-27T11:22:30.778241346Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=107.984783ms grafana | logger=migrator t=2024-02-27T11:22:30.781821097Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-02-27T11:22:30.782957764Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.135787ms grafana | logger=migrator t=2024-02-27T11:22:30.786299284Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2024-02-27T11:22:30.78743907Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.140636ms grafana | logger=migrator t=2024-02-27T11:22:30.791792957Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-02-27T11:22:30.826625774Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=34.831377ms grafana | logger=migrator t=2024-02-27T11:22:30.830154236Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2024-02-27T11:22:30.830444687Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=291.171µs grafana | logger=migrator t=2024-02-27T11:22:30.837306488Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2024-02-27T11:22:30.83773719Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=430.892µs grafana | logger=migrator t=2024-02-27T11:22:30.842260378Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2024-02-27T11:22:30.842535979Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=276.281µs grafana | logger=migrator t=2024-02-27T11:22:30.846780465Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-02-27T11:22:30.848447654Z level=info msg="Migration successfully executed" id="create folder table" duration=1.667699ms grafana | logger=migrator t=2024-02-27T11:22:30.851819174Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2024-02-27T11:22:30.853006522Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.186898ms grafana | logger=migrator t=2024-02-27T11:22:30.856560663Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2024-02-27T11:22:30.85777323Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.211416ms grafana | logger=migrator t=2024-02-27T11:22:30.861364232Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-02-27T11:22:30.861389932Z level=info msg="Migration successfully executed" id="Update folder title length" duration=27.25µs grafana | logger=migrator t=2024-02-27T11:22:30.864338189Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-02-27T11:22:30.865513986Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.175377ms grafana | logger=migrator t=2024-02-27T11:22:30.871387791Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-02-27T11:22:30.873140372Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.752861ms grafana | logger=migrator t=2024-02-27T11:22:30.877047935Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-02-27T11:22:30.878905326Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.856872ms grafana | logger=migrator t=2024-02-27T11:22:30.883664085Z level=info msg="Executing migration" id="Sync dashboard and folder table" grafana | logger=migrator t=2024-02-27T11:22:30.884144557Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=484.752µs grafana | logger=migrator t=2024-02-27T11:22:30.890352664Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" grafana | logger=migrator t=2024-02-27T11:22:30.890659396Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=304.422µs grafana | logger=migrator t=2024-02-27T11:22:30.893545643Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-02-27T11:22:30.895022192Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.474489ms grafana | logger=migrator t=2024-02-27T11:22:30.901104218Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-02-27T11:22:30.9030799Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.976812ms grafana | logger=migrator t=2024-02-27T11:22:30.909572869Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-02-27T11:22:30.911301779Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.72748ms grafana | logger=migrator t=2024-02-27T11:22:30.914895801Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-02-27T11:22:30.916130097Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.233736ms grafana | logger=migrator t=2024-02-27T11:22:30.91981701Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-02-27T11:22:30.921021257Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.204147ms grafana | logger=migrator t=2024-02-27T11:22:30.925749155Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-02-27T11:22:30.926912892Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.163907ms grafana | logger=migrator t=2024-02-27T11:22:30.930083991Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-02-27T11:22:30.930389862Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=306.501µs grafana | logger=migrator t=2024-02-27T11:22:30.933974324Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-02-27T11:22:30.943205929Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=9.231455ms grafana | logger=migrator t=2024-02-27T11:22:30.947426904Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-02-27T11:22:30.948099249Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=673.055µs grafana | logger=migrator t=2024-02-27T11:22:30.960235871Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-02-27T11:22:30.961498859Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.263008ms grafana | logger=migrator t=2024-02-27T11:22:30.964235494Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-02-27T11:22:30.965217371Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=981.776µs grafana | logger=migrator t=2024-02-27T11:22:30.969027273Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-02-27T11:22:30.969751857Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=725.014µs grafana | logger=migrator t=2024-02-27T11:22:30.974002623Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-02-27T11:22:30.974534946Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=536.293µs grafana | logger=migrator t=2024-02-27T11:22:30.977884335Z level=info msg="migrations completed" performed=526 skipped=0 duration=4.203273258s grafana | logger=sqlstore t=2024-02-27T11:22:30.990789793Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-02-27T11:22:30.991216115Z level=info msg="Created default organization" grafana | logger=secrets t=2024-02-27T11:22:30.995710772Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2024-02-27T11:22:31.01377511Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2024-02-27T11:22:31.051252254Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-02-27T11:22:31.051318794Z level=info msg="Plugins loaded" count=55 duration=37.544564ms grafana | logger=query_data t=2024-02-27T11:22:31.060614569Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-02-27T11:22:31.065991451Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2024-02-27T11:22:31.071348783Z level=info msg=Starting grafana | logger=ngalert.migration orgID=1 t=2024-02-27T11:22:31.072261228Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-02-27T11:22:31.073132513Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-02-27T11:22:31.075027605Z level=info msg="Completed legacy migration" grafana | logger=infra.usagestats.collector t=2024-02-27T11:22:31.106373501Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-02-27T11:22:31.108231633Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-02-27T11:22:31.122664209Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-02-27T11:22:31.122685209Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2024-02-27T11:22:31.12293787Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2024-02-27T11:22:31.123146691Z level=info msg="Warming state cache for startup" grafana | logger=ngalert.multiorg.alertmanager t=2024-02-27T11:22:31.124422549Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=http.server t=2024-02-27T11:22:31.126145589Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=grafana-apiserver t=2024-02-27T11:22:31.127063925Z level=info msg="Authentication is disabled" grafana | logger=grafana-apiserver t=2024-02-27T11:22:31.130667506Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" grafana | logger=ngalert.state.manager t=2024-02-27T11:22:31.202020371Z level=info msg="State cache has been initialized" states=0 duration=78.87327ms grafana | logger=ngalert.scheduler t=2024-02-27T11:22:31.202080692Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2024-02-27T11:22:31.202330913Z level=info msg=starting first_tick=2024-02-27T11:22:40Z grafana | logger=sqlstore.transactions t=2024-02-27T11:22:31.27046829Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2024-02-27T11:22:31.281159664Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" grafana | logger=sqlstore.transactions t=2024-02-27T11:22:31.300250897Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=2 code="database is locked" grafana | logger=grafana.update.checker t=2024-02-27T11:22:32.19347563Z level=info msg="Update check succeeded" duration=1.068255546s grafana | logger=plugins.update.checker t=2024-02-27T11:22:32.635304094Z level=info msg="Update check succeeded" duration=1.509068434s grafana | logger=infra.usagestats t=2024-02-27T11:23:05.132472576Z 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 prometheus ... Stopping mariadb ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing prometheus ... Removing mariadb ... Removing policy-api ... done Removing policy-db-migrator ... done Removing grafana ... done Removing mariadb ... done Removing prometheus ... done Removing network compose_default ++ cd /w/workspace/policy-api-master-project-csit-api + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.8uZfqdIV3x ]] + rsync -av /tmp/tmp.8uZfqdIV3x/ /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,367 bytes received 95 bytes 2,714,924.00 bytes/sec total size is 1,356,721 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 2089 killed; [ssh-agent] Stopped. Robot results publisher started... INFO: Checking test criticality is deprecated and will be dropped in a future release! -Parsing output xml: Done! WARNING! Could not find file: **/log.html WARNING! Could not find file: **/report.html -Copying log files to build dir: Done! -Assigning results to build: Done! -Checking thresholds: Done! Done publishing Robot results. [PostBuildScript] - [INFO] Executing post build scripts. [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins18359982298344051588.sh ---> sysstat.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins771368582409754370.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/jenkins8348876386030108722.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-Ss0b from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-Ss0b/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins11509693769666513729.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-master-project-csit-api@tmp/config900984628246716003tmp 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/jenkins14281942038577261937.sh ---> create-netrc.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins7130673580166389176.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-Ss0b from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-Ss0b/bin to PATH [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins1044508986877636613.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins9545928257630766036.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-Ss0b 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-Ss0b/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/jenkins15734980069748348118.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-Ss0b from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-Ss0b/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-master-project-csit-api/1548 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-9135 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 819 27146 0 4201 30891 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:dc:ff:84 brd ff:ff:ff:ff:ff:ff inet 10.30.106.7/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86055sec preferred_lft 86055sec inet6 fe80::f816:3eff:fedc:ff84/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:17:3b:45:0e 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-9135) 02/27/24 _x86_64_ (8 CPU) 11:19:25 LINUX RESTART (8 CPU) 11:20:01 tps rtps wtps bread/s bwrtn/s 11:21:01 115.15 36.21 78.94 1694.12 24216.50 11:22:01 123.85 23.00 100.85 2747.87 29862.53 11:23:01 383.59 12.63 370.96 811.55 87269.74 11:24:01 15.43 0.00 15.43 0.00 17435.99 11:25:01 71.02 1.95 69.07 114.38 21621.71 Average: 141.82 14.76 127.06 1073.52 36083.21 11:20:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:21:01 30094336 31686552 2844884 8.64 70012 1832664 1431608 4.21 888408 1669196 157624 11:22:01 28479112 31667112 4460108 13.54 105120 3344812 1583660 4.66 990308 3083592 1335500 11:23:01 26729260 30597204 6209960 18.85 129184 3954920 4224776 12.43 2152696 3599936 560 11:24:01 26142912 30012092 6796308 20.63 129320 3955624 4831108 14.21 2738072 3599820 176 11:25:01 27793088 31627272 5146132 15.62 132588 3927076 1475868 4.34 1158224 3555652 13832 Average: 27847742 31118046 5091478 15.46 113245 3403019 2709404 7.97 1585542 3101639 301538 11:20:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:21:01 lo 1.67 1.67 0.18 0.18 0.00 0.00 0.00 0.00 11:21:01 ens3 86.24 60.79 925.08 21.82 0.00 0.00 0.00 0.00 11:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:22:01 lo 6.53 6.53 0.61 0.61 0.00 0.00 0.00 0.00 11:22:01 br-ddf535bd2df4 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:22:01 ens3 251.88 154.82 7587.31 15.51 0.00 0.00 0.00 0.00 11:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:23:01 veth712dc62 0.05 0.37 0.00 0.02 0.00 0.00 0.00 0.00 11:23:01 lo 3.77 3.77 0.34 0.34 0.00 0.00 0.00 0.00 11:23:01 br-ddf535bd2df4 0.75 0.80 0.08 0.32 0.00 0.00 0.00 0.00 11:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:24:01 veth712dc62 0.18 0.20 0.02 0.77 0.00 0.00 0.00 0.00 11:24:01 lo 9.77 9.77 8.46 8.46 0.00 0.00 0.00 0.00 11:24:01 br-ddf535bd2df4 2.92 3.33 6.09 2.20 0.00 0.00 0.00 0.00 11:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:25:01 lo 6.83 6.83 0.60 0.60 0.00 0.00 0.00 0.00 11:25:01 ens3 823.65 557.06 12829.78 123.24 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: lo 5.71 5.71 2.04 2.04 0.00 0.00 0.00 0.00 Average: ens3 106.00 68.89 2423.11 14.15 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-9135) 02/27/24 _x86_64_ (8 CPU) 11:19:25 LINUX RESTART (8 CPU) 11:20:01 CPU %user %nice %system %iowait %steal %idle 11:21:01 all 10.16 0.00 0.77 2.08 0.04 86.96 11:21:01 0 17.75 0.00 1.44 13.00 0.05 67.76 11:21:01 1 15.35 0.00 0.97 0.87 0.05 82.76 11:21:01 2 18.60 0.00 0.99 1.05 0.03 79.33 11:21:01 3 10.20 0.00 0.77 0.28 0.05 88.69 11:21:01 4 2.20 0.00 0.50 0.20 0.02 97.08 11:21:01 5 9.25 0.00 0.67 1.15 0.03 88.90 11:21:01 6 6.73 0.00 0.43 0.07 0.02 92.75 11:21:01 7 1.28 0.00 0.32 0.08 0.03 98.28 11:22:01 all 11.50 0.00 2.15 2.35 0.05 83.96 11:22:01 0 5.74 0.00 1.51 7.57 0.07 85.11 11:22:01 1 10.15 0.00 2.37 2.27 0.05 85.15 11:22:01 2 23.52 0.00 2.75 4.65 0.07 69.02 11:22:01 3 3.45 0.00 1.41 0.69 0.03 94.43 11:22:01 4 23.36 0.00 2.69 0.89 0.07 72.99 11:22:01 5 11.45 0.00 2.04 0.34 0.03 86.14 11:22:01 6 4.49 0.00 1.89 1.86 0.05 91.70 11:22:01 7 9.78 0.00 2.56 0.60 0.03 87.02 11:23:01 all 14.80 0.00 3.05 5.91 0.06 76.18 11:23:01 0 7.05 0.00 1.77 8.60 0.05 82.54 11:23:01 1 17.66 0.00 2.99 4.32 0.07 74.96 11:23:01 2 14.42 0.00 2.97 3.29 0.07 79.26 11:23:01 3 17.74 0.00 3.72 0.82 0.05 77.67 11:23:01 4 15.41 0.00 2.78 0.40 0.05 81.35 11:23:01 5 12.46 0.00 2.47 0.87 0.05 84.15 11:23:01 6 16.55 0.00 4.49 27.55 0.07 51.34 11:23:01 7 17.18 0.00 3.18 1.43 0.07 78.14 11:24:01 all 2.38 0.00 0.25 0.97 0.03 96.36 11:24:01 0 3.47 0.00 0.23 0.00 0.03 96.26 11:24:01 1 1.63 0.00 0.15 0.00 0.02 98.20 11:24:01 2 2.82 0.00 0.62 0.00 0.10 96.46 11:24:01 3 2.95 0.00 0.20 0.05 0.02 96.78 11:24:01 4 2.32 0.00 0.18 0.00 0.02 97.48 11:24:01 5 2.09 0.00 0.27 0.02 0.02 97.61 11:24:01 6 2.24 0.00 0.27 7.71 0.02 89.77 11:24:01 7 1.52 0.00 0.15 0.02 0.02 98.30 11:25:01 all 7.54 0.00 0.71 1.39 0.03 90.33 11:25:01 0 3.43 0.00 0.62 0.10 0.03 95.83 11:25:01 1 36.73 0.00 1.60 0.65 0.05 60.96 11:25:01 2 6.71 0.00 0.53 0.32 0.03 92.41 11:25:01 3 4.07 0.00 0.60 0.12 0.03 95.18 11:25:01 4 1.47 0.00 0.63 0.18 0.02 97.70 11:25:01 5 3.49 0.00 0.67 0.17 0.03 95.65 11:25:01 6 1.74 0.00 0.48 8.99 0.03 88.75 11:25:01 7 2.69 0.00 0.55 0.60 0.02 96.14 Average: all 9.27 0.00 1.38 2.54 0.04 86.77 Average: 0 7.48 0.00 1.11 5.84 0.05 85.52 Average: 1 16.30 0.00 1.62 1.62 0.05 80.41 Average: 2 13.20 0.00 1.57 1.86 0.06 83.32 Average: 3 7.68 0.00 1.34 0.39 0.04 90.56 Average: 4 8.93 0.00 1.35 0.33 0.03 89.35 Average: 5 7.74 0.00 1.22 0.51 0.03 90.50 Average: 6 6.34 0.00 1.51 9.21 0.04 82.91 Average: 7 6.47 0.00 1.35 0.55 0.03 91.60