Started by upstream project "policy-api-master-merge-java" build number 316 originally caused by: Triggered by Gerrit: https://gerrit.onap.org/r/c/policy/api/+/136539 Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-75677 (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-SAASOyqmsGZb/agent.2185 SSH_AGENT_PID=2187 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-master-project-csit-api@tmp/private_key_1175977453396005676.key (/w/workspace/policy-api-master-project-csit-api@tmp/private_key_1175977453396005676.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 0a32da8957faea5b96de55b540f594dc6bf9bfba (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0a32da8957faea5b96de55b540f594dc6bf9bfba # timeout=30 Commit message: "Set all cross references of policy/docker" > git rev-list --no-walk 0a32da8957faea5b96de55b540f594dc6bf9bfba # 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/jenkins6585344737857011712.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-uj5w 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-uj5w/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.1 from /tmp/venv-uj5w/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.1.6 aspy.yaml==1.3.0 attrs==23.1.0 autopage==0.5.2 Babel==2.13.1 beautifulsoup4==4.12.2 boto3==1.28.85 botocore==1.31.85 bs4==0.0.1 cachetools==5.3.2 certifi==2023.7.22 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.4.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.7 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.2.2 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.40 google-auth==2.23.4 httplib2==0.22.0 identify==2.5.31 idna==3.4 importlib-metadata==6.8.0 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.2 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.19.2 jsonschema-specifications==2023.7.1 keystoneauth1==5.3.0 kubernetes==28.1.0 lftools==0.37.8 lxml==4.9.3 MarkupSafe==2.1.3 msgpack==1.0.7 multi-key-dict==2.0.3 munch==4.0.0 netaddr==0.9.0 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==2.9.0 oslo.config==9.2.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.2.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==3.11.0 prettytable==3.9.0 pyasn1==0.5.0 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 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.3.0 python-jenkins==1.8.2 python-keystoneclient==5.2.0 python-magnumclient==4.2.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.30.2 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.12.0 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.7.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.2 tqdm==4.66.1 typing_extensions==4.8.0 tzdata==2023.3 urllib3==1.26.18 virtualenv==20.24.6 wcwidth==0.2.10 websocket-client==1.6.4 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 zipp==3.17.0 [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/jenkins10623216235490962843.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/jenkins2390710966652476602.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.JVtM2Bv3tH ++ echo ROBOT_VENV=/tmp/tmp.JVtM2Bv3tH +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.JVtM2Bv3tH ++ source /tmp/tmp.JVtM2Bv3tH/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.JVtM2Bv3tH +++ 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.JVtM2Bv3tH/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.JVtM2Bv3tH) ' '!=' x ']' +++ PS1='(tmp.JVtM2Bv3tH) ' +++ 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.2 bitarray==2.8.3 certifi==2023.7.22 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.4 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==4.9.3 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.3.1 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.JVtM2Bv3tH/src/onap ++ rm -rf /tmp/tmp.JVtM2Bv3tH/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 '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.2 bitarray==2.8.3 certifi==2023.7.22 cffi==1.15.1 charset-normalizer==2.0.12 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==0.18.3 idna==3.4 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==4.9.3 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.3.1 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.JVtM2Bv3tH/bin/activate + '[' -z /tmp/tmp.JVtM2Bv3tH/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.JVtM2Bv3tH/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.JVtM2Bv3tH ++ 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.JVtM2Bv3tH/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.JVtM2Bv3tH) ' ++ '[' 'x(tmp.JVtM2Bv3tH) ' '!=' x ']' ++ PS1='(tmp.JVtM2Bv3tH) (tmp.JVtM2Bv3tH) ' ++ export PS1 ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r + 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 ++ 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.8m9fGfWtrb + cd /tmp/tmp.8m9fGfWtrb + 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.0.3-SNAPSHOT)... 3.0.3-SNAPSHOT: Pulling from onap/policy-db-migrator Digest: sha256:95b0e87dae0821e375b172529bac7a8ec2d4496b86815e8062136443d6425924 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.0.3-SNAPSHOT Pulling api (nexus3.onap.org:10001/onap/policy-api:3.0.3-SNAPSHOT)... 3.0.3-SNAPSHOT: Pulling from onap/policy-api Digest: sha256:584376ee8a6175b11db57deffa926cbff8899d9af41a18e406b2d407f3d554f6 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.0.3-SNAPSHOT Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:3002935850ea69a59816825d4cb718fafcdb9b124e4e6153ebc6894627525f7f 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:1ee0c54286b8ca09a3dd1419ff8653e7780a148a006ac088544203bb0affe550 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating mariadb ... Creating prometheus ... Creating prometheus ... done Creating grafana ... Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating grafana ... done 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 12 seconds grafana Up 11 seconds mariadb Up 13 seconds prometheus Up 14 seconds NAMES STATUS policy-api Up 15 seconds policy-db-migrator Up 17 seconds grafana Up 16 seconds mariadb Up 18 seconds prometheus Up 19 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 21 seconds mariadb Up 23 seconds prometheus Up 24 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 26 seconds mariadb Up 28 seconds prometheus Up 29 seconds NAMES STATUS policy-api Up 30 seconds grafana Up 31 seconds mariadb Up 33 seconds prometheus Up 35 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-master-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/policy-api-master-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 16:25:29 up 9 min, 0 users, load average: 1.88, 0.92, 0.43 Tasks: 171 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 4.2 us, 0.8 sy, 0.0 ni, 91.9 id, 3.1 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.0G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 30 seconds grafana Up 31 seconds mariadb Up 34 seconds prometheus Up 35 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS a8fa67c8abbd policy-api 0.48% 518.9MiB / 31.41GiB 1.61% 999kB / 711kB 0B / 0B 52 3ce2e6e4bbe0 grafana 0.02% 100.6MiB / 31.41GiB 0.31% 19.4kB / 3.18kB 0B / 22.9MB 19 6ad42406517c mariadb 0.02% 100MiB / 31.41GiB 0.31% 986kB / 1.18MB 11MB / 68.1MB 27 ba269a887bab prometheus 0.00% 19.04MiB / 31.41GiB 0.06% 1.38kB / 0B 168kB / 0B 12 + echo + cd /tmp/tmp.8m9fGfWtrb + 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.8m9fGfWtrb/output.xml Log: /tmp/tmp.8m9fGfWtrb/log.html Report: /tmp/tmp.8m9fGfWtrb/report.html + RESULT=0 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 0' RESULT: 0 + exit 0 + on_exit + rc=0 + [[ -n /w/workspace/policy-api-master-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 16:26:40 up 10 min, 0 users, load average: 0.70, 0.78, 0.42 Tasks: 170 total, 2 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 4.1 us, 0.7 sy, 0.0 ni, 92.3 id, 2.8 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.9G 25G 1.0M 4.0G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS a8fa67c8abbd policy-api 0.20% 861.7MiB / 31.41GiB 2.68% 7.01MB / 2.59MB 0B / 0B 53 3ce2e6e4bbe0 grafana 0.02% 100.9MiB / 31.41GiB 0.31% 20.6kB / 4.47kB 0B / 22.9MB 19 6ad42406517c mariadb 0.01% 101.1MiB / 31.41GiB 0.31% 2.4MB / 7.04MB 11MB / 68.5MB 18 ba269a887bab prometheus 0.00% 25.82MiB / 31.41GiB 0.08% 102kB / 7.44kB 168kB / 0B 13 + echo + source_safely /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-master-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-master-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-master-project-csit-api/compose ++ cd /w/workspace/policy-api-master-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-api, policy-db-migrator, grafana, mariadb, prometheus grafana | logger=settings t=2023-11-14T16:24:57.760943028Z level=info msg="Starting Grafana" version=10.2.0 commit=895fbafb7a branch=HEAD compiled=2023-10-23T13:40:35Z grafana | logger=settings t=2023-11-14T16:24:57.761241394Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2023-11-14T16:24:57.761258784Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2023-11-14T16:24:57.761263644Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2023-11-14T16:24:57.761267984Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2023-11-14T16:24:57.761273104Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2023-11-14T16:24:57.761277264Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2023-11-14T16:24:57.761282044Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2023-11-14T16:24:57.761287044Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2023-11-14T16:24:57.761489788Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2023-11-14T16:24:57.761496048Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2023-11-14T16:24:57.761500338Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2023-11-14T16:24:57.761506519Z level=info msg=Target target=[all] grafana | logger=settings t=2023-11-14T16:24:57.761516349Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2023-11-14T16:24:57.761520869Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2023-11-14T16:24:57.761525059Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2023-11-14T16:24:57.761528659Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2023-11-14T16:24:57.761532799Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2023-11-14T16:24:57.761536999Z level=info msg="App mode production" grafana | logger=sqlstore t=2023-11-14T16:24:57.761898306Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2023-11-14T16:24:57.761920086Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2023-11-14T16:24:57.762837844Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2023-11-14T16:24:57.763772353Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2023-11-14T16:24:57.76464892Z level=info msg="Migration successfully executed" id="create migration_log table" duration=876.557µs grafana | logger=migrator t=2023-11-14T16:24:58.039011234Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2023-11-14T16:24:58.039846909Z level=info msg="Migration successfully executed" id="create user table" duration=838.145µs grafana | logger=migrator t=2023-11-14T16:24:58.059050831Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2023-11-14T16:24:58.090924001Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=31.87738ms grafana | logger=migrator t=2023-11-14T16:24:58.111613559Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2023-11-14T16:24:58.11285316Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.238431ms grafana | logger=migrator t=2023-11-14T16:24:58.137381235Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2023-11-14T16:24:58.139098864Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.716949ms grafana | logger=migrator t=2023-11-14T16:24:58.151580179Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2023-11-14T16:24:58.15281777Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.232581ms mariadb | 2023-11-14 16:24:55+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-11-14 16:24:55+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2023-11-14 16:24:55+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2023-11-14 16:24:55+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2023-11-14 16:24:55 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-11-14 16:24:55 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-14 16:24:55 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 | 2023-11-14 16:24:59+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2023-11-14 16:24:59+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2023-11-14 16:24:59+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2023-11-14 16:24:59 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 95 ... mariadb | 2023-11-14 16:24:59 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2023-11-14 16:24:59 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2023-11-14 16:24:59 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2023-11-14 16:24:59 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) grafana | logger=migrator t=2023-11-14T16:24:58.166231691Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2023-11-14T16:24:58.170202839Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=3.971088ms grafana | logger=migrator t=2023-11-14T16:24:58.181223419Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2023-11-14T16:24:58.182277057Z level=info msg="Migration successfully executed" id="create user table v2" duration=1.053688ms grafana | logger=migrator t=2023-11-14T16:24:58.195517894Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2023-11-14T16:24:58.196635474Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.11622ms grafana | logger=migrator t=2023-11-14T16:24:58.206839289Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2023-11-14T16:24:58.207574442Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=735.113µs grafana | logger=migrator t=2023-11-14T16:24:58.214514342Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2023-11-14T16:24:58.214965929Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=451.447µs grafana | logger=migrator t=2023-11-14T16:24:58.222199884Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2023-11-14T16:24:58.223246672Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=1.049838ms grafana | logger=migrator t=2023-11-14T16:24:58.234572377Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2023-11-14T16:24:58.236935768Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=2.365881ms grafana | logger=migrator t=2023-11-14T16:24:58.248345734Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2023-11-14T16:24:58.248450226Z level=info msg="Migration successfully executed" id="Update user table charset" duration=108.671µs grafana | logger=migrator t=2023-11-14T16:24:58.25858036Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2023-11-14T16:24:58.260090355Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.508785ms grafana | logger=migrator t=2023-11-14T16:24:58.264015033Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2023-11-14T16:24:58.264328368Z level=info msg="Migration successfully executed" id="Add missing user data" duration=312.755µs grafana | logger=migrator t=2023-11-14T16:24:58.272449188Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2023-11-14T16:24:58.274472583Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=2.021924ms grafana | logger=migrator t=2023-11-14T16:24:58.28129372Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2023-11-14T16:24:58.282470451Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.176701ms grafana | logger=migrator t=2023-11-14T16:24:58.288607637Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2023-11-14T16:24:58.289865888Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.258701ms grafana | logger=migrator t=2023-11-14T16:24:58.297497369Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2023-11-14T16:24:58.308732013Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=11.230293ms grafana | logger=migrator t=2023-11-14T16:24:58.315841825Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2023-11-14T16:24:58.316580328Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=740.323µs grafana | logger=migrator t=2023-11-14T16:24:58.323760131Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2023-11-14T16:24:58.325093554Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.320043ms grafana | logger=migrator t=2023-11-14T16:24:58.33126556Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2023-11-14T16:24:58.332314419Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.048659ms grafana | logger=migrator t=2023-11-14T16:24:58.338666257Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2023-11-14T16:24:58.339556113Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=890.696µs grafana | logger=migrator t=2023-11-14T16:24:58.347816435Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2023-11-14T16:24:58.349040157Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.224982ms grafana | logger=migrator t=2023-11-14T16:24:58.356122598Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2023-11-14T16:24:58.356186889Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=69.181µs grafana | logger=migrator t=2023-11-14T16:24:58.361031102Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2023-11-14T16:24:58.363047057Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=2.015085ms grafana | logger=migrator t=2023-11-14T16:24:58.373829042Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2023-11-14T16:24:58.374450004Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=621.212µs grafana | logger=migrator t=2023-11-14T16:24:58.379632603Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2023-11-14T16:24:58.380244263Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=611.08µs grafana | logger=migrator t=2023-11-14T16:24:58.386567232Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2023-11-14T16:24:58.387200863Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=633.661µs grafana | logger=migrator t=2023-11-14T16:24:58.396071775Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2023-11-14T16:24:58.402082879Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=6.006744ms grafana | logger=migrator t=2023-11-14T16:24:58.407484791Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2023-11-14T16:24:58.408214334Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=729.413µs grafana | logger=migrator t=2023-11-14T16:24:58.416967415Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2023-11-14T16:24:58.417735368Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=767.593µs grafana | logger=migrator t=2023-11-14T16:24:58.424429064Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2023-11-14T16:24:58.425578673Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.148688ms grafana | logger=migrator t=2023-11-14T16:24:58.432215097Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2023-11-14T16:24:58.433470669Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.254322ms grafana | logger=migrator t=2023-11-14T16:24:58.439750097Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2023-11-14T16:24:58.440875866Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.123319ms grafana | logger=migrator t=2023-11-14T16:24:58.448913894Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2023-11-14T16:24:58.449331971Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=418.267µs grafana | logger=migrator t=2023-11-14T16:24:58.457555933Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2023-11-14T16:24:58.458325447Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=769.184µs grafana | logger=migrator t=2023-11-14T16:24:58.466988916Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2023-11-14T16:24:58.467537825Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=549.329µs grafana | logger=migrator t=2023-11-14T16:24:58.476182274Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2023-11-14T16:24:58.47711482Z level=info msg="Migration successfully executed" id="create star table" duration=932.676µs grafana | logger=migrator t=2023-11-14T16:24:58.485231Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.3:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.5:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v3.1.4) policy-api | policy-api | [2023-11-14T16:25:17.254+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 27 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2023-11-14T16:25:17.256+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2023-11-14T16:25:18.908+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2023-11-14T16:25:18.991+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 74 ms. Found 6 JPA repository interfaces. policy-api | [2023-11-14T16:25:19.387+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler policy-api | [2023-11-14T16:25:19.388+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler policy-api | [2023-11-14T16:25:20.033+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2023-11-14T16:25:20.045+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2023-11-14T16:25:20.046+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2023-11-14T16:25:20.046+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] policy-api | [2023-11-14T16:25:20.136+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2023-11-14T16:25:20.136+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2815 ms policy-api | [2023-11-14T16:25:20.529+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2023-11-14T16:25:20.601+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-api | [2023-11-14T16:25:20.604+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-api | [2023-11-14T16:25:20.650+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-api | [2023-11-14T16:25:20.992+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-api | [2023-11-14T16:25:21.021+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2023-11-14T16:25:21.114+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@3d37203b policy-api | [2023-11-14T16:25:21.116+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2023-11-14T16:25:21.143+00:00|WARN|deprecation|main] HHH90000025: MariaDB103Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) policy-api | [2023-11-14T16:25:21.144+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead policy-api | [2023-11-14T16:25:22.881+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-api | [2023-11-14T16:25:22.885+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2023-11-14T16:25:24.149+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2023-11-14T16:25:24.846+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2023-11-14T16:25:25.847+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2023-11-14T16:25:26.020+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@63f95ac1, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@14a7e16e, org.springframework.security.web.context.SecurityContextHolderFilter@6e04275e, org.springframework.security.web.header.HeaderWriterFilter@2986e26f, org.springframework.security.web.authentication.logout.LogoutFilter@c9f1951, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@13e6b26c, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@453ef145, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@3edd135d, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@59171a5d, org.springframework.security.web.access.ExceptionTranslationFilter@19a7e618, org.springframework.security.web.access.intercept.AuthorizationFilter@d181ca3] policy-api | [2023-11-14T16:25:26.892+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2023-11-14T16:25:26.957+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2023-11-14T16:25:26.974+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2023-11-14T16:25:26.992+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.458 seconds (process running for 11.048) policy-api | [2023-11-14T16:25:32.422+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2023-11-14T16:25:32.423+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2023-11-14T16:25:32.425+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 2 ms policy-api | [2023-11-14T16:25:34.938+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2023-11-14T16:25:35.063+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes policy-api | [2023-11-14T16:25:35.299+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2023-11-14T16:25:36.639+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-api | [2023-11-14T16:25:38.763+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2023-11-14T16:25:39.063+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2023-11-14T16:25:39.282+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2023-11-14T16:25:39.515+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2023-11-14T16:25:39.787+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2023-11-14T16:25:40.013+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 mariadb | 2023-11-14 16:24:59 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2023-11-14 16:24:59 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2023-11-14 16:24:59 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2023-11-14 16:24:59 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2023-11-14 16:24:59 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2023-11-14 16:24:59 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2023-11-14 16:24:59 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2023-11-14 16:24:59 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2023-11-14 16:24:59 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2023-11-14 16:24:59 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2023-11-14 16:24:59 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2023-11-14 16:24:59 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-11-14 16:24:59 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2023-11-14 16:24:59 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 | 2023-11-14 16:25:00+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2023-11-14 16:25:02+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2023-11-14 16:25:02+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2023-11-14 16:25:02+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2023-11-14 16:25:02+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' grafana | logger=migrator t=2023-11-14T16:24:58.487185743Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.952653ms mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' grafana | logger=migrator t=2023-11-14T16:24:58.496091367Z level=info msg="Executing migration" id="create org table v1" prometheus | ts=2023-11-14T16:24:54.226Z caller=main.go:539 level=info msg="No time or size retention was set so using the default time retention" duration=15d policy-db-migrator | Waiting for mariadb port 3306... mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp grafana | logger=migrator t=2023-11-14T16:24:58.497228686Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.1368ms prometheus | ts=2023-11-14T16:24:54.226Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.47.2, branch=HEAD, revision=3f3172cde1ee37f1c7b3a5f3d9b031190509b3ad)" policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' grafana | logger=migrator t=2023-11-14T16:24:58.503587165Z level=info msg="Executing migration" id="create index UQE_org_name - v1" prometheus | ts=2023-11-14T16:24:54.226Z caller=main.go:588 level=info build_context="(go=go1.21.3, platform=linux/amd64, user=root@79f2ad339b75, date=20231012-16:07:10, tags=netgo,builtinassets,stringlabels)" policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' prometheus | ts=2023-11-14T16:24:54.226Z caller=main.go:589 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" grafana | logger=migrator t=2023-11-14T16:24:58.505138812Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.550567ms policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp prometheus | ts=2023-11-14T16:24:54.226Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" grafana | logger=migrator t=2023-11-14T16:24:58.51198021Z level=info msg="Executing migration" id="create org_user table v1" policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' prometheus | ts=2023-11-14T16:24:54.226Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" grafana | logger=migrator t=2023-11-14T16:24:58.512918516Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=937.846µs policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' prometheus | ts=2023-11-14T16:24:54.227Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 grafana | logger=migrator t=2023-11-14T16:24:58.518508442Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp prometheus | ts=2023-11-14T16:24:54.228Z caller=main.go:1024 level=info msg="Starting TSDB ..." grafana | logger=migrator t=2023-11-14T16:24:58.519672122Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.1643ms policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' prometheus | ts=2023-11-14T16:24:54.230Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 grafana | logger=migrator t=2023-11-14T16:24:58.524306612Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' prometheus | ts=2023-11-14T16:24:54.230Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 grafana | logger=migrator t=2023-11-14T16:24:58.525532293Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.225171ms policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp prometheus | ts=2023-11-14T16:24:54.234Z caller=head.go:600 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" grafana | logger=migrator t=2023-11-14T16:24:58.531883662Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' prometheus | ts=2023-11-14T16:24:54.234Z caller=head.go:681 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=1.91µs grafana | logger=migrator t=2023-11-14T16:24:58.533421108Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.536866ms policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' prometheus | ts=2023-11-14T16:24:54.234Z caller=head.go:689 level=info component=tsdb msg="Replaying WAL, this may take a while" grafana | logger=migrator t=2023-11-14T16:24:58.541507257Z level=info msg="Executing migration" id="Update org table charset" policy-db-migrator | Connection to mariadb (172.17.0.3) 3306 port [tcp/mysql] succeeded! mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp prometheus | ts=2023-11-14T16:24:54.235Z caller=head.go:760 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 grafana | logger=migrator t=2023-11-14T16:24:58.541561078Z level=info msg="Migration successfully executed" id="Update org table charset" duration=57.611µs policy-db-migrator | 321 blocks mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' prometheus | ts=2023-11-14T16:24:54.235Z caller=head.go:797 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=142.213µs wal_replay_duration=371.227µs wbl_replay_duration=180ns total_replay_duration=540.77µs grafana | logger=migrator t=2023-11-14T16:24:58.545495626Z level=info msg="Executing migration" id="Update org_user table charset" policy-db-migrator | Preparing upgrade release version: 0800 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' prometheus | ts=2023-11-14T16:24:54.237Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC grafana | logger=migrator t=2023-11-14T16:24:58.545535787Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=41.421µs policy-db-migrator | Preparing upgrade release version: 0900 mariadb | prometheus | ts=2023-11-14T16:24:54.237Z caller=main.go:1048 level=info msg="TSDB started" grafana | logger=migrator t=2023-11-14T16:24:58.551884647Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" policy-db-migrator | Preparing upgrade release version: 1000 prometheus | ts=2023-11-14T16:24:54.237Z caller=main.go:1229 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml grafana | logger=migrator t=2023-11-14T16:24:58.552208032Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=322.935µs mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" policy-db-migrator | Preparing upgrade release version: 1100 grafana | logger=migrator t=2023-11-14T16:24:58.559342355Z level=info msg="Executing migration" id="create dashboard table" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' policy-db-migrator | Preparing upgrade release version: 1200 prometheus | ts=2023-11-14T16:24:54.238Z caller=main.go:1266 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.190762ms db_storage=1.671µs remote_storage=2.14µs web_handler=740ns query_engine=1.19µs scrape=235.174µs scrape_sd=347.175µs notify=40.531µs notify_sd=14.12µs rules=1.74µs tracing=5.711µs grafana | logger=migrator t=2023-11-14T16:24:58.560428094Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.086639ms mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql policy-db-migrator | Preparing upgrade release version: 1300 prometheus | ts=2023-11-14T16:24:54.238Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." grafana | logger=migrator t=2023-11-14T16:24:58.568106975Z level=info msg="Executing migration" id="add index dashboard.account_id" mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp prometheus | ts=2023-11-14T16:24:54.238Z caller=manager.go:1009 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2023-11-14T16:24:58.569689512Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.587457ms policy-db-migrator | Done mariadb | grafana | logger=migrator t=2023-11-14T16:24:58.573552449Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" policy-db-migrator | name version mariadb | 2023-11-14 16:25:06+00:00 [Note] [Entrypoint]: Stopping temporary server grafana | logger=migrator t=2023-11-14T16:24:58.574785Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.233081ms policy-db-migrator | policyadmin 0 mariadb | 2023-11-14 16:25:06 0 [Note] mariadbd (initiated by: unknown): Normal shutdown grafana | logger=migrator t=2023-11-14T16:24:58.57944813Z level=info msg="Executing migration" id="create dashboard_tag table" policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 mariadb | 2023-11-14 16:25:06 0 [Note] InnoDB: FTS optimize thread exiting. grafana | logger=migrator t=2023-11-14T16:24:58.580134973Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=686.993µs policy-db-migrator | upgrade: 0 -> 1300 mariadb | 2023-11-14 16:25:06 0 [Note] InnoDB: Starting shutdown... grafana | logger=migrator t=2023-11-14T16:24:58.585174579Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" policy-db-migrator | mariadb | 2023-11-14 16:25:06 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool grafana | logger=migrator t=2023-11-14T16:24:58.586015914Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=841.364µs policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql mariadb | 2023-11-14 16:25:06 0 [Note] InnoDB: Buffer pool(s) dump completed at 231114 16:25:06 grafana | logger=migrator t=2023-11-14T16:24:58.591343416Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" policy-db-migrator | -------------- mariadb | 2023-11-14 16:25:06 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" grafana | logger=migrator t=2023-11-14T16:24:58.592725959Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.382583ms 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 | 2023-11-14 16:25:06 0 [Note] InnoDB: Shutdown completed; log sequence number 340696; transaction id 298 grafana | logger=migrator t=2023-11-14T16:24:58.598373116Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" policy-db-migrator | -------------- mariadb | 2023-11-14 16:25:06 0 [Note] mariadbd: Shutdown complete grafana | logger=migrator t=2023-11-14T16:24:58.605793794Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=7.419968ms policy-db-migrator | mariadb | grafana | logger=migrator t=2023-11-14T16:24:58.609985806Z level=info msg="Executing migration" id="create dashboard v2" policy-db-migrator | mariadb | 2023-11-14 16:25:06+00:00 [Note] [Entrypoint]: Temporary server stopped grafana | logger=migrator t=2023-11-14T16:24:58.610499254Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=513.428µs policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql mariadb | grafana | logger=migrator t=2023-11-14T16:24:58.616087051Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" policy-db-migrator | -------------- mariadb | 2023-11-14 16:25:06+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. grafana | logger=migrator t=2023-11-14T16:24:58.617235291Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.149469ms 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 | grafana | logger=migrator t=2023-11-14T16:24:58.623516939Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" policy-db-migrator | -------------- mariadb | 2023-11-14 16:25:06 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... grafana | logger=migrator t=2023-11-14T16:24:58.624697069Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.17965ms policy-db-migrator | mariadb | 2023-11-14 16:25:06 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 grafana | logger=migrator t=2023-11-14T16:24:58.630933216Z level=info msg="Executing migration" id="copy dashboard v1 to v2" mariadb | 2023-11-14 16:25:06 0 [Note] InnoDB: Number of transaction pools: 1 grafana | logger=migrator t=2023-11-14T16:24:58.631432895Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=500.058µs policy-db-migrator | mariadb | 2023-11-14 16:25:06 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions grafana | logger=migrator t=2023-11-14T16:24:58.66312271Z level=info msg="Executing migration" id="drop table dashboard_v1" policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql mariadb | 2023-11-14 16:25:06 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) grafana | logger=migrator t=2023-11-14T16:24:58.664360872Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.246262ms policy-db-migrator | -------------- mariadb | 2023-11-14 16:25:06 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) grafana | logger=migrator t=2023-11-14T16:24:58.668138287Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" 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 | 2023-11-14 16:25:06 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF grafana | logger=migrator t=2023-11-14T16:24:58.668261959Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=127.142µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:58.673874566Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" mariadb | 2023-11-14 16:25:06 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:58.675832799Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.956853ms mariadb | 2023-11-14 16:25:06 0 [Note] InnoDB: Completed initialization of buffer pool policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:58.683009412Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" mariadb | 2023-11-14 16:25:06 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql grafana | logger=migrator t=2023-11-14T16:24:58.684858635Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.848663ms mariadb | 2023-11-14 16:25:06 0 [Note] InnoDB: 128 rollback segments are active. policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:58.689394692Z level=info msg="Executing migration" id="Add column gnetId in dashboard" mariadb | 2023-11-14 16:25:06 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) grafana | logger=migrator t=2023-11-14T16:24:58.691296435Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.898193ms mariadb | 2023-11-14 16:25:06 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:58.697739326Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" mariadb | 2023-11-14 16:25:06 0 [Note] InnoDB: log sequence number 340696; transaction id 299 policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:58.699508306Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.77395ms mariadb | 2023-11-14 16:25:06 0 [Note] Plugin 'FEEDBACK' is disabled. policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:58.708330428Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" mariadb | 2023-11-14 16:25:06 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql grafana | logger=migrator t=2023-11-14T16:24:58.710372683Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.040075ms mariadb | 2023-11-14 16:25:06 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:58.716332576Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" mariadb | 2023-11-14 16:25:06 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_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 | 2023-11-14 16:25:06 0 [Note] Server socket created on IP: '0.0.0.0'. grafana | logger=migrator t=2023-11-14T16:24:58.717874872Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.542086ms policy-db-migrator | -------------- mariadb | 2023-11-14 16:25:06 0 [Note] Server socket created on IP: '::'. grafana | logger=migrator t=2023-11-14T16:24:58.726424759Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" policy-db-migrator | mariadb | 2023-11-14 16:25:06 0 [Note] mariadbd: ready for connections. grafana | logger=migrator t=2023-11-14T16:24:58.728009026Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.583797ms 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 grafana | logger=migrator t=2023-11-14T16:24:58.755062603Z level=info msg="Executing migration" id="Update dashboard table charset" policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql mariadb | 2023-11-14 16:25:06 0 [Note] InnoDB: Buffer pool(s) load completed at 231114 16:25:06 grafana | logger=migrator t=2023-11-14T16:24:58.755267306Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=203.733µs policy-db-migrator | -------------- mariadb | 2023-11-14 16:25:06 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) grafana | logger=migrator t=2023-11-14T16:24:58.759717662Z level=info msg="Executing migration" id="Update dashboard_tag table charset" 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 | 2023-11-14 16:25:07 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) grafana | logger=migrator t=2023-11-14T16:24:58.759757893Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=41.951µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:58.765236777Z level=info msg="Executing migration" id="Add column folder_id in dashboard" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:58.768898691Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.661264ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:58.77821929Z level=info msg="Executing migration" id="Add column isFolder in dashboard" policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql grafana | logger=migrator t=2023-11-14T16:24:58.781197021Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.975951ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:58.786194198Z level=info msg="Executing migration" id="Add column has_acl in dashboard" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-14T16:24:58.788547219Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.353891ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:58.794095534Z level=info msg="Executing migration" id="Add column uid in dashboard" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:58.795700292Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.604157ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:58.804876069Z level=info msg="Executing migration" id="Update uid column values in dashboard" policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql grafana | logger=migrator t=2023-11-14T16:24:58.805409369Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=533.41µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:58.829738917Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) grafana | logger=migrator t=2023-11-14T16:24:58.831472777Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.736499ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:58.85081273Z level=info msg="Executing migration" id="Remove unique index org_id_slug" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:58.852207893Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.403524ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:58.857487985Z level=info msg="Executing migration" id="Update dashboard title length" policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql grafana | logger=migrator t=2023-11-14T16:24:58.857537135Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=50.94µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:58.870055471Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-14T16:24:58.871586937Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.534576ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:58.881404586Z level=info msg="Executing migration" id="create dashboard_provisioning" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:58.88220133Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=796.794µs policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:58.890842768Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql grafana | logger=migrator t=2023-11-14T16:24:58.897712387Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=6.866329ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:58.90489955Z level=info msg="Executing migration" id="create dashboard_provisioning v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-14T16:24:58.9054976Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=597.99µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:58.916942307Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:58.91824181Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.289872ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:58.923234626Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql grafana | logger=migrator t=2023-11-14T16:24:58.924581399Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.346023ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:58.929551464Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-14T16:24:58.929911911Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=361.577µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:58.94261628Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:58.943633956Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=1.016996ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:58.951015224Z level=info msg="Executing migration" id="Add check_sum column" policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql grafana | logger=migrator t=2023-11-14T16:24:58.9542844Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.268196ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:58.967496187Z level=info msg="Executing migration" id="Add index for dashboard_title" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-14T16:24:58.96882935Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=1.332593ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:58.980253317Z level=info msg="Executing migration" id="delete tags for deleted dashboards" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:58.980544882Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=295.455µs policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:58.989191331Z level=info msg="Executing migration" id="delete stars for deleted dashboards" policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql grafana | logger=migrator t=2023-11-14T16:24:58.989368224Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=175.193µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:58.996019438Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-14T16:24:58.997242809Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.224301ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.01037301Z level=info msg="Executing migration" id="Add isPublic for dashboard" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.015992649Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=5.615639ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.023983591Z level=info msg="Executing migration" id="create data_source table" policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql grafana | logger=migrator t=2023-11-14T16:24:59.02506533Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.08127ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.032977189Z level=info msg="Executing migration" id="add index data_source.account_id" 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=2023-11-14T16:24:59.034289622Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.314483ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.04546561Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.046452808Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=986.848µs policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.054962119Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2023-11-14T16:24:59.05612781Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.166301ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.063133974Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-14T16:24:59.063811416Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=677.172µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.071077894Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.082995636Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=11.914512ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.088670837Z level=info msg="Executing migration" id="create data_source table v2" policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql grafana | logger=migrator t=2023-11-14T16:24:59.089521822Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=851.636µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.095182033Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-14T16:24:59.096412614Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.229812ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.104438816Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.105845431Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.404235ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.115133146Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql grafana | logger=migrator t=2023-11-14T16:24:59.116201555Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=1.068209ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.122997786Z level=info msg="Executing migration" id="Add column with_credentials" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-14T16:24:59.125623002Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.624456ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.137217908Z level=info msg="Executing migration" id="Add secure json data column" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.14127202Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=4.054432ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.147244916Z level=info msg="Executing migration" id="Update data_source table charset" policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql grafana | logger=migrator t=2023-11-14T16:24:59.147274366Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=30.36µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.153985475Z level=info msg="Executing migration" id="Update initial version to 1" 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=2023-11-14T16:24:59.15426387Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=278.325µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.159402812Z level=info msg="Executing migration" id="Add read_only data column" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.163089056Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.685854ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.167521955Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql grafana | logger=migrator t=2023-11-14T16:24:59.167717448Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=196.213µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.183777913Z level=info msg="Executing migration" id="Update json_data with nulls" 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=2023-11-14T16:24:59.184268112Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=491.479µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.191234356Z level=info msg="Executing migration" id="Add uid column" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.19372772Z level=info msg="Migration successfully executed" id="Add uid column" duration=2.494105ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.199655215Z level=info msg="Executing migration" id="Update uid value" policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql grafana | logger=migrator t=2023-11-14T16:24:59.199843108Z level=info msg="Migration successfully executed" id="Update uid value" duration=188.923µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.204179815Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" 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=2023-11-14T16:24:59.205052101Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=871.936µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.212575624Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.213810666Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.232772ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.219029868Z level=info msg="Executing migration" id="create api_key table" policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql grafana | logger=migrator t=2023-11-14T16:24:59.220157979Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.128121ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.224539486Z level=info msg="Executing migration" id="add index api_key.account_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2023-11-14T16:24:59.225729848Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.190102ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.232858814Z level=info msg="Executing migration" id="add index api_key.key" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.233950004Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.09518ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.23937056Z level=info msg="Executing migration" id="add index api_key.account_id_name" policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql grafana | logger=migrator t=2023-11-14T16:24:59.241309034Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.938004ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.248165656Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-14T16:24:59.249461909Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.300604ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.254569539Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.255525116Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=961.677µs policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.258929727Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2023-11-14T16:24:59.25972443Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=795.253µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.265132826Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.271644572Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=6.512016ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.30653758Z level=info msg="Executing migration" id="create api_key table v2" policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2023-11-14T16:24:59.307612529Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=1.074429ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.314017293Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2023-11-14T16:24:59.315343227Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=1.325094ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.320429777Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.321623128Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.192891ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.326553056Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2023-11-14T16:24:59.32739195Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=838.324µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.332063334Z level=info msg="Executing migration" id="copy api_key v1 to v2" 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=2023-11-14T16:24:59.332599983Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=536.659µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.337391818Z level=info msg="Executing migration" id="Drop old table api_key_v1" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.338246743Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=854.965µs policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.344710688Z level=info msg="Executing migration" id="Update api_key table charset" policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql grafana | logger=migrator t=2023-11-14T16:24:59.344740488Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=30.55µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.349133996Z level=info msg="Executing migration" id="Add expires to api_key table" 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=2023-11-14T16:24:59.353104077Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=3.969731ms grafana | logger=migrator t=2023-11-14T16:24:59.370485875Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2023-11-14T16:24:59.375560065Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=5.078551ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.389210487Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.389540023Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=317.266µs policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.405382724Z level=info msg="Executing migration" id="Add last_used_at to api_key table" policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql grafana | logger=migrator t=2023-11-14T16:24:59.40796638Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.581386ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.414351293Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" 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=2023-11-14T16:24:59.416986899Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.634296ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.426912796Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.427596028Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=683.262µs policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.440336223Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql grafana | logger=migrator t=2023-11-14T16:24:59.441187579Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=849.766µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.450559305Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" 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=2023-11-14T16:24:59.451792117Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.235602ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.460008892Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.460770876Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=761.884µs policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.467149069Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql grafana | logger=migrator t=2023-11-14T16:24:59.468495063Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.345304ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.473715456Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" 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=2023-11-14T16:24:59.474596302Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=880.595µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.479470618Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.47958422Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=115.011µs policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.485396383Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql grafana | logger=migrator t=2023-11-14T16:24:59.485438573Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=43.81µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.490022165Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" 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=2023-11-14T16:24:59.492750134Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=2.727849ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.498109268Z level=info msg="Executing migration" id="Add encrypted dashboard json column" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.500970529Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.861671ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.505144773Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql grafana | logger=migrator t=2023-11-14T16:24:59.505227835Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=78.202µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.510334075Z level=info msg="Executing migration" id="create quota table v1" 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=2023-11-14T16:24:59.511060059Z level=info msg="Migration successfully executed" id="create quota table v1" duration=725.834µs policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.513647564Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql grafana | logger=migrator t=2023-11-14T16:24:59.514480948Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=833.034µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.51848311Z level=info msg="Executing migration" id="Update quota table charset" 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=2023-11-14T16:24:59.51852683Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=45.56µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.547071676Z level=info msg="Executing migration" id="create plugin_setting table" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.54783837Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=770.854µs policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.553819886Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql grafana | logger=migrator t=2023-11-14T16:24:59.554668702Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=848.626µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.565607036Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" 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=2023-11-14T16:24:59.570296389Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.696452ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.57488112Z level=info msg="Executing migration" id="Update plugin_setting table charset" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.574936111Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=57.041µs policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.579691336Z level=info msg="Executing migration" id="create session table" policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql grafana | logger=migrator t=2023-11-14T16:24:59.580443368Z level=info msg="Migration successfully executed" id="create session table" duration=752.022µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.584073453Z level=info msg="Executing migration" id="Drop old table playlist table" 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=2023-11-14T16:24:59.584219206Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=143.513µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.588343579Z level=info msg="Executing migration" id="Drop old table playlist_item table" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.588474291Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=131.422µs policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.598512109Z level=info msg="Executing migration" id="create playlist table v2" policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2023-11-14T16:24:59.599617279Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.10513ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.606161785Z level=info msg="Executing migration" id="create playlist item table v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2023-11-14T16:24:59.607510569Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.350254ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.612128691Z level=info msg="Executing migration" id="Update playlist table charset" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.612157691Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=27.87µs policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.6160354Z level=info msg="Executing migration" id="Update playlist_item table charset" policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2023-11-14T16:24:59.616062781Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=28.011µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.621941195Z level=info msg="Executing migration" id="Add playlist column created_at" 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=2023-11-14T16:24:59.626689138Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.747993ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.632815048Z level=info msg="Executing migration" id="Add playlist column updated_at" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.635929733Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.114285ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.641864888Z level=info msg="Executing migration" id="drop preferences table v2" policy-db-migrator | > upgrade 0460-pdppolicystatus.sql grafana | logger=migrator t=2023-11-14T16:24:59.641947039Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=84.091µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.648905883Z level=info msg="Executing migration" id="drop preferences table v3" 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=2023-11-14T16:24:59.649037235Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=132.142µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.660235744Z level=info msg="Executing migration" id="create preferences table v3" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.661312623Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.076959ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.670447715Z level=info msg="Executing migration" id="Update preferences table charset" policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2023-11-14T16:24:59.670490506Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=44.341µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.693588115Z level=info msg="Executing migration" id="Add column team_id in preferences" 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=2023-11-14T16:24:59.698692246Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=5.103551ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.703621543Z level=info msg="Executing migration" id="Update team_id column values in preferences" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.703817036Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=194.963µs policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.707248808Z level=info msg="Executing migration" id="Add column week_start in preferences" policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2023-11-14T16:24:59.710323862Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.069684ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.713514559Z level=info msg="Executing migration" id="Add column preferences.json_data" 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=2023-11-14T16:24:59.716671205Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.156257ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.721048053Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.721113074Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=65.831µs policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.724505933Z level=info msg="Executing migration" id="Add preferences index org_id" policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2023-11-14T16:24:59.72540911Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=902.907µs grafana | logger=migrator t=2023-11-14T16:24:59.729147076Z level=info msg="Executing migration" id="Add preferences index user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.730446079Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.295854ms 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=2023-11-14T16:24:59.735148303Z level=info msg="Executing migration" id="create alert table v1" policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.736619519Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.470416ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.740246843Z level=info msg="Executing migration" id="add index alert org_id & id " policy-db-migrator | > upgrade 0500-pdpsubgroup.sql grafana | logger=migrator t=2023-11-14T16:24:59.741133599Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=885.045µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.745206561Z level=info msg="Executing migration" id="add index alert state" 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=2023-11-14T16:24:59.746009685Z level=info msg="Migration successfully executed" id="add index alert state" duration=803.213µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.750411234Z level=info msg="Executing migration" id="add index alert dashboard_id" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.751295619Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=883.925µs policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.755380031Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql grafana | logger=migrator t=2023-11-14T16:24:59.756241367Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=860.736µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.7609499Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) grafana | logger=migrator t=2023-11-14T16:24:59.762420276Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.469826ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.771367575Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.772684609Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.317564ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.77678124Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql grafana | logger=migrator t=2023-11-14T16:24:59.78968852Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=12.90934ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.793320624Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" 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=2023-11-14T16:24:59.794086708Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=765.744µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.798467725Z 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=2023-11-14T16:24:59.799674517Z 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.205562ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.803487945Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql grafana | logger=migrator t=2023-11-14T16:24:59.804025514Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=537.199µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.807938734Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" 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=2023-11-14T16:24:59.808591985Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=652.881µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.814445329Z level=info msg="Executing migration" id="create alert_notification table v1" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.815282004Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=836.295µs policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.819179123Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2023-11-14T16:24:59.824704401Z level=info msg="Migration successfully executed" id="Add column is_default" duration=5.522728ms grafana | logger=migrator t=2023-11-14T16:24:59.828947526Z level=info msg="Executing migration" id="Add column frequency" policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql grafana | logger=migrator t=2023-11-14T16:24:59.832751113Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.803067ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.838179789Z level=info msg="Executing migration" id="Add column send_reminder" 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=2023-11-14T16:24:59.841978917Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.798838ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.845920277Z level=info msg="Executing migration" id="Add column disable_resolve_message" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.849683634Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.764537ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.853860088Z level=info msg="Executing migration" id="add index alert_notification org_id & name" policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql grafana | logger=migrator t=2023-11-14T16:24:59.855007878Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.14106ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.859792113Z level=info msg="Executing migration" id="Update alert table charset" 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=2023-11-14T16:24:59.859869285Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=78.532µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.863971337Z level=info msg="Executing migration" id="Update alert_notification table charset" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.864075449Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=103.712µs policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.867700903Z level=info msg="Executing migration" id="create notification_journal table v1" policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql grafana | logger=migrator t=2023-11-14T16:24:59.868915795Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.218422ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.874213899Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" 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=2023-11-14T16:24:59.875327929Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.11408ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.898681543Z level=info msg="Executing migration" id="drop alert_notification_journal" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.900002916Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=1.331663ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.904089828Z level=info msg="Executing migration" id="create alert_notification_state table v1" policy-db-migrator | > upgrade 0570-toscadatatype.sql grafana | logger=migrator t=2023-11-14T16:24:59.905221599Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.131831ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.90983352Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" 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=2023-11-14T16:24:59.911252005Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.421405ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.914746808Z level=info msg="Executing migration" id="Add for to alert table" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.92105785Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=6.311872ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.925355106Z level=info msg="Executing migration" id="Add column uid in alert_notification" policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.929241684Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.887578ms 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=2023-11-14T16:24:59.932865359Z level=info msg="Executing migration" id="Update uid column values in alert_notification" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.933051492Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=186.463µs policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.937718605Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.938588681Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=869.766µs policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql grafana | logger=migrator t=2023-11-14T16:24:59.943929746Z level=info msg="Executing migration" id="Remove unique index org_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.94474678Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=814.203µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-11-14T16:24:59.948875713Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.952741841Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.865798ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.957277422Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.957346433Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=68.771µs policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=migrator t=2023-11-14T16:24:59.96110834Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.962084538Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=969.167µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) grafana | logger=migrator t=2023-11-14T16:24:59.966572867Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.968123454Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.551417ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.97183155Z level=info msg="Executing migration" id="Drop old annotation table v4" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.971932832Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=102.532µs policy-db-migrator | > upgrade 0610-toscanodetemplates.sql grafana | logger=migrator t=2023-11-14T16:24:59.975188059Z level=info msg="Executing migration" id="create annotation table v5" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.976123156Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=935.237µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) grafana | logger=migrator t=2023-11-14T16:24:59.980633786Z level=info msg="Executing migration" id="add index annotation 0 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.982024811Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.390925ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.985732367Z level=info msg="Executing migration" id="add index annotation 1 v3" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:24:59.987043171Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.310263ms policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql grafana | logger=migrator t=2023-11-14T16:24:59.991105272Z level=info msg="Executing migration" id="add index annotation 2 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.991944837Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=839.175µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-11-14T16:24:59.99663899Z level=info msg="Executing migration" id="add index annotation 3 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:24:59.998172398Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.532218ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.001771601Z level=info msg="Executing migration" id="add index annotation 4 v3" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.003232297Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.460156ms policy-db-migrator | > upgrade 0630-toscanodetype.sql grafana | logger=migrator t=2023-11-14T16:25:00.00790775Z level=info msg="Executing migration" id="Update annotation table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.007930711Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=28.361µs 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=2023-11-14T16:25:00.011013805Z level=info msg="Executing migration" id="Add column region_id to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.016628285Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=5.61226ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.020987612Z level=info msg="Executing migration" id="Drop category_id index" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.021782425Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=794.613µs policy-db-migrator | > upgrade 0640-toscanodetypes.sql grafana | logger=migrator t=2023-11-14T16:25:00.025125095Z level=info msg="Executing migration" id="Add column tags to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.028980734Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=3.855589ms 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=2023-11-14T16:25:00.03387824Z level=info msg="Executing migration" id="Create annotation_tag table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.034495372Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=616.982µs policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.038523082Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.039378458Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=854.996µs policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2023-11-14T16:25:00.044340026Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.04516923Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=832.794µs grafana | logger=migrator t=2023-11-14T16:25:00.055957862Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" 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=2023-11-14T16:25:00.072468654Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=16.511782ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.0790338Z level=info msg="Executing migration" id="Create annotation_tag table v3" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.07952139Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=485.41µs policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.093757252Z 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 | > upgrade 0660-toscaparameter.sql grafana | logger=migrator t=2023-11-14T16:25:00.095265528Z level=info msg="Migration successfully executed" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" duration=1.506617ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.099408182Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" 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=2023-11-14T16:25:00.099860699Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=449.167µs policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.104751087Z level=info msg="Executing migration" id="drop table annotation_tag_v2" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.105613532Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=870.724µs policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2023-11-14T16:25:00.109766415Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.11006749Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=301.205µ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=2023-11-14T16:25:00.114414818Z level=info msg="Executing migration" id="Add created time to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.118586102Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.170654ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.122310907Z level=info msg="Executing migration" id="Add updated time to annotation table" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.12641468Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.103373ms policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2023-11-14T16:25:00.130097216Z level=info msg="Executing migration" id="Add index for created in annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.130961411Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=865.845µ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=2023-11-14T16:25:00.135894208Z level=info msg="Executing migration" id="Add index for updated in annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.137015378Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.11956ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.14103672Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.141407206Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=372.756µs policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2023-11-14T16:25:00.145544619Z level=info msg="Executing migration" id="Add epoch_end column" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.150805393Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=5.262254ms 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=2023-11-14T16:25:00.157534731Z level=info msg="Executing migration" id="Add index for epoch_end" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.15854934Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.014058ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.161989921Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.162283926Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=293.535µs policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2023-11-14T16:25:00.165715727Z level=info msg="Executing migration" id="Move region to single row" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.166243637Z level=info msg="Migration successfully executed" id="Move region to single row" duration=527.77µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) grafana | logger=migrator t=2023-11-14T16:25:00.171281345Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.172337514Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.045699ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.176765683Z 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=2023-11-14T16:25:00.17774918Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=983.737µs policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2023-11-14T16:25:00.181733041Z 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=2023-11-14T16:25:00.183549283Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.816122ms 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=2023-11-14T16:25:00.188782596Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.189795953Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.013127ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.193445788Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.194498917Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.052829ms grafana | logger=migrator t=2023-11-14T16:25:00.197989758Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2023-11-14T16:25:00.199059768Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.06976ms policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2023-11-14T16:25:00.204352002Z level=info msg="Executing migration" id="Increase tags column to length 4096" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.204617946Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=270.204µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2023-11-14T16:25:00.208848821Z level=info msg="Executing migration" id="create test_data table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.210222045Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.373414ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.214721265Z level=info msg="Executing migration" id="create dashboard_version table v1" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.21555797Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=850.265µs policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2023-11-14T16:25:00.222692267Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.224532389Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.840753ms 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=2023-11-14T16:25:00.228343307Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.229464257Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.12251ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.233137341Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.233498258Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=360.297µs policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2023-11-14T16:25:00.238011278Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.238536307Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=534.299µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) grafana | logger=migrator t=2023-11-14T16:25:00.243249651Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.243478095Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=228.814µs policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2023-11-14T16:25:00.247077188Z level=info msg="Executing migration" id="create team table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.24830588Z level=info msg="Migration successfully executed" id="create team table" duration=1.228702ms 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=2023-11-14T16:25:00.252982734Z level=info msg="Executing migration" id="add index team.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.254594632Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.612338ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.259789583Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.261381483Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.59189ms policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2023-11-14T16:25:00.26519616Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.270036866Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.838476ms 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=2023-11-14T16:25:00.274276611Z level=info msg="Executing migration" id="Update uid column values in team" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.274560986Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=284.215µs policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.279175137Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.280312978Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.137281ms policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2023-11-14T16:25:00.284107965Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.285388628Z level=info msg="Migration successfully executed" id="create team member table" duration=1.279863ms 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=2023-11-14T16:25:00.289735955Z level=info msg="Executing migration" id="add index team_member.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.290893356Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.157801ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.295399235Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.296546116Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.147151ms policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2023-11-14T16:25:00.300119249Z level=info msg="Executing migration" id="add index team_member.team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.301255169Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.06256ms 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=2023-11-14T16:25:00.304664399Z level=info msg="Executing migration" id="Add column email to team table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.309592687Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.928268ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.313052438Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.317983746Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.931109ms policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2023-11-14T16:25:00.322757489Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.32784919Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=5.095661ms 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=2023-11-14T16:25:00.338276545Z level=info msg="Executing migration" id="create dashboard acl table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.339815843Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.539469ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.344844231Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.345923761Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.082379ms policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2023-11-14T16:25:00.349989943Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.351257345Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.267682ms 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=2023-11-14T16:25:00.355573672Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.356695812Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.12251ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.362850861Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.364674253Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.822393ms policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2023-11-14T16:25:00.368547652Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.370011978Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.464426ms 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=2023-11-14T16:25:00.374292683Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.375744079Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.448496ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.380347761Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.381259287Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=911.426µs policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2023-11-14T16:25:00.38479193Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.385719536Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=926.995µs 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=2023-11-14T16:25:00.391178462Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.391661832Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=483.42µs policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.396275563Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.397081137Z level=info msg="Migration successfully executed" id="create tag table" duration=806.004µs policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2023-11-14T16:25:00.40118628Z level=info msg="Executing migration" id="add index tag.key_value" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.402754798Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.568068ms policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2023-11-14T16:25:00.407631964Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.408642902Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.011738ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.412736225Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2023-11-14T16:25:00.413696511Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=960.256µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.417286706Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2023-11-14T16:25:00.418267853Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=981.337µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.422498708Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.441602356Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=19.098288ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.447178505Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2023-11-14T16:25:00.447849387Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=671.962µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.451597393Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2023-11-14T16:25:00.45253743Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=937.677µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.456001622Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.456342348Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=340.346µs policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.461954557Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2023-11-14T16:25:00.462977916Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=1.023818ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.466824883Z level=info msg="Executing migration" id="create user auth table" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2023-11-14T16:25:00.468022445Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.197061ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.471765121Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.473454781Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.69055ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.478102093Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2023-11-14T16:25:00.478245085Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=143.852µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.482177445Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2023-11-14T16:25:00.487232515Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.05494ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.491059623Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.496121212Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.060999ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.500845357Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2023-11-14T16:25:00.505985147Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.146481ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.509573921Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" grafana | logger=migrator t=2023-11-14T16:25:00.514926606Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.352865ms grafana | logger=migrator t=2023-11-14T16:25:00.518677062Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2023-11-14T16:25:00.519716761Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.040059ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.562823405Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.570631393Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=7.809098ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.57551645Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2023-11-14T16:25:00.57664178Z level=info msg="Migration successfully executed" id="create server_lock table" duration=1.12192ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.58337832Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2023-11-14T16:25:00.584369436Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=996.917µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.589673911Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.590990574Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.315464ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.59638616Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2023-11-14T16:25:00.597396678Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.010108ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.603369263Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2023-11-14T16:25:00.604904581Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.535388ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.609657354Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.61164707Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.989686ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.618725196Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2023-11-14T16:25:00.624534198Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.809252ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.628635841Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2023-11-14T16:25:00.629847933Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.211872ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.638896363Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.639786649Z level=info msg="Migration successfully executed" id="create cache_data table" duration=890.146µs policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.644834578Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2023-11-14T16:25:00.646009509Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.167651ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.649939309Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.650858265Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=918.347µs policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.656347913Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.657443541Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.095298ms policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2023-11-14T16:25:00.662337568Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.662567922Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=221.194µs policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2023-11-14T16:25:00.667947368Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.6680785Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=132.112µs policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.672861474Z level=info msg="Executing migration" id="recreate alert_definition table" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.674154407Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.292153ms policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2023-11-14T16:25:00.679731036Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.681247933Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.516577ms policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2023-11-14T16:25:00.685848915Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.687388752Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.539947ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.692005724Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.692074895Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=70.131µs policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2023-11-14T16:25:00.697116505Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.698650992Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.534697ms 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=2023-11-14T16:25:00.702572082Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.704018077Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.445035ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.70813145Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.709207609Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.076149ms policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2023-11-14T16:25:00.713828001Z 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=2023-11-14T16:25:00.71547189Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.643649ms 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=2023-11-14T16:25:00.720853886Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.73067592Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=9.823384ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.734361485Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.735151339Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=789.844µs policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2023-11-14T16:25:00.740070836Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.74026262Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=191.445µs policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-11-14T16:25:00.744742819Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.745946751Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.204212ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.750827126Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.752512036Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.68486ms policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2023-11-14T16:25:00.756744461Z 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=2023-11-14T16:25:00.757873902Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.12249ms 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=2023-11-14T16:25:00.761840592Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.762014415Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=173.543µs policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.766749869Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.767911549Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.16154ms policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2023-11-14T16:25:00.772075933Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.773477168Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.401415ms 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=2023-11-14T16:25:00.777651422Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.778407676Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=756.224µs policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.783826272Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.784574835Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=748.453µs policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2023-11-14T16:25:00.788912881Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.796570178Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=7.658596ms 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 policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.800374715Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.801509534Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.135099ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.806251159Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2023-11-14T16:25:00.807332928Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.082109ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.811743946Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" 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=2023-11-14T16:25:00.848498538Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=36.752862ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.853842023Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.888251132Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=34.409039ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.894097415Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2023-11-14T16:25:00.89490154Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=803.895µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.898800189Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" 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=2023-11-14T16:25:00.900364077Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.560208ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.905970896Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.912197366Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=6.23148ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.916679506Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2023-11-14T16:25:00.917519141Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=839.455µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.927759953Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2023-11-14T16:25:00.92927101Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.511037ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.935478839Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.937147399Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.66824ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.942044996Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2023-11-14T16:25:00.943064293Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.018967ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.947008473Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" 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=2023-11-14T16:25:00.947088945Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=81.092µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.952148235Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.960195908Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=8.048703ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.964006074Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2023-11-14T16:25:00.96989292Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=5.886226ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.973618175Z level=info msg="Executing migration" id="add column labels to alert_rule" 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=2023-11-14T16:25:00.979415377Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.796722ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:00.986209218Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.987109165Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=899.497µs policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:00.994538306Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2023-11-14T16:25:00.996186965Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.648319ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.000639345Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2023-11-14T16:25:01.008510023Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=7.871558ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.013747596Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.019696522Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=5.948106ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.02354296Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2023-11-14T16:25:01.024562988Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.019808ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.028458196Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2023-11-14T16:25:01.037379365Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=8.919649ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.042062578Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.047076237Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=5.015649ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.051653888Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2023-11-14T16:25:01.051727939Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=82.732µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.055471686Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2023-11-14T16:25:01.056573695Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.101749ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.061540053Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.063276913Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" duration=1.73274ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.068439525Z 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 | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2023-11-14T16:25:01.069655687Z 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.216332ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.073546116Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" 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=2023-11-14T16:25:01.073636837Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=89.801µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.076991176Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.084392637Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=7.399101ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.088816786Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2023-11-14T16:25:01.09353776Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=4.723214ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.0975332Z level=info msg="Executing migration" id="add column labels to alert_rule_version" 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=2023-11-14T16:25:01.104675557Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=7.141527ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.110097423Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.116715599Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.618136ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.161671776Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2023-11-14T16:25:01.168568788Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.898222ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.173097809Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.173405874Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=315.466µs policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.177757361Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2023-11-14T16:25:01.179208437Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.449806ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.184307337Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2023-11-14T16:25:01.193172784Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=8.850956ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.197144124Z 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=2023-11-14T16:25:01.197271276Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=127.762µs grafana | logger=migrator t=2023-11-14T16:25:01.202485319Z level=info msg="Executing migration" id="add column org_id in alert_configuration" grafana | logger=migrator t=2023-11-14T16:25:01.20933102Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.844631ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.215045592Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2023-11-14T16:25:01.216326204Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.281272ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.221641368Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2023-11-14T16:25:01.228417288Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.76888ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.23245794Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.233192953Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=735.163µs policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.2369862Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2023-11-14T16:25:01.238074429Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.0879ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.24265414Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2023-11-14T16:25:01.25057406Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=7.91993ms policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2023-11-14T16:25:01.254744364Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2023-11-14T16:25:01.255507418Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=758.194µs policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2023-11-14T16:25:01.259332265Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.260396974Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.064059ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.266182337Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.267011232Z level=info msg="Migration successfully executed" id="create alert_image table" duration=825.625µs policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2023-11-14T16:25:01.275766826Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.277965716Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=2.23021ms policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2023-11-14T16:25:01.282408374Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.282525086Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=116.762µs policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.287129578Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.288140696Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.012218ms policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql policy-db-migrator | -------------- 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=2023-11-14T16:25:01.293394139Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.294487558Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.093279ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.298254415Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.298734003Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2023-11-14T16:25:01.302061832Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.302607352Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=545.33µs policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2023-11-14T16:25:01.307665462Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.309690587Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=2.024165ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.313651247Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.322382522Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=8.731615ms policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2023-11-14T16:25:01.326260171Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.327267899Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.010048ms 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=2023-11-14T16:25:01.332454901Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.333694382Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.238791ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.338389066Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.339272591Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=885.405µs policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2023-11-14T16:25:01.342685672Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.344531414Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.845252ms policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2023-11-14T16:25:01.351159582Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.352293812Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.13378ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.355782774Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.355808244Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=25.97µs policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2023-11-14T16:25:01.360554569Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.360758172Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=202.914µs 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=2023-11-14T16:25:01.364364405Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.364925996Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=561.461µs policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.370133907Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.371608495Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.473927ms policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2023-11-14T16:25:01.375649015Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.377197983Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.539727ms 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=2023-11-14T16:25:01.381226974Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.426514367Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=45.285723ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.431891482Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.439045169Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=7.153217ms policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2023-11-14T16:25:01.442737083Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.442977927Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=235.204µs policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2023-11-14T16:25:01.447015069Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.494887858Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=47.874379ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.500270402Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.547856535Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=47.587983ms policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2023-11-14T16:25:01.551632942Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.552303444Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=671.092µs policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2023-11-14T16:25:01.555839156Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.556966707Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.127491ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.560421118Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.560769295Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=347.756µs policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2023-11-14T16:25:01.667132118Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.668779177Z level=info msg="Migration successfully executed" id="create permission table" duration=1.645269ms policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2023-11-14T16:25:01.676140857Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.677385869Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.245942ms policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2023-11-14T16:25:01.682949718Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.683955136Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.004298ms policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2023-11-14T16:25:01.688578928Z level=info msg="Executing migration" id="create role table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.689663547Z level=info msg="Migration successfully executed" id="create role table" duration=1.083919ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.694038585Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.702163349Z level=info msg="Migration successfully executed" id="add column display_name" duration=8.124914ms policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2023-11-14T16:25:01.70740683Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.717068862Z level=info msg="Migration successfully executed" id="add column group_name" duration=9.657132ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.721924198Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.722733422Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=814.384µs policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2023-11-14T16:25:01.726304416Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.727924134Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.623289ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.734241027Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.735452447Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.211701ms policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2023-11-14T16:25:01.740327564Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.741157828Z level=info msg="Migration successfully executed" id="create team role table" duration=829.804µs policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY grafana | logger=migrator t=2023-11-14T16:25:01.744806073Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.745874602Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.063039ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.750293191Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.752095692Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.802551ms policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2023-11-14T16:25:01.758288642Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.759371571Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.083489ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.764769566Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.765553431Z level=info msg="Migration successfully executed" id="create user role table" duration=781.085µs policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2023-11-14T16:25:01.784848373Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.786629254Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.771251ms policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2023-11-14T16:25:01.791732725Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.792857644Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.124829ms policy-db-migrator | policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.796872255Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=migrator t=2023-11-14T16:25:01.797986295Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.11114ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.803970551Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.804822036Z level=info msg="Migration successfully executed" id="create builtin role table" duration=845.395µs policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.833316411Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2023-11-14T16:25:01.835169934Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.853383ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.840659941Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=migrator t=2023-11-14T16:25:01.842415932Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.760521ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.846597407Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.854404014Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=7.805908ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.860119695Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=migrator t=2023-11-14T16:25:01.861376167Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.255982ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.866699032Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2023-11-14T16:25:01.868491273Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.791391ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.879953207Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.881963022Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=2.015105ms grafana | logger=migrator t=2023-11-14T16:25:01.888482648Z level=info msg="Executing migration" id="add unique index role.uid" grafana | logger=migrator t=2023-11-14T16:25:01.89027726Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.793492ms policy-db-migrator | msg grafana | logger=migrator t=2023-11-14T16:25:01.953461898Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2023-11-14T16:25:01.955180819Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.722361ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.960737297Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2023-11-14T16:25:01.961932128Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.194591ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.968837381Z level=info msg="Executing migration" id="add column hidden to role table" policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2023-11-14T16:25:01.980238622Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=11.403891ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.983551652Z level=info msg="Executing migration" id="permission kind migration" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:01.991603104Z level=info msg="Migration successfully executed" id="permission kind migration" duration=8.052202ms policy-db-migrator | policy-db-migrator | > upgrade 0110-idx_tsidx1.sql policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:01.995674496Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics grafana | logger=migrator t=2023-11-14T16:25:02.002738461Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=7.062835ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:02.010115022Z level=info msg="Executing migration" id="permission identifier migration" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:02.021734348Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=11.623346ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:02.027126043Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2023-11-14T16:25:02.028435256Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.309163ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:02.03375312Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:02.034827729Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.073829ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:02.041527548Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | > upgrade 0120-audit_sequence.sql grafana | logger=migrator t=2023-11-14T16:25:02.04276591Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.238282ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:02.048477391Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" 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=2023-11-14T16:25:02.048646274Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=168.543µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:02.052739476Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:02.052783867Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=43.071µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:02.057253796Z level=info msg="Executing migration" id="teams permissions migration" 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=2023-11-14T16:25:02.057889228Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=635.592µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:03.451490526Z level=info msg="Executing migration" id="dashboard permissions" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:03.452575425Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.090369ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:03.961519834Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | > upgrade 0130-statistics_sequence.sql grafana | logger=migrator t=2023-11-14T16:25:03.962946049Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.429585ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:04.75176758Z level=info msg="Executing migration" id="drop managed folder create actions" 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=2023-11-14T16:25:04.752415791Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=651.531µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:04.891229234Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:04.891956877Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=731.694µs policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:05.101524301Z level=info msg="Executing migration" id="create query_history_star table v1" 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=2023-11-14T16:25:05.109603014Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=8.081993ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:05.121047486Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:05.122823638Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.776432ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:05.128989886Z level=info msg="Executing migration" id="add column org_id in query_history_star" policy-db-migrator | TRUNCATE TABLE sequence grafana | logger=migrator t=2023-11-14T16:25:05.137692429Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.703763ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:05.147479502Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:05.147545833Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=65.411µs policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:05.188329003Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | > upgrade 0100-pdpstatistics.sql grafana | logger=migrator t=2023-11-14T16:25:05.190289098Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.958525ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:05.200262984Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics grafana | logger=migrator t=2023-11-14T16:25:05.201531636Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.268542ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:05.212634812Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:05.215004474Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=2.367092ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:05.227896211Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | DROP TABLE pdpstatistics grafana | logger=migrator t=2023-11-14T16:25:05.238305125Z level=info msg="Migration successfully executed" id="add correlation config column" duration=10.403813ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:05.25160208Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:05.252808371Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.206471ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:05.261527405Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2023-11-14T16:25:05.263659752Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=2.132317ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:05.280032362Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats grafana | logger=migrator t=2023-11-14T16:25:05.315811824Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=35.781273ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:05.322119425Z level=info msg="Executing migration" id="create correlation v2" policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:05.323268975Z level=info msg="Migration successfully executed" id="create correlation v2" duration=1.15557ms policy-db-migrator | grafana | logger=migrator t=2023-11-14T16:25:05.334786268Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | > upgrade 0120-statistics_sequence.sql grafana | logger=migrator t=2023-11-14T16:25:05.336870816Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=2.084848ms policy-db-migrator | -------------- grafana | logger=migrator t=2023-11-14T16:25:05.350904523Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" policy-db-migrator | DROP TABLE statistics_sequence grafana | logger=migrator t=2023-11-14T16:25:05.353162503Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=2.26567ms policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policyadmin: OK: upgrade (1300) grafana | logger=migrator t=2023-11-14T16:25:05.365820856Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" policy-db-migrator | name version grafana | logger=migrator t=2023-11-14T16:25:05.36770599Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.910964ms policy-db-migrator | policyadmin 1300 grafana | logger=migrator t=2023-11-14T16:25:05.376624477Z level=info msg="Executing migration" id="copy correlation v1 to v2" policy-db-migrator | ID script operation from_version to_version tag success atTime grafana | logger=migrator t=2023-11-14T16:25:05.376917452Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=293.485µs policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:07 grafana | logger=migrator t=2023-11-14T16:25:05.388526457Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:07 grafana | logger=migrator t=2023-11-14T16:25:05.389986184Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.460506ms policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:07 grafana | logger=migrator t=2023-11-14T16:25:05.400792134Z level=info msg="Executing migration" id="add provisioning column" policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:07 grafana | logger=migrator t=2023-11-14T16:25:05.412043012Z level=info msg="Migration successfully executed" id="add provisioning column" duration=11.252608ms policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:07 grafana | logger=migrator t=2023-11-14T16:25:05.419248549Z level=info msg="Executing migration" id="create entity_events table" policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:07 grafana | logger=migrator t=2023-11-14T16:25:05.420161966Z level=info msg="Migration successfully executed" id="create entity_events table" duration=913.487µs policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:07 grafana | logger=migrator t=2023-11-14T16:25:05.42942238Z level=info msg="Executing migration" id="create dashboard public config v1" policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:07 grafana | logger=migrator t=2023-11-14T16:25:05.430388096Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=965.386µs policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:07 grafana | logger=migrator t=2023-11-14T16:25:05.445406732Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:07 grafana | logger=migrator t=2023-11-14T16:25:05.446231537Z 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 | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:07 grafana | logger=migrator t=2023-11-14T16:25:05.457238211Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 grafana | logger=migrator t=2023-11-14T16:25:05.458156687Z 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 | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 grafana | logger=migrator t=2023-11-14T16:25:05.464604381Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 grafana | logger=migrator t=2023-11-14T16:25:05.465385764Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=791.593µs policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 grafana | logger=migrator t=2023-11-14T16:25:05.494406897Z level=info msg="Executing migration" id="recreate dashboard public config v1" policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 grafana | logger=migrator t=2023-11-14T16:25:05.49627684Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.883963ms policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 grafana | logger=migrator t=2023-11-14T16:25:05.506326168Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 grafana | logger=migrator t=2023-11-14T16:25:05.507485898Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.15967ms policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 grafana | logger=migrator t=2023-11-14T16:25:05.529353474Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 grafana | logger=migrator t=2023-11-14T16:25:05.531790437Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=2.441073ms policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 grafana | logger=migrator t=2023-11-14T16:25:05.541402497Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 grafana | logger=migrator t=2023-11-14T16:25:05.542538887Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.13615ms policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 grafana | logger=migrator t=2023-11-14T16:25:05.555789181Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 grafana | logger=migrator t=2023-11-14T16:25:05.558149103Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=2.359732ms policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 grafana | logger=migrator t=2023-11-14T16:25:05.565210368Z level=info msg="Executing migration" id="Drop public config table" policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 grafana | logger=migrator t=2023-11-14T16:25:05.566366268Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.155469ms policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 grafana | logger=migrator t=2023-11-14T16:25:05.577721509Z level=info msg="Executing migration" id="Recreate dashboard public config v2" policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 grafana | logger=migrator t=2023-11-14T16:25:05.579865526Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=2.141757ms policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 grafana | logger=migrator t=2023-11-14T16:25:05.590869971Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 grafana | logger=migrator t=2023-11-14T16:25:05.593037809Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=2.167808ms policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 grafana | logger=migrator t=2023-11-14T16:25:05.6027736Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:08 grafana | logger=migrator t=2023-11-14T16:25:05.605375936Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=2.608836ms policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 grafana | logger=migrator t=2023-11-14T16:25:05.615603798Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 grafana | logger=migrator t=2023-11-14T16:25:05.616769057Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.165679ms policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 grafana | logger=migrator t=2023-11-14T16:25:05.628704649Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 grafana | logger=migrator t=2023-11-14T16:25:05.667797639Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=39.08859ms policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 grafana | logger=migrator t=2023-11-14T16:25:05.674850194Z level=info msg="Executing migration" id="add annotations_enabled column" policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 grafana | logger=migrator t=2023-11-14T16:25:05.685756776Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=10.905382ms policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 grafana | logger=migrator t=2023-11-14T16:25:05.695151421Z level=info msg="Executing migration" id="add time_selection_enabled column" policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 grafana | logger=migrator t=2023-11-14T16:25:05.707909298Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=12.753727ms policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 grafana | logger=migrator t=2023-11-14T16:25:05.733816545Z level=info msg="Executing migration" id="delete orphaned public dashboards" policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 grafana | logger=migrator t=2023-11-14T16:25:05.734457977Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=642.562µs policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 grafana | logger=migrator t=2023-11-14T16:25:05.765762119Z level=info msg="Executing migration" id="add share column" policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 grafana | logger=migrator t=2023-11-14T16:25:05.780328316Z level=info msg="Migration successfully executed" id="add share column" duration=14.561086ms policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 grafana | logger=migrator t=2023-11-14T16:25:05.788333848Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 grafana | logger=migrator t=2023-11-14T16:25:05.788593562Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=260.974µs policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 grafana | logger=migrator t=2023-11-14T16:25:05.798307113Z level=info msg="Executing migration" id="create file table" policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 grafana | logger=migrator t=2023-11-14T16:25:05.799997063Z level=info msg="Migration successfully executed" id="create file table" duration=1.68925ms policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 grafana | logger=migrator t=2023-11-14T16:25:05.813222507Z level=info msg="Executing migration" id="file table idx: path natural pk" policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 grafana | logger=migrator t=2023-11-14T16:25:05.815308974Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=2.089717ms grafana | logger=migrator t=2023-11-14T16:25:05.825687697Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2023-11-14T16:25:05.829145668Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=3.455001ms policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 grafana | logger=migrator t=2023-11-14T16:25:05.839531302Z level=info msg="Executing migration" id="create file_meta table" policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:09 grafana | logger=migrator t=2023-11-14T16:25:05.84110819Z level=info msg="Migration successfully executed" id="create file_meta table" duration=1.577308ms policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 grafana | logger=migrator t=2023-11-14T16:25:05.854646878Z level=info msg="Executing migration" id="file table idx: path key" policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 grafana | logger=migrator t=2023-11-14T16:25:05.856627314Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.979456ms policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 grafana | logger=migrator t=2023-11-14T16:25:05.867981924Z level=info msg="Executing migration" id="set path collation in file table" policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 grafana | logger=migrator t=2023-11-14T16:25:05.868152677Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=174.233µs policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 grafana | logger=migrator t=2023-11-14T16:25:05.878383097Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 grafana | logger=migrator t=2023-11-14T16:25:05.87856177Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=179.103µs policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 grafana | logger=migrator t=2023-11-14T16:25:05.892428525Z level=info msg="Executing migration" id="managed permissions migration" policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 grafana | logger=migrator t=2023-11-14T16:25:05.893365762Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=937.497µs policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 grafana | logger=migrator t=2023-11-14T16:25:05.904138533Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 grafana | logger=migrator t=2023-11-14T16:25:05.904415108Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=276.284µs policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 grafana | logger=migrator t=2023-11-14T16:25:05.910005006Z level=info msg="Executing migration" id="RBAC action name migrator" policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 grafana | logger=migrator t=2023-11-14T16:25:05.911410361Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.405335ms policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 grafana | logger=migrator t=2023-11-14T16:25:05.923019185Z level=info msg="Executing migration" id="Add UID column to playlist" policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 grafana | logger=migrator t=2023-11-14T16:25:05.937095774Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=14.076749ms policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 grafana | logger=migrator t=2023-11-14T16:25:05.941741767Z level=info msg="Executing migration" id="Update uid column values in playlist" policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 grafana | logger=migrator t=2023-11-14T16:25:05.941857879Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=116.272µs policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 grafana | logger=migrator t=2023-11-14T16:25:05.94932971Z level=info msg="Executing migration" id="Add index for uid in playlist" policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 grafana | logger=migrator t=2023-11-14T16:25:05.950538022Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.206302ms policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 grafana | logger=migrator t=2023-11-14T16:25:05.958196127Z level=info msg="Executing migration" id="update group index for alert rules" policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 grafana | logger=migrator t=2023-11-14T16:25:05.959372578Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=1.177521ms policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 grafana | logger=migrator t=2023-11-14T16:25:05.973891215Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 grafana | logger=migrator t=2023-11-14T16:25:05.974299831Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=412.267µs policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 grafana | logger=migrator t=2023-11-14T16:25:05.984068064Z level=info msg="Executing migration" id="admin only folder/dashboard permission" policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 grafana | logger=migrator t=2023-11-14T16:25:05.984892818Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=824.364µs policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:10 grafana | logger=migrator t=2023-11-14T16:25:05.992836849Z level=info msg="Executing migration" id="add action column to seed_assignment" policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:11 grafana | logger=migrator t=2023-11-14T16:25:06.005572903Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=12.737334ms policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:11 grafana | logger=migrator t=2023-11-14T16:25:06.016076419Z level=info msg="Executing migration" id="add scope column to seed_assignment" policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:11 grafana | logger=migrator t=2023-11-14T16:25:06.026670556Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=10.589327ms policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:11 grafana | logger=migrator t=2023-11-14T16:25:06.03993628Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:11 grafana | logger=migrator t=2023-11-14T16:25:06.041927205Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.976485ms policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:11 grafana | logger=migrator t=2023-11-14T16:25:06.05124113Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:11 grafana | logger=migrator t=2023-11-14T16:25:06.16345681Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=112.20621ms policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:11 grafana | logger=migrator t=2023-11-14T16:25:06.171752656Z level=info msg="Executing migration" id="add unique index builtin_role_name back" policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:11 grafana | logger=migrator t=2023-11-14T16:25:06.173815562Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=2.061606ms policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:11 grafana | logger=migrator t=2023-11-14T16:25:06.178695849Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:11 grafana | logger=migrator t=2023-11-14T16:25:06.180270286Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.574237ms policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:11 grafana | logger=migrator t=2023-11-14T16:25:06.189831975Z level=info msg="Executing migration" id="add primary key to seed_assigment" policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:11 grafana | logger=migrator t=2023-11-14T16:25:06.233030358Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=43.189202ms policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:11 grafana | logger=migrator t=2023-11-14T16:25:06.246009187Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:11 grafana | logger=migrator t=2023-11-14T16:25:06.246394513Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=385.586µs policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:11 grafana | logger=migrator t=2023-11-14T16:25:06.260074815Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1411231625070800u 1 2023-11-14 16:25:12 grafana | logger=migrator t=2023-11-14T16:25:06.260474002Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=391.216µs policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1411231625070900u 1 2023-11-14 16:25:12 grafana | logger=migrator t=2023-11-14T16:25:06.267434684Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1411231625070900u 1 2023-11-14 16:25:12 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1411231625070900u 1 2023-11-14 16:25:12 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1411231625070900u 1 2023-11-14 16:25:12 grafana | logger=migrator t=2023-11-14T16:25:06.267838411Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=403.427µs policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1411231625070900u 1 2023-11-14 16:25:13 grafana | logger=migrator t=2023-11-14T16:25:06.278159154Z level=info msg="Executing migration" id="create folder table" policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1411231625070900u 1 2023-11-14 16:25:14 grafana | logger=migrator t=2023-11-14T16:25:06.279715381Z level=info msg="Migration successfully executed" id="create folder table" duration=1.556157ms policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1411231625070900u 1 2023-11-14 16:25:14 grafana | logger=migrator t=2023-11-14T16:25:06.285780998Z level=info msg="Executing migration" id="Add index for parent_uid" policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1411231625070900u 1 2023-11-14 16:25:14 grafana | logger=migrator t=2023-11-14T16:25:06.287322105Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.541697ms policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1411231625070900u 1 2023-11-14 16:25:14 grafana | logger=migrator t=2023-11-14T16:25:06.292239422Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1411231625070900u 1 2023-11-14 16:25:14 grafana | logger=migrator t=2023-11-14T16:25:06.293468644Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.228872ms policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1411231625070900u 1 2023-11-14 16:25:14 grafana | logger=migrator t=2023-11-14T16:25:06.298845159Z level=info msg="Executing migration" id="Update folder title length" policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1411231625070900u 1 2023-11-14 16:25:14 grafana | logger=migrator t=2023-11-14T16:25:06.2988709Z level=info msg="Migration successfully executed" id="Update folder title length" duration=26.491µs policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1411231625070900u 1 2023-11-14 16:25:14 grafana | logger=migrator t=2023-11-14T16:25:06.3022994Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1411231625071000u 1 2023-11-14 16:25:14 grafana | logger=migrator t=2023-11-14T16:25:06.304474778Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=2.184489ms policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1411231625071000u 1 2023-11-14 16:25:14 grafana | logger=migrator t=2023-11-14T16:25:06.363949818Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1411231625071000u 1 2023-11-14 16:25:14 grafana | logger=migrator t=2023-11-14T16:25:06.366359011Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=2.409643ms policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1411231625071000u 1 2023-11-14 16:25:14 grafana | logger=migrator t=2023-11-14T16:25:06.398078551Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1411231625071000u 1 2023-11-14 16:25:14 grafana | logger=migrator t=2023-11-14T16:25:06.401094064Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=3.009393ms policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1411231625071000u 1 2023-11-14 16:25:14 grafana | logger=migrator t=2023-11-14T16:25:06.405755305Z level=info msg="Executing migration" id="create anon_device table" policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1411231625071000u 1 2023-11-14 16:25:14 grafana | logger=migrator t=2023-11-14T16:25:06.407365144Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.605579ms policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1411231625071000u 1 2023-11-14 16:25:15 grafana | logger=migrator t=2023-11-14T16:25:06.41221743Z level=info msg="Executing migration" id="add unique index anon_device.device_id" policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1411231625071000u 1 2023-11-14 16:25:15 grafana | logger=migrator t=2023-11-14T16:25:06.4134146Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.19737ms policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1411231625071100u 1 2023-11-14 16:25:15 grafana | logger=migrator t=2023-11-14T16:25:06.417406751Z level=info msg="Executing migration" id="add index anon_device.updated_at" policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1411231625071200u 1 2023-11-14 16:25:15 grafana | logger=migrator t=2023-11-14T16:25:06.41851609Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.072719ms policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1411231625071200u 1 2023-11-14 16:25:15 grafana | logger=migrator t=2023-11-14T16:25:06.422371029Z level=info msg="Executing migration" id="create signing_key table" policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1411231625071200u 1 2023-11-14 16:25:15 grafana | logger=migrator t=2023-11-14T16:25:06.423191003Z level=info msg="Migration successfully executed" id="create signing_key table" duration=819.974µs policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1411231625071200u 1 2023-11-14 16:25:15 grafana | logger=migrator t=2023-11-14T16:25:06.428436125Z level=info msg="Executing migration" id="add unique index signing_key.key_id" policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 1411231625071300u 1 2023-11-14 16:25:15 grafana | logger=migrator t=2023-11-14T16:25:06.430173356Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.734911ms policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 1411231625071300u 1 2023-11-14 16:25:15 grafana | logger=migrator t=2023-11-14T16:25:06.435132714Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 1411231625071300u 1 2023-11-14 16:25:15 grafana | logger=migrator t=2023-11-14T16:25:06.436354995Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.223591ms policy-db-migrator | policyadmin: OK @ 1300 grafana | logger=migrator t=2023-11-14T16:25:06.440003149Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2023-11-14T16:25:06.440282135Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=280.006µs grafana | logger=migrator t=2023-11-14T16:25:06.445456896Z level=info msg="migrations completed" performed=517 skipped=0 duration=8.681718623s grafana | logger=sqlstore t=2023-11-14T16:25:06.465282816Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2023-11-14T16:25:06.465469719Z level=info msg="Created default organization" grafana | logger=secrets t=2023-11-14T16:25:06.472981601Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=local.finder t=2023-11-14T16:25:06.551031649Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=query_data t=2023-11-14T16:25:06.55337577Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2023-11-14T16:25:06.557287009Z level=info msg="Live Push Gateway initialization" grafana | logger=infra.usagestats.collector t=2023-11-14T16:25:08.709047508Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2023-11-14T16:25:08.711233407Z level=info msg="inserting datasource from configuration " name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2023-11-14T16:25:08.737500859Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2023-11-14T16:25:08.737529819Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2023-11-14T16:25:08.738954425Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2023-11-14T16:25:08.739080237Z level=info msg="Warming state cache for startup" grafana | logger=http.server t=2023-11-14T16:25:08.743883152Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=grafana.update.checker t=2023-11-14T16:25:08.767380646Z level=info msg="Update check succeeded" duration=29.114423ms grafana | logger=ngalert.migration t=2023-11-14T16:25:08.799100634Z level=info msg=Starting grafana | logger=ngalert.migration t=2023-11-14T16:25:08.800079292Z level=info msg="Starting legacy migration" grafana | logger=ngalert.migration orgID=1 t=2023-11-14T16:25:08.800484249Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2023-11-14T16:25:08.801180821Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2023-11-14T16:25:08.801836673Z level=warn msg="No available receivers" grafana | logger=ngalert.migration t=2023-11-14T16:25:08.806822821Z level=info msg="Completed legacy migration" grafana | logger=plugins.update.checker t=2023-11-14T16:25:08.807806419Z level=info msg="Update check succeeded" duration=68.787873ms grafana | logger=ngalert.state.manager t=2023-11-14T16:25:08.813130082Z level=info msg="State cache has been initialized" states=0 duration=74.050065ms grafana | logger=ngalert.multiorg.alertmanager t=2023-11-14T16:25:08.813274044Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=ngalert.scheduler t=2023-11-14T16:25:08.813171672Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2023-11-14T16:25:08.813596761Z level=info msg=starting first_tick=2023-11-14T16:25:10Z grafana | logger=sqlstore.transactions t=2023-11-14T16:25:08.915642529Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=dashboard-service t=2023-11-14T16:25:08.915825012Z level=error msg="Could not make user admin" dashboard="Policy Distribution" namespaceID=user userID=0 error="identifier is not initialized" grafana | logger=dashboard-service t=2023-11-14T16:25:09.020527407Z level=error msg="Could not make user admin" dashboard="Spring Boot Statistics & Endpoint Metrics" namespaceID=user userID=0 error="identifier is not initialized" grafana | logger=dashboard-service t=2023-11-14T16:25:09.047652974Z level=error msg="Could not make user admin" dashboard="Policy XACML-PDP" namespaceID=user userID=0 error="identifier is not initialized" grafana | logger=dashboard-service t=2023-11-14T16:25:09.060336657Z level=error msg="Could not make user admin" dashboard="SLA's Metrics" namespaceID=user userID=0 error="identifier is not initialized" grafana | logger=dashboard-service t=2023-11-14T16:25:09.089782326Z level=error msg="Could not make user admin" dashboard="Policy APEX-PDP Jakarta" namespaceID=user userID=0 error="identifier is not initialized" grafana | logger=dashboard-service t=2023-11-14T16:25:09.113961471Z level=error msg="Could not make user admin" dashboard="Policy Drools-PDP" namespaceID=user userID=0 error="identifier is not initialized" grafana | logger=dashboard-service t=2023-11-14T16:25:09.145387685Z level=error msg="Could not make user admin" dashboard="JVM Basic Metrics" namespaceID=user userID=0 error="identifier is not initialized" grafana | logger=dashboard-service t=2023-11-14T16:25:09.161806023Z level=error msg="Could not make user admin" dashboard="Policy PAP Jakarta" namespaceID=user userID=0 error="identifier is not initialized" grafana | logger=dashboard-service t=2023-11-14T16:25:09.177630193Z level=error msg="Could not make user admin" dashboard="Policy API Jakarta" namespaceID=user userID=0 error="identifier is not initialized" grafana | logger=infra.usagestats t=2023-11-14T16:26:13.751938138Z level=info msg="Usage stats are ready to report" ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing mariadb ... Removing prometheus ... Removing grafana ... done Removing prometheus ... done Removing policy-api ... done Removing policy-db-migrator ... done Removing mariadb ... done Removing network compose_default ++ cd /w/workspace/policy-api-master-project-csit-api + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + [[ -n /tmp/tmp.8m9fGfWtrb ]] + rsync -av /tmp/tmp.8m9fGfWtrb/ /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,345,997 bytes received 95 bytes 2,692,184.00 bytes/sec total size is 1,345,349 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 2187 killed; [ssh-agent] Stopped. Robot results publisher started... -Parsing output xml: Done! -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/jenkins17178229089248832088.sh ---> sysstat.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins1603296158482062704.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/jenkins4962628921859224371.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-uj5w from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-uj5w/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins9552876350511370559.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-master-project-csit-api@tmp/config17759961822514207039tmp 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/jenkins11208383058140776677.sh ---> create-netrc.sh [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins16862984622394512218.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-uj5w from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-uj5w/bin to PATH [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins488955475905565709.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-master-project-csit-api] $ /bin/bash /tmp/jenkins8264647949465343568.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-uj5w from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 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.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. virtualenv 20.24.6 requires platformdirs<4,>=3.9.1, but you have platformdirs 4.0.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-uj5w/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/jenkins10272167753183665869.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-uj5w from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-uj5w/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-master-project-csit-api/1418 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-75677 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 851 27228 0 4087 30859 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 fq_codel state UP group default qlen 1000 link/ether fa:16:3e:38:84:83 brd ff:ff:ff:ff:ff:ff inet 10.30.106.99/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 85711sec preferred_lft 85711sec inet6 fe80::f816:3eff:fe38:8483/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:43:84:3f:f0 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-75677) 11/14/23 _x86_64_ (8 CPU) 16:16:16 LINUX RESTART (8 CPU) 16:17:02 tps rtps wtps bread/s bwrtn/s 16:18:01 45.91 31.94 13.96 2815.52 8149.53 16:19:01 3.23 0.00 3.23 0.00 2840.06 16:20:01 2.78 0.00 2.78 0.00 2834.33 16:21:01 2.88 0.00 2.88 0.00 2836.79 16:22:01 6.38 3.20 3.18 141.98 3018.16 16:23:01 97.97 36.53 61.44 1699.45 9489.09 16:24:01 96.57 13.83 82.74 1121.49 17263.45 16:25:01 275.99 15.96 260.02 2133.34 66810.13 16:26:01 130.89 6.75 124.15 301.68 5251.21 16:27:01 33.56 1.78 31.78 69.06 4598.33 Average: 69.66 10.96 58.69 824.93 12315.98 16:17:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:18:01 30648904 31892060 2290316 6.95 38612 1532616 1290720 3.80 628900 1414724 68 16:19:01 30648788 31892092 2290432 6.95 38684 1532620 1290720 3.80 628292 1414692 168 16:20:01 30647620 31890980 2291600 6.96 38756 1532620 1290720 3.80 629108 1414692 148 16:21:01 30646256 31889728 2292964 6.96 38828 1532624 1290720 3.80 630772 1414700 28 16:22:01 30541836 31794440 2397384 7.28 38964 1541868 1306800 3.84 726960 1421752 128 16:23:01 29967576 31642172 2971644 9.02 69852 1913356 1476748 4.34 932788 1748364 234684 16:24:01 29755896 31712532 3183324 9.66 84184 2167088 1416532 4.17 869868 1994932 122508 16:25:01 27772436 31500732 5166784 15.69 122244 3830220 3171072 9.33 1198324 3524224 2124 16:26:01 26767384 30516584 6171836 18.74 127984 3840956 4336060 12.76 2232104 3485504 56 16:27:01 27919664 31621148 5019556 15.24 128600 3801240 1475396 4.34 1167696 3421056 3416 Average: 29531636 31635247 3407584 10.35 72671 2322521 1834549 5.40 964481 2125464 36333 16:17:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:18:01 lo 0.47 0.47 0.05 0.05 0.00 0.00 0.00 0.00 16:18:01 ens3 203.32 136.91 519.21 32.13 0.00 0.00 0.00 0.00 16:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:19:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 16:19:01 ens3 0.60 0.18 0.08 0.19 0.00 0.00 0.00 0.00 16:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:20:01 ens3 0.25 0.15 0.06 0.17 0.00 0.00 0.00 0.00 16:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:21:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 16:21:01 ens3 0.63 0.32 0.09 0.19 0.00 0.00 0.00 0.00 16:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:22:01 ens3 82.02 38.99 114.70 19.50 0.00 0.00 0.00 0.00 16:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:23:01 lo 1.67 1.67 0.17 0.17 0.00 0.00 0.00 0.00 16:23:01 ens3 102.73 72.00 1039.85 24.95 0.00 0.00 0.00 0.00 16:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:24:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 16:24:01 ens3 41.95 28.79 676.24 5.28 0.00 0.00 0.00 0.00 16:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:25:01 lo 8.40 8.40 0.77 0.77 0.00 0.00 0.00 0.00 16:25:01 vethe548169 0.13 0.27 0.01 0.02 0.00 0.00 0.00 0.00 16:25:01 ens3 296.05 185.42 9412.27 15.07 0.00 0.00 0.00 0.00 16:25:01 veth0d4f130 0.00 0.12 0.00 0.01 0.00 0.00 0.00 0.00 16:26:01 lo 8.73 8.73 8.46 8.46 0.00 0.00 0.00 0.00 16:26:01 ens3 10.05 7.35 2.76 4.91 0.00 0.00 0.00 0.00 16:26:01 veth0d4f130 0.52 0.57 0.06 0.31 0.00 0.00 0.00 0.00 16:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:27:01 lo 9.07 9.07 0.70 0.70 0.00 0.00 0.00 0.00 16:27:01 ens3 64.11 40.74 65.19 20.56 0.00 0.00 0.00 0.00 16:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: lo 2.94 2.94 1.03 1.03 0.00 0.00 0.00 0.00 Average: ens3 79.96 50.94 1184.13 12.26 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-75677) 11/14/23 _x86_64_ (8 CPU) 16:16:16 LINUX RESTART (8 CPU) 16:17:02 CPU %user %nice %system %iowait %steal %idle 16:18:01 all 2.14 0.00 0.30 1.05 0.01 96.50 16:18:01 0 2.83 0.00 0.25 0.07 0.02 96.83 16:18:01 1 1.48 0.00 0.32 0.90 0.02 97.29 16:18:01 2 2.53 0.00 0.39 1.58 0.02 95.48 16:18:01 3 2.85 0.00 0.32 0.53 0.02 96.29 16:18:01 4 0.71 0.00 0.42 0.61 0.02 98.24 16:18:01 5 1.92 0.00 0.22 0.10 0.02 97.74 16:18:01 6 2.36 0.00 0.24 4.45 0.02 92.94 16:18:01 7 2.39 0.00 0.22 0.17 0.02 97.20 16:19:01 all 0.01 0.00 0.01 0.30 0.00 99.68 16:19:01 0 0.02 0.00 0.02 0.00 0.00 99.97 16:19:01 1 0.00 0.00 0.02 0.00 0.00 99.98 16:19:01 2 0.02 0.00 0.02 0.00 0.00 99.97 16:19:01 3 0.00 0.00 0.02 0.37 0.00 99.62 16:19:01 4 0.02 0.00 0.02 0.00 0.00 99.97 16:19:01 5 0.03 0.00 0.02 0.00 0.00 99.95 16:19:01 6 0.02 0.00 0.00 2.00 0.00 97.98 16:19:01 7 0.02 0.00 0.00 0.00 0.00 99.98 16:20:01 all 0.01 0.00 0.00 0.09 0.00 99.89 16:20:01 0 0.02 0.00 0.02 0.00 0.02 99.95 16:20:01 1 0.00 0.00 0.00 0.00 0.00 100.00 16:20:01 2 0.00 0.00 0.00 0.00 0.00 100.00 16:20:01 3 0.02 0.00 0.00 0.12 0.00 99.87 16:20:01 4 0.02 0.00 0.00 0.02 0.00 99.97 16:20:01 5 0.00 0.00 0.00 0.00 0.00 100.00 16:20:01 6 0.00 0.00 0.00 0.62 0.00 99.38 16:20:01 7 0.00 0.00 0.00 0.00 0.00 100.00 16:21:01 all 0.07 0.00 0.00 0.54 0.00 99.38 16:21:01 0 0.08 0.00 0.00 0.00 0.02 99.90 16:21:01 1 0.00 0.00 0.00 0.00 0.00 100.00 16:21:01 2 0.43 0.00 0.02 0.00 0.00 99.55 16:21:01 3 0.03 0.00 0.02 0.03 0.00 99.92 16:21:01 4 0.03 0.00 0.00 0.00 0.00 99.97 16:21:01 5 0.02 0.00 0.02 0.00 0.02 99.95 16:21:01 6 0.00 0.00 0.00 4.27 0.00 95.73 16:21:01 7 0.00 0.00 0.00 0.00 0.00 100.00 16:22:01 all 0.73 0.00 0.06 0.34 0.01 98.87 16:22:01 0 0.70 0.00 0.05 0.12 0.02 99.12 16:22:01 1 1.28 0.00 0.05 0.02 0.00 98.65 16:22:01 2 1.05 0.00 0.08 0.23 0.02 98.61 16:22:01 3 0.28 0.00 0.13 0.00 0.00 99.58 16:22:01 4 0.48 0.00 0.02 0.00 0.00 99.50 16:22:01 5 0.40 0.00 0.05 0.00 0.00 99.55 16:22:01 6 0.60 0.00 0.03 2.33 0.00 97.03 16:22:01 7 0.98 0.00 0.05 0.00 0.00 98.97 16:23:01 all 9.76 0.00 0.70 2.10 0.03 87.41 16:23:01 0 19.99 0.00 1.19 0.95 0.03 77.84 16:23:01 1 5.15 0.00 0.58 0.43 0.05 93.78 16:23:01 2 1.78 0.00 0.33 0.35 0.00 97.53 16:23:01 3 25.88 0.00 1.55 1.68 0.05 70.84 16:23:01 4 11.85 0.00 0.73 0.08 0.03 87.30 16:23:01 5 10.41 0.00 0.70 0.95 0.03 87.90 16:23:01 6 0.27 0.00 0.37 12.36 0.03 86.97 16:23:01 7 2.69 0.00 0.12 0.02 0.05 97.13 16:24:01 all 6.84 0.00 0.49 5.28 0.02 87.37 16:24:01 0 9.57 0.00 0.58 0.10 0.02 89.73 16:24:01 1 7.23 0.00 0.48 8.13 0.02 84.14 16:24:01 2 13.44 0.00 0.33 1.70 0.03 84.49 16:24:01 3 3.52 0.00 0.50 0.67 0.02 95.30 16:24:01 4 3.88 0.00 0.38 0.10 0.00 95.63 16:24:01 5 10.92 0.00 0.75 6.63 0.05 81.65 16:24:01 6 1.52 0.00 0.17 1.65 0.00 96.67 16:24:01 7 4.66 0.00 0.70 23.21 0.03 71.40 16:25:01 all 8.09 0.00 3.08 7.23 0.05 81.56 16:25:01 0 9.18 0.00 3.10 4.45 0.07 83.21 16:25:01 1 6.27 0.00 3.42 2.23 0.05 88.03 16:25:01 2 7.14 0.00 2.99 0.47 0.05 89.35 16:25:01 3 7.85 0.00 2.62 3.04 0.05 86.43 16:25:01 4 11.81 0.00 3.28 26.77 0.07 58.08 16:25:01 5 7.32 0.00 2.54 16.18 0.05 73.91 16:25:01 6 8.05 0.00 3.43 1.30 0.05 87.17 16:25:01 7 7.07 0.00 3.21 3.56 0.05 86.11 16:26:01 all 14.43 0.00 1.55 2.70 0.05 81.27 16:26:01 0 9.84 0.00 0.99 1.59 0.03 87.55 16:26:01 1 14.67 0.00 1.64 0.57 0.05 83.07 16:26:01 2 21.64 0.00 2.07 4.54 0.05 71.70 16:26:01 3 12.84 0.00 1.29 0.02 0.05 85.80 16:26:01 4 14.35 0.00 1.90 3.67 0.05 80.03 16:26:01 5 17.05 0.00 1.92 1.25 0.05 79.73 16:26:01 6 12.03 0.00 1.20 3.40 0.07 83.31 16:26:01 7 12.97 0.00 1.44 6.51 0.05 79.03 16:27:01 all 1.64 0.00 0.38 0.52 0.02 97.44 16:27:01 0 1.20 0.00 0.47 0.05 0.02 98.26 16:27:01 1 1.47 0.00 0.30 0.08 0.02 98.13 16:27:01 2 1.95 0.00 0.40 1.17 0.02 96.46 16:27:01 3 1.57 0.00 0.38 0.52 0.03 97.49 16:27:01 4 1.02 0.00 0.45 1.72 0.05 96.76 16:27:01 5 0.62 0.00 0.32 0.22 0.02 98.83 16:27:01 6 4.69 0.00 0.37 0.33 0.02 94.59 16:27:01 7 0.65 0.00 0.33 0.08 0.00 98.93 Average: all 4.37 0.00 0.66 2.01 0.02 92.94 Average: 0 5.34 0.00 0.66 0.73 0.02 93.24 Average: 1 3.75 0.00 0.68 1.24 0.02 94.31 Average: 2 5.00 0.00 0.66 1.00 0.02 93.31 Average: 3 5.49 0.00 0.68 0.70 0.02 93.11 Average: 4 4.41 0.00 0.72 3.27 0.02 91.58 Average: 5 4.87 0.00 0.65 2.53 0.02 91.93 Average: 6 2.95 0.00 0.58 3.27 0.02 93.19 Average: 7 3.14 0.00 0.61 3.36 0.02 92.88