Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-10337 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-montreal-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-QJ3RNHMugDby/agent.2106 SSH_AGENT_PID=2108 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_2286975903446014433.key (/w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_2286975903446014433.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-montreal-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/montreal^{commit} # timeout=10 Checking out Revision 828a01cf695f53919dbff4ebbb1499c9674812b5 (refs/remotes/origin/montreal) > git config core.sparsecheckout # timeout=10 > git checkout -f 828a01cf695f53919dbff4ebbb1499c9674812b5 # timeout=30 Commit message: "Set Montreal default branch" > git rev-list --no-walk 828a01cf695f53919dbff4ebbb1499c9674812b5 # 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-montreal-project-csit-api] $ /bin/bash /tmp/jenkins6760026896503448763.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-vTOR 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-vTOR/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.2 from /tmp/venv-vTOR/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.1 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 Babel==2.14.0 beautifulsoup4==4.12.2 boto3==1.34.14 botocore==1.34.14 bs4==0.0.1 cachetools==5.3.2 certifi==2023.11.17 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.8 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.3.0 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.26.1 httplib2==0.22.0 identify==2.5.33 idna==3.6 importlib-metadata==7.0.1 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.20.0 jsonschema-specifications==2023.12.1 keystoneauth1==5.4.0 kubernetes==28.1.0 lftools==0.37.8 lxml==5.0.1 MarkupSafe==2.1.3 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==0.10.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==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==4.1.0 prettytable==3.9.0 pyasn1==0.5.1 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.3.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.32.1 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.16.2 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.10.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.9.0 tzdata==2023.4 urllib3==1.26.18 virtualenv==20.25.0 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 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-montreal-project-csit-api] $ /bin/sh /tmp/jenkins12867409062003791734.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-montreal-project-csit-api] $ /bin/sh -xe /tmp/jenkins17563752477841679546.sh + /w/workspace/policy-api-montreal-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-montreal-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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin + export SCRIPTS=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts + SCRIPTS=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts + export ROBOT_VARIABLES= + ROBOT_VARIABLES= + export PROJECT=api + PROJECT=api + cd /w/workspace/policy-api-montreal-project-csit-api + rm -rf /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api + mkdir -p /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' +++ mktemp -d ++ ROBOT_VENV=/tmp/tmp.SdnIkS8geD ++ echo ROBOT_VENV=/tmp/tmp.SdnIkS8geD +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.SdnIkS8geD ++ source /tmp/tmp.SdnIkS8geD/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.SdnIkS8geD +++ 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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin +++ PATH=/tmp/tmp.SdnIkS8geD/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin +++ export PATH +++ '[' -n '' ']' +++ '[' -z '' ']' +++ _OLD_VIRTUAL_PS1= +++ '[' 'x(tmp.SdnIkS8geD) ' '!=' x ']' +++ PS1='(tmp.SdnIkS8geD) ' +++ 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-montreal-project-csit-api/csit/resources/scripts/pylibs.txt ++ python3 -m pip -qq freeze bcrypt==4.0.1 beautifulsoup4==4.12.2 bitarray==2.9.2 certifi==2023.11.17 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==5.0.1 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.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.SdnIkS8geD/src/onap ++ rm -rf /tmp/tmp.SdnIkS8geD/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.9.2 certifi==2023.11.17 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.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==5.0.1 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.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.SdnIkS8geD/bin/activate + '[' -z /tmp/tmp.SdnIkS8geD/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.SdnIkS8geD/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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-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.SdnIkS8geD ++ 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-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin ++ PATH=/tmp/tmp.SdnIkS8geD/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/policy-api-montreal-project-csit-api/csit:/w/workspace/policy-api-montreal-project-csit-api/scripts:/bin ++ export PATH ++ '[' -n '' ']' ++ '[' -z '' ']' ++ _OLD_VIRTUAL_PS1='(tmp.SdnIkS8geD) ' ++ '[' 'x(tmp.SdnIkS8geD) ' '!=' x ']' ++ PS1='(tmp.SdnIkS8geD) (tmp.SdnIkS8geD) ' ++ 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-montreal-project-csit-api/csit/resources/tests + TEST_PLAN_DIR=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests + export TEST_OPTIONS= + TEST_OPTIONS= ++ mktemp -d + WORKDIR=/tmp/tmp.ETX8yhmp0D + cd /tmp/tmp.ETX8yhmp0D + 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-montreal-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -f /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' + echo 'Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh' Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ++ source /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/node-templates.sh +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-montreal-project-csit-api/.gitreview +++ GERRIT_BRANCH=montreal +++ echo GERRIT_BRANCH=montreal GERRIT_BRANCH=montreal +++ rm -rf /w/workspace/policy-api-montreal-project-csit-api/models +++ mkdir /w/workspace/policy-api-montreal-project-csit-api/models +++ git clone -b montreal --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-montreal-project-csit-api/models Cloning into '/w/workspace/policy-api-montreal-project-csit-api/models'... +++ export DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies +++ DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies +++ export NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates +++ sed -e 's!Measurement_vGMUX!ADifferentValue!' /w/workspace/policy-api-montreal-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-montreal-project-csit-api/models/models-examples/src/main/resources/policies/vCPE.policy.monitoring.input.tosca.json ++ source /w/workspace/policy-api-montreal-project-csit-api/compose/start-compose.sh api --grafana +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' +++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-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-montreal-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.2)... 3.0.2: Pulling from onap/policy-db-migrator Digest: sha256:777d99819ab037b10e0a21c75da376b572c54e87a9748c204d86178849fe011a Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.0.2 Pulling api (nexus3.onap.org:10001/onap/policy-api:3.0.2)... 3.0.2: Pulling from onap/policy-api Digest: sha256:fb501d6af2a3cd55552ba398d5bc20867cf32ebda2e7f9c473849f184245c945 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.0.2 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... latest: Pulling from prom/prometheus Digest: sha256:a67e5e402ff5410b86ec48b39eab1a3c4df2a7e78a71bf025ec5e32e09090ad4 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:6b5b37eb35bbf30e7f64bd7f0fd41c0a5b7637f65d3bf93223b04a192b8bf3e2 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating mariadb ... Creating prometheus ... Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done Creating prometheus ... done Creating grafana ... Creating grafana ... 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-montreal-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS grafana Up 10 seconds policy-api Up 11 seconds prometheus Up 10 seconds mariadb Up 12 seconds NAMES STATUS grafana Up 15 seconds policy-api Up 16 seconds prometheus Up 15 seconds mariadb Up 17 seconds NAMES STATUS grafana Up 20 seconds policy-api Up 21 seconds prometheus Up 20 seconds mariadb Up 22 seconds NAMES STATUS grafana Up 25 seconds policy-api Up 26 seconds prometheus Up 26 seconds mariadb Up 27 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-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-montreal-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 18:14:51 up 3 min, 0 users, load average: 1.87, 0.87, 0.35 Tasks: 179 total, 1 running, 101 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.7 us, 2.1 sy, 0.0 ni, 82.7 id, 4.4 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.4G 26G 1.0M 4.0G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up 25 seconds policy-api Up 26 seconds prometheus Up 26 seconds mariadb Up 28 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS e24df5883b51 grafana 0.03% 52.69MiB / 31.41GiB 0.16% 19.5kB / 3.33kB 4.1kB / 23.7MB 19 fa8e9f4db9f0 policy-api 0.21% 533.2MiB / 31.41GiB 1.66% 998kB / 710kB 0B / 0B 54 234a79b3d4f3 prometheus 0.00% 18.56MiB / 31.41GiB 0.06% 1.01kB / 158B 225kB / 0B 13 baec674b3082 mariadb 0.02% 100.2MiB / 31.41GiB 0.31% 986kB / 1.17MB 11MB / 68.1MB 27 + echo + cd /tmp/tmp.ETX8yhmp0D + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + sed 's|^|/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/|' + cat testplan.txt /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ++ xargs + SUITES='/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-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-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-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-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates + echo 'Starting Robot test suites /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot ...' Starting Robot test suites /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-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-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot /w/workspace/policy-api-montreal-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.ETX8yhmp0D/output.xml Log: /tmp/tmp.ETX8yhmp0D/log.html Report: /tmp/tmp.ETX8yhmp0D/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-montreal-project-csit-api ]] + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api Up About a minute prometheus Up About a minute mariadb Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 18:16:02 up 4 min, 0 users, load average: 0.72, 0.74, 0.34 Tasks: 177 total, 1 running, 99 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.0 us, 1.6 sy, 0.0 ni, 85.9 id, 3.3 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.7G 25G 1.0M 4.0G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS grafana Up About a minute policy-api Up About a minute prometheus Up About a minute mariadb Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS e24df5883b51 grafana 0.03% 59MiB / 31.41GiB 0.18% 20.6kB / 4.57kB 4.1kB / 23.7MB 19 fa8e9f4db9f0 policy-api 0.12% 786MiB / 31.41GiB 2.44% 7MB / 2.55MB 0B / 0B 55 234a79b3d4f3 prometheus 0.00% 24.05MiB / 31.41GiB 0.07% 55kB / 6.59kB 225kB / 0B 13 baec674b3082 mariadb 0.02% 101.2MiB / 31.41GiB 0.31% 2.39MB / 7.04MB 11MB / 68.5MB 18 + echo + source_safely /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose ++ cd /w/workspace/policy-api-montreal-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 grafana, policy-api, policy-db-migrator, prometheus, mariadb policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.2:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.4: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 | [2024-01-07T18:14:35.990+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 20 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-01-07T18:14:35.992+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-01-07T18:14:37.680+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-01-07T18:14:37.769+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 79 ms. Found 6 JPA repository interfaces. policy-api | [2024-01-07T18:14:38.215+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler policy-api | [2024-01-07T18:14:38.216+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler policy-api | [2024-01-07T18:14:38.829+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-01-07T18:14:38.837+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-01-07T18:14:38.840+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-01-07T18:14:38.840+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] policy-api | [2024-01-07T18:14:38.922+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-01-07T18:14:38.922+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2855 ms policy-api | [2024-01-07T18:14:39.312+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-01-07T18:14:39.379+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-api | [2024-01-07T18:14:39.381+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-api | [2024-01-07T18:14:39.424+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-api | [2024-01-07T18:14:39.747+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-api | [2024-01-07T18:14:39.766+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-01-07T18:14:39.860+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@2620e717 mariadb | 2024-01-07 18:14:22+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. policy-api | [2024-01-07T18:14:39.862+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. grafana | logger=settings t=2024-01-07T18:14:25.771098932Z level=info msg="Starting Grafana" version=10.2.3 commit=1e84fede543acc892d2a2515187e545eb047f237 branch=HEAD compiled=2023-12-18T15:46:07Z mariadb | 2024-01-07 18:14:22+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' policy-api | [2024-01-07T18:14:39.892+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) mariadb | 2024-01-07 18:14:23+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. prometheus | ts=2024-01-07T18:14:24.846Z caller=main.go:539 level=info msg="No time or size retention was set so using the default time retention" duration=15d grafana | logger=settings t=2024-01-07T18:14:25.771477156Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused mariadb | 2024-01-07 18:14:23+00:00 [Note] [Entrypoint]: Initializing database files prometheus | ts=2024-01-07T18:14:24.846Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.48.1, branch=HEAD, revision=63894216648f0d6be310c9d16fb48293c45c9310)" grafana | logger=settings t=2024-01-07T18:14:25.771491236Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini policy-api | [2024-01-07T18:14:39.894+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused mariadb | 2024-01-07 18:14:23 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) prometheus | ts=2024-01-07T18:14:24.846Z caller=main.go:588 level=info build_context="(go=go1.21.5, platform=linux/amd64, user=root@71f108ff5632, date=20231208-23:33:22, tags=netgo,builtinassets,stringlabels)" grafana | logger=settings t=2024-01-07T18:14:25.771494716Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" policy-api | [2024-01-07T18:14:41.721+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused mariadb | 2024-01-07 18:14:23 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF prometheus | ts=2024-01-07T18:14:24.846Z 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=settings t=2024-01-07T18:14:25.771497536Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" policy-api | [2024-01-07T18:14:41.725+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused mariadb | 2024-01-07 18:14:23 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. prometheus | ts=2024-01-07T18:14:24.846Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" grafana | logger=settings t=2024-01-07T18:14:25.771500156Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" policy-api | [2024-01-07T18:14:42.990+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused mariadb | prometheus | ts=2024-01-07T18:14:24.846Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" grafana | logger=settings t=2024-01-07T18:14:25.771503286Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" policy-api | [2024-01-07T18:14:43.739+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-db-migrator | Connection to mariadb (172.17.0.2) 3306 port [tcp/mysql] succeeded! mariadb | prometheus | ts=2024-01-07T18:14:24.852Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 grafana | logger=settings t=2024-01-07T18:14:25.771506026Z level=info msg="Config overridden from command line" arg="default.log.mode=console" policy-api | [2024-01-07T18:14:44.795+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-db-migrator | 321 blocks prometheus | ts=2024-01-07T18:14:24.852Z caller=main.go:1024 level=info msg="Starting TSDB ..." grafana | logger=settings t=2024-01-07T18:14:25.771511296Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" policy-api | [2024-01-07T18:14:44.986+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@d181ca3, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@78b9d614, org.springframework.security.web.context.SecurityContextHolderFilter@fb74661, org.springframework.security.web.header.HeaderWriterFilter@22ccd80f, org.springframework.security.web.authentication.logout.LogoutFilter@17d90f81, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@19e86461, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@6e04275e, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@453ef145, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@63f95ac1, org.springframework.security.web.access.ExceptionTranslationFilter@680f7a5e, org.springframework.security.web.access.intercept.AuthorizationFilter@631f188a] mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! policy-db-migrator | Preparing upgrade release version: 0800 prometheus | ts=2024-01-07T18:14:24.854Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 grafana | logger=settings t=2024-01-07T18:14:25.771514466Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" mariadb | To do so, start the server, then issue the following command: mariadb | policy-db-migrator | Preparing upgrade release version: 0900 prometheus | ts=2024-01-07T18:14:24.854Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 mariadb | '/usr/bin/mysql_secure_installation' mariadb | policy-db-migrator | Preparing upgrade release version: 1000 grafana | logger=settings t=2024-01-07T18:14:25.771516956Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is policy-db-migrator | Preparing upgrade release version: 1100 prometheus | ts=2024-01-07T18:14:24.855Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" grafana | logger=settings t=2024-01-07T18:14:25.771543937Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" policy-api | [2024-01-07T18:14:45.849+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-db-migrator | Preparing upgrade release version: 1200 prometheus | ts=2024-01-07T18:14:24.855Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=1.76µs mariadb | strongly recommended for production servers. grafana | logger=settings t=2024-01-07T18:14:25.771548647Z level=info msg=Target target=[all] policy-api | [2024-01-07T18:14:45.905+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-db-migrator | Preparing upgrade release version: 1300 prometheus | ts=2024-01-07T18:14:24.855Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" mariadb | grafana | logger=settings t=2024-01-07T18:14:25.771560257Z level=info msg="Path Home" path=/usr/share/grafana policy-api | [2024-01-07T18:14:45.922+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-db-migrator | Done prometheus | ts=2024-01-07T18:14:24.855Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb grafana | logger=settings t=2024-01-07T18:14:25.771564367Z level=info msg="Path Data" path=/var/lib/grafana policy-api | [2024-01-07T18:14:45.944+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.74 seconds (process running for 11.37) policy-db-migrator | name version prometheus | ts=2024-01-07T18:14:24.855Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=18.82µs wal_replay_duration=290.473µs wbl_replay_duration=190ns total_replay_duration=330.093µs mariadb | grafana | logger=settings t=2024-01-07T18:14:25.771569437Z level=info msg="Path Logs" path=/var/log/grafana policy-api | [2024-01-07T18:14:54.038+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-db-migrator | policyadmin 0 prometheus | ts=2024-01-07T18:14:24.859Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC mariadb | Please report any problems at https://mariadb.org/jira grafana | logger=settings t=2024-01-07T18:14:25.771572487Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins policy-api | [2024-01-07T18:14:54.039+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 prometheus | ts=2024-01-07T18:14:24.859Z caller=main.go:1048 level=info msg="TSDB started" mariadb | grafana | logger=settings t=2024-01-07T18:14:25.771576347Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning policy-api | [2024-01-07T18:14:54.040+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-db-migrator | upgrade: 0 -> 1300 prometheus | ts=2024-01-07T18:14:24.859Z caller=main.go:1230 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml mariadb | The latest information about MariaDB is available at https://mariadb.org/. grafana | logger=settings t=2024-01-07T18:14:25.771580057Z level=info msg="App mode production" policy-api | [2024-01-07T18:14:56.669+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: policy-db-migrator | prometheus | ts=2024-01-07T18:14:24.860Z caller=main.go:1267 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=966.121µs db_storage=1.43µs remote_storage=1.44µs web_handler=490ns query_engine=840ns scrape=249.453µs scrape_sd=116.741µs notify=33.82µs notify_sd=27.381µs rules=1.64µs tracing=5.14µs mariadb | grafana | logger=sqlstore t=2024-01-07T18:14:25.771938891Z level=info msg="Connecting to DB" dbtype=sqlite3 policy-api | [] policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql prometheus | ts=2024-01-07T18:14:24.860Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." mariadb | Consider joining MariaDB's strong and vibrant community: grafana | logger=sqlstore t=2024-01-07T18:14:25.771957801Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db policy-api | [2024-01-07T18:14:56.785+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes policy-db-migrator | -------------- prometheus | ts=2024-01-07T18:14:24.860Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." mariadb | https://mariadb.org/get-involved/ grafana | logger=migrator t=2024-01-07T18:14:25.772638769Z level=info msg="Starting DB migrations" policy-api | [2024-01-07T18:14:57.090+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes 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 | grafana | logger=migrator t=2024-01-07T18:14:25.773562049Z level=info msg="Executing migration" id="create migration_log table" policy-api | [2024-01-07T18:14:58.307+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policies policy-db-migrator | -------------- mariadb | 2024-01-07 18:14:24+00:00 [Note] [Entrypoint]: Database files initialized grafana | logger=migrator t=2024-01-07T18:14:25.774393139Z level=info msg="Migration successfully executed" id="create migration_log table" duration=830.5µs policy-api | [2024-01-07T18:15:00.285+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-db-migrator | mariadb | 2024-01-07 18:14:24+00:00 [Note] [Entrypoint]: Starting temporary server grafana | logger=migrator t=2024-01-07T18:14:25.778052079Z level=info msg="Executing migration" id="create user table" policy-api | [2024-01-07T18:15:00.589+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-db-migrator | mariadb | 2024-01-07 18:14:24+00:00 [Note] [Entrypoint]: Waiting for server startup grafana | logger=migrator t=2024-01-07T18:14:25.778637166Z level=info msg="Migration successfully executed" id="create user table" duration=584.897µs policy-api | [2024-01-07T18:15:00.832+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql mariadb | 2024-01-07 18:14:24 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 99 ... grafana | logger=migrator t=2024-01-07T18:14:25.783082526Z level=info msg="Executing migration" id="add unique index user.login" policy-api | [2024-01-07T18:15:01.061+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-db-migrator | -------------- mariadb | 2024-01-07 18:14:24 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 grafana | logger=migrator t=2024-01-07T18:14:25.783688723Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=604.347µs policy-api | [2024-01-07T18:15:01.288+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 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 | 2024-01-07 18:14:24 0 [Note] InnoDB: Number of transaction pools: 1 grafana | logger=migrator t=2024-01-07T18:14:25.786394893Z level=info msg="Executing migration" id="add unique index user.email" policy-api | [2024-01-07T18:15:01.518+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 policy-db-migrator | -------------- mariadb | 2024-01-07 18:14:24 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions grafana | logger=migrator t=2024-01-07T18:14:25.78700108Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=606.087µs policy-db-migrator | mariadb | 2024-01-07 18:14:24 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) grafana | logger=migrator t=2024-01-07T18:14:25.789951883Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" policy-db-migrator | mariadb | 2024-01-07 18:14:24 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=2024-01-07T18:14:25.790660332Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=708.168µs policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql mariadb | 2024-01-07 18:14:24 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF grafana | logger=migrator t=2024-01-07T18:14:25.795144751Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" policy-db-migrator | -------------- mariadb | 2024-01-07 18:14:24 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB grafana | logger=migrator t=2024-01-07T18:14:25.795899419Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=754.728µs 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 | 2024-01-07 18:14:24 0 [Note] InnoDB: Completed initialization of buffer pool grafana | logger=migrator t=2024-01-07T18:14:25.798756391Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" policy-db-migrator | -------------- mariadb | 2024-01-07 18:14:24 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) grafana | logger=migrator t=2024-01-07T18:14:25.801795275Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=3.038414ms policy-db-migrator | mariadb | 2024-01-07 18:14:24 0 [Note] InnoDB: 128 rollback segments are active. grafana | logger=migrator t=2024-01-07T18:14:25.80483845Z level=info msg="Executing migration" id="create user table v2" policy-db-migrator | mariadb | 2024-01-07 18:14:24 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... grafana | logger=migrator t=2024-01-07T18:14:25.80571297Z level=info msg="Migration successfully executed" id="create user table v2" duration=874.24µs policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql mariadb | 2024-01-07 18:14:24 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. grafana | logger=migrator t=2024-01-07T18:14:25.80843456Z level=info msg="Executing migration" id="create index UQE_user_login - v2" policy-db-migrator | -------------- mariadb | 2024-01-07 18:14:24 0 [Note] InnoDB: log sequence number 45452; transaction id 14 grafana | logger=migrator t=2024-01-07T18:14:25.809243499Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=808.739µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) mariadb | 2024-01-07 18:14:24 0 [Note] Plugin 'FEEDBACK' is disabled. grafana | logger=migrator t=2024-01-07T18:14:25.813476527Z level=info msg="Executing migration" id="create index UQE_user_email - v2" policy-db-migrator | -------------- mariadb | 2024-01-07 18:14:24 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. grafana | logger=migrator t=2024-01-07T18:14:25.814318186Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=840.449µs policy-db-migrator | mariadb | 2024-01-07 18:14:24 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. grafana | logger=migrator t=2024-01-07T18:14:25.817381811Z level=info msg="Executing migration" id="copy data_source v1 to v2" policy-db-migrator | mariadb | 2024-01-07 18:14:24 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. grafana | logger=migrator t=2024-01-07T18:14:25.81827501Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=892.95µs policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql mariadb | 2024-01-07 18:14:24 0 [Note] mariadbd: ready for connections. grafana | logger=migrator t=2024-01-07T18:14:25.821372635Z level=info msg="Executing migration" id="Drop old table user_v1" policy-db-migrator | -------------- mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution grafana | logger=migrator t=2024-01-07T18:14:25.822418037Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=1.044772ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) mariadb | 2024-01-07 18:14:25+00:00 [Note] [Entrypoint]: Temporary server started. grafana | logger=migrator t=2024-01-07T18:14:25.82709558Z level=info msg="Executing migration" id="Add column help_flags1 to user table" policy-db-migrator | -------------- mariadb | 2024-01-07 18:14:27+00:00 [Note] [Entrypoint]: Creating user policy_user grafana | logger=migrator t=2024-01-07T18:14:25.828342294Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.250334ms policy-db-migrator | mariadb | 2024-01-07 18:14:27+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) grafana | logger=migrator t=2024-01-07T18:14:25.831131205Z level=info msg="Executing migration" id="Update user table charset" policy-db-migrator | mariadb | grafana | logger=migrator t=2024-01-07T18:14:25.831156145Z level=info msg="Migration successfully executed" id="Update user table charset" duration=25.81µs policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql mariadb | grafana | logger=migrator t=2024-01-07T18:14:25.833905186Z level=info msg="Executing migration" id="Add last_seen_at column to user" policy-db-migrator | -------------- mariadb | 2024-01-07 18:14:27+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf grafana | logger=migrator t=2024-01-07T18:14:25.835058099Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.152783ms 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 | 2024-01-07 18:14:27+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh grafana | logger=migrator t=2024-01-07T18:14:25.83784505Z level=info msg="Executing migration" id="Add missing user data" policy-db-migrator | -------------- mariadb | #!/bin/bash -xv grafana | logger=migrator t=2024-01-07T18:14:25.838255985Z level=info msg="Migration successfully executed" id="Add missing user data" duration=410.715µs policy-db-migrator | mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved grafana | logger=migrator t=2024-01-07T18:14:25.843431372Z level=info msg="Executing migration" id="Add is_disabled column to user" policy-db-migrator | mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql grafana | logger=migrator t=2024-01-07T18:14:25.844722177Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.290725ms mariadb | # policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:25.847414268Z level=info msg="Executing migration" id="Add index user.login/user.email" mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-07T18:14:25.848241647Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=826.579µs mariadb | # you may not use this file except in compliance with the License. policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:25.851049628Z level=info msg="Executing migration" id="Add is_service_account column to user" mariadb | # You may obtain a copy of the License at policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:25.852305163Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.258355ms mariadb | # policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:25.855405418Z level=info msg="Executing migration" id="Update is_service_account column to nullable" mariadb | # http://www.apache.org/licenses/LICENSE-2.0 policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql grafana | logger=migrator t=2024-01-07T18:14:25.866983467Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=11.576989ms mariadb | # policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:25.871624809Z level=info msg="Executing migration" id="create temp user table v1-7" mariadb | # Unless required by applicable law or agreed to in writing, software policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) grafana | logger=migrator t=2024-01-07T18:14:25.87256068Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=935.781µs mariadb | # distributed under the License is distributed on an "AS IS" BASIS, policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:25.87527618Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:25.876064649Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=793.029µs mariadb | # See the License for the specific language governing permissions and policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:25.878730929Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" mariadb | # limitations under the License. policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql grafana | logger=migrator t=2024-01-07T18:14:25.879541188Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=810.069µs mariadb | policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:25.883788186Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-07T18:14:25.884601735Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=813.409µs mariadb | do policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:25.887363495Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:25.888156764Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=793.049µs mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql grafana | logger=migrator t=2024-01-07T18:14:25.890958976Z level=info msg="Executing migration" id="Update temp_user table charset" mariadb | done policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:25.890984156Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=26.03µs mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-07T18:14:25.896126834Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:25.896891062Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=747.178µs mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:25.899680284Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:25.900462023Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=779.949µs mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql grafana | logger=migrator t=2024-01-07T18:14:25.903260574Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:25.904061823Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=801.379µs mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-07T18:14:25.908685155Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:25.909597805Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=912.94µs mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:25.912625109Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:25.916716995Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=4.091756ms mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql grafana | logger=migrator t=2024-01-07T18:14:25.919446575Z level=info msg="Executing migration" id="create temp_user v2" mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:25.920280205Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=833.27µs mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-07T18:14:25.924607743Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:25.925463723Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=855.42µs mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:25.928399537Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:25.929239686Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=834.759µs mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql grafana | logger=migrator t=2024-01-07T18:14:25.931892905Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:25.932721514Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=833.619µs mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-07T18:14:25.936935302Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" mariadb | policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:25.937736441Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=798.169µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:25.940409781Z level=info msg="Executing migration" id="copy temp_user v1 to v2" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:25.940858176Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=448.245µs mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql grafana | logger=migrator t=2024-01-07T18:14:25.943759968Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:25.944367305Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=606.967µs mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-07T18:14:25.947158676Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" mariadb | grafana | logger=migrator t=2024-01-07T18:14:25.947581382Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=422.866µs mariadb | 2024-01-07 18:14:27+00:00 [Note] [Entrypoint]: Stopping temporary server policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:25.951518755Z level=info msg="Executing migration" id="create star table" mariadb | 2024-01-07 18:14:27 0 [Note] mariadbd (initiated by: unknown): Normal shutdown policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:25.952157842Z level=info msg="Migration successfully executed" id="create star table" duration=639.797µs mariadb | 2024-01-07 18:14:27 0 [Note] InnoDB: FTS optimize thread exiting. policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:25.955685322Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" mariadb | 2024-01-07 18:14:28 0 [Note] InnoDB: Starting shutdown... policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql mariadb | 2024-01-07 18:14:28 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool grafana | logger=migrator t=2024-01-07T18:14:25.956522342Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=834.31µs policy-db-migrator | -------------- mariadb | 2024-01-07 18:14:28 0 [Note] InnoDB: Buffer pool(s) dump completed at 240107 18:14:28 grafana | logger=migrator t=2024-01-07T18:14:25.959513876Z level=info msg="Executing migration" id="create org table 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=2024-01-07T18:14:25.960289244Z level=info msg="Migration successfully executed" id="create org table v1" duration=771.209µs mariadb | 2024-01-07 18:14:28 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" policy-db-migrator | -------------- mariadb | 2024-01-07 18:14:28 0 [Note] InnoDB: Shutdown completed; log sequence number 339866; transaction id 298 grafana | logger=migrator t=2024-01-07T18:14:25.96618435Z level=info msg="Executing migration" id="create index UQE_org_name - v1" mariadb | 2024-01-07 18:14:28 0 [Note] mariadbd: Shutdown complete policy-db-migrator | mariadb | grafana | logger=migrator t=2024-01-07T18:14:25.967009699Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=825.449µs policy-db-migrator | mariadb | 2024-01-07 18:14:28+00:00 [Note] [Entrypoint]: Temporary server stopped grafana | logger=migrator t=2024-01-07T18:14:25.969675029Z level=info msg="Executing migration" id="create org_user table v1" policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql mariadb | grafana | logger=migrator t=2024-01-07T18:14:25.970444278Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=768.689µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:25.973165279Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" mariadb | 2024-01-07 18:14:28+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-07T18:14:25.973954637Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=789.038µs mariadb | policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:25.976676508Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" mariadb | 2024-01-07 18:14:28 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:25.977568247Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=884.699µs mariadb | 2024-01-07 18:14:28 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:25.981986957Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" mariadb | 2024-01-07 18:14:28 0 [Note] InnoDB: Number of transaction pools: 1 policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql grafana | logger=migrator t=2024-01-07T18:14:25.982885087Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=898.67µs mariadb | 2024-01-07 18:14:28 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:25.985589757Z level=info msg="Executing migration" id="Update org table charset" mariadb | 2024-01-07 18:14:28 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-07T18:14:25.985611548Z level=info msg="Migration successfully executed" id="Update org table charset" duration=22.671µs mariadb | 2024-01-07 18:14:28 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:25.987674951Z level=info msg="Executing migration" id="Update org_user table charset" mariadb | 2024-01-07 18:14:28 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:25.987704981Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=29.64µs mariadb | 2024-01-07 18:14:28 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:25.990497293Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" mariadb | 2024-01-07 18:14:28 0 [Note] InnoDB: Completed initialization of buffer pool policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql grafana | logger=migrator t=2024-01-07T18:14:25.990737815Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=240.282µs mariadb | 2024-01-07 18:14:28 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:25.994902212Z level=info msg="Executing migration" id="create dashboard table" mariadb | 2024-01-07 18:14:28 0 [Note] InnoDB: 128 rollback segments are active. policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-07T18:14:25.995928774Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.027862ms mariadb | 2024-01-07 18:14:28 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:25.99913967Z level=info msg="Executing migration" id="add index dashboard.account_id" mariadb | 2024-01-07 18:14:28 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.000533225Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.392145ms mariadb | 2024-01-07 18:14:28 0 [Note] InnoDB: log sequence number 339866; transaction id 299 policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.003653781Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" mariadb | 2024-01-07 18:14:28 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql grafana | logger=migrator t=2024-01-07T18:14:26.004577932Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=923.651µs mariadb | 2024-01-07 18:14:28 0 [Note] Plugin 'FEEDBACK' is disabled. policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.007365244Z level=info msg="Executing migration" id="create dashboard_tag table" mariadb | 2024-01-07 18:14:28 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. grafana | logger=migrator t=2024-01-07T18:14:26.008105765Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=741.751µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) mariadb | 2024-01-07 18:14:28 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. grafana | logger=migrator t=2024-01-07T18:14:26.012697286Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" policy-db-migrator | -------------- mariadb | 2024-01-07 18:14:28 0 [Note] Server socket created on IP: '0.0.0.0'. grafana | logger=migrator t=2024-01-07T18:14:26.013561927Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=858.951µs policy-db-migrator | mariadb | 2024-01-07 18:14:28 0 [Note] Server socket created on IP: '::'. grafana | logger=migrator t=2024-01-07T18:14:26.016457256Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" policy-db-migrator | mariadb | 2024-01-07 18:14:28 0 [Note] mariadbd: ready for connections. grafana | logger=migrator t=2024-01-07T18:14:26.017204525Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=747.349µs policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql 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=2024-01-07T18:14:26.019978272Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" policy-db-migrator | -------------- mariadb | 2024-01-07 18:14:28 0 [Note] InnoDB: Buffer pool(s) load completed at 240107 18:14:28 grafana | logger=migrator t=2024-01-07T18:14:26.026637641Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=6.658799ms 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) mariadb | 2024-01-07 18:14:28 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) grafana | logger=migrator t=2024-01-07T18:14:26.030863656Z level=info msg="Executing migration" id="create dashboard v2" mariadb | 2024-01-07 18:14:28 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.4' (This connection closed normally without authentication) grafana | logger=migrator t=2024-01-07T18:14:26.031624657Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=760.731µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.03420016Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.035041222Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=841.532µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.037575566Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-01-07T18:14:26.038442657Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=866.571µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.04322582Z level=info msg="Executing migration" id="copy dashboard v1 to v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-01-07T18:14:26.043607385Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=381.565µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.0462709Z level=info msg="Executing migration" id="drop table dashboard_v1" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.047210733Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=967.503µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.049948259Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql grafana | logger=migrator t=2024-01-07T18:14:26.05005186Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=104.631µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.054122615Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-07T18:14:26.055920298Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.797243ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.058941398Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.060755992Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.813374ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.06364627Z level=info msg="Executing migration" id="Add column gnetId in dashboard" policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql grafana | logger=migrator t=2024-01-07T18:14:26.065500465Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.853785ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.070067735Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-07T18:14:26.070968137Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=900.482µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.073863766Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.07575252Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.885614ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.078692149Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-01-07T18:14:26.079623782Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=930.813µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.08406034Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-01-07T18:14:26.085075684Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.014644ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.088146005Z level=info msg="Executing migration" id="Update dashboard table charset" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.088167775Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=22.76µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.091222926Z level=info msg="Executing migration" id="Update dashboard_tag table charset" policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-01-07T18:14:26.091247396Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=25.32µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.095663294Z level=info msg="Executing migration" id="Add column folder_id in dashboard" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-07T18:14:26.09760371Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=1.940156ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.10204619Z level=info msg="Executing migration" id="Add column isFolder in dashboard" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.104045686Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.001006ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.107512543Z level=info msg="Executing migration" id="Add column has_acl in dashboard" policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql grafana | logger=migrator t=2024-01-07T18:14:26.1095923Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.076257ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.112466829Z level=info msg="Executing migration" id="Add column uid in dashboard" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-07T18:14:26.114480565Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.013486ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.118833544Z level=info msg="Executing migration" id="Update uid column values in dashboard" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.119082587Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=248.913µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.121766793Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql grafana | logger=migrator t=2024-01-07T18:14:26.122668865Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=901.502µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.125649214Z level=info msg="Executing migration" id="Remove unique index org_id_slug" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-07T18:14:26.126464945Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=815.881µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.130855684Z level=info msg="Executing migration" id="Update dashboard title length" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.130883414Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=32.2µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.133764493Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql grafana | logger=migrator t=2024-01-07T18:14:26.134628394Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=863.801µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.136729202Z level=info msg="Executing migration" id="create dashboard_provisioning" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-07T18:14:26.137442592Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=713.109µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.143941779Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.152671705Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=8.730236ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.155234169Z level=info msg="Executing migration" id="create dashboard_provisioning v2" policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql grafana | logger=migrator t=2024-01-07T18:14:26.155990589Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=754.85µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.15907956Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-07T18:14:26.159884771Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=802.021µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.163859544Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.164726355Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=866.591µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.167411031Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql grafana | logger=migrator t=2024-01-07T18:14:26.167751656Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=340.364µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.170085567Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-07T18:14:26.170714985Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=628.958µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.174721809Z level=info msg="Executing migration" id="Add check_sum column" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.176775796Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.053667ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.181631421Z level=info msg="Executing migration" id="Add index for dashboard_title" policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql grafana | logger=migrator t=2024-01-07T18:14:26.182552543Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=921.002µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.184481989Z level=info msg="Executing migration" id="delete tags for deleted dashboards" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) grafana | logger=migrator t=2024-01-07T18:14:26.184707022Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=225.043µs policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.187303416Z level=info msg="Executing migration" id="delete stars for deleted dashboards" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.187532409Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=229.023µs policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql grafana | logger=migrator t=2024-01-07T18:14:26.191360581Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.192228852Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=871.451µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-07T18:14:26.194849477Z level=info msg="Executing migration" id="Add isPublic for dashboard" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.197247059Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.402552ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.200240799Z level=info msg="Executing migration" id="create data_source table" policy-db-migrator | policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.201296903Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.056114ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-07T18:14:26.205698222Z level=info msg="Executing migration" id="add index data_source.account_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.206643034Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=944.442µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.209642334Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.210582006Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=939.212µs policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql grafana | logger=migrator t=2024-01-07T18:14:26.213719989Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.21456083Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=843.621µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-01-07T18:14:26.218568893Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.219444755Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=875.882µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.222712079Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.231150981Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=8.438292ms policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2024-01-07T18:14:26.235121184Z level=info msg="Executing migration" id="create data_source table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.235757412Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=631.388µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPGROUP_PDPSUBGROUP (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-01-07T18:14:26.238557199Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.239192088Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=634.819µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.242020166Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.242899608Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=879.102µs policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2024-01-07T18:14:26.24833564Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.248980919Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=644.429µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) grafana | logger=migrator t=2024-01-07T18:14:26.252173581Z level=info msg="Executing migration" id="Add column with_credentials" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.254599614Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.425113ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.257563143Z level=info msg="Executing migration" id="Add secure json data column" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.260092026Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.528353ms policy-db-migrator | > upgrade 0460-pdppolicystatus.sql grafana | logger=migrator t=2024-01-07T18:14:26.263903047Z level=info msg="Executing migration" id="Update data_source table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.263929367Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=27.4µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-01-07T18:14:26.266890048Z level=info msg="Executing migration" id="Update initial version to 1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.267141961Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=257.963µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.271137514Z level=info msg="Executing migration" id="Add read_only data column" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.2738643Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=2.725636ms policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2024-01-07T18:14:26.287074107Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.28730237Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=224.892µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-01-07T18:14:26.291499235Z level=info msg="Executing migration" id="Update json_data with nulls" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.291728348Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=229.433µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.294322983Z level=info msg="Executing migration" id="Add uid column" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.296932008Z level=info msg="Migration successfully executed" id="Add uid column" duration=2.603075ms policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2024-01-07T18:14:26.299656964Z level=info msg="Executing migration" id="Update uid value" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.299889337Z level=info msg="Migration successfully executed" id="Update uid value" duration=232.093µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) grafana | logger=migrator t=2024-01-07T18:14:26.303484416Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.304419688Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=935.002µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.307256136Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.308156887Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=893.901µs policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2024-01-07T18:14:26.311228558Z level=info msg="Executing migration" id="create api_key table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.312032469Z level=info msg="Migration successfully executed" id="create api_key table" duration=803.531µs grafana | logger=migrator t=2024-01-07T18:14:26.31582577Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-01-07T18:14:26.316684571Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=861.611µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-01-07T18:14:26.320411741Z level=info msg="Executing migration" id="add index api_key.key" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.321295763Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=883.822µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.324364864Z level=info msg="Executing migration" id="add index api_key.account_id_name" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.325298406Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=927.282µs policy-db-migrator | > upgrade 0500-pdpsubgroup.sql grafana | logger=migrator t=2024-01-07T18:14:26.330705718Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.33153068Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=824.662µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-01-07T18:14:26.334360727Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.335227318Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=866.311µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.33835979Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.339208631Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=848.751µs policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql grafana | logger=migrator t=2024-01-07T18:14:26.343016963Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.352471368Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=9.454446ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) grafana | logger=migrator t=2024-01-07T18:14:26.355477708Z level=info msg="Executing migration" id="create api_key table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.356204678Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=726.63µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.36010827Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.360949041Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=837.811µs policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql grafana | logger=migrator t=2024-01-07T18:14:26.363977381Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.364812512Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=835.011µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) grafana | logger=migrator t=2024-01-07T18:14:26.367997106Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.368894387Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=897.261µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.372951581Z level=info msg="Executing migration" id="copy api_key v1 to v2" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.373449488Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=497.667µs policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql grafana | logger=migrator t=2024-01-07T18:14:26.376332457Z level=info msg="Executing migration" id="Drop old table api_key_v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.377003976Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=671.199µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-01-07T18:14:26.380084737Z level=info msg="Executing migration" id="Update api_key table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.380116757Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=31.71µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.38334699Z level=info msg="Executing migration" id="Add expires to api_key table" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.386012535Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.665175ms policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql grafana | logger=migrator t=2024-01-07T18:14:26.390022278Z level=info msg="Executing migration" id="Add service account foreign key" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.392805075Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.782747ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) grafana | logger=migrator t=2024-01-07T18:14:26.396129571Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.396369014Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=239.233µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.399523386Z level=info msg="Executing migration" id="Add last_used_at to api_key table" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.402141151Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.617375ms policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql grafana | logger=migrator t=2024-01-07T18:14:26.406381037Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.409126133Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.744846ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) grafana | logger=migrator t=2024-01-07T18:14:26.412299135Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.413077826Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=778.331µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.416436631Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.41710153Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=660.309µs policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql grafana | logger=migrator t=2024-01-07T18:14:26.421059693Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.421883054Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=822.811µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-01-07T18:14:26.425204588Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.426060809Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=855.961µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.42911574Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.429986352Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=870.202µs policy-db-migrator | > upgrade 0570-toscadatatype.sql grafana | logger=migrator t=2024-01-07T18:14:26.433751802Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.434703544Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=951.582µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) grafana | logger=migrator t=2024-01-07T18:14:26.438166781Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.438265912Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=98.841µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.440640184Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.440665284Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=26.03µs policy-db-migrator | > upgrade 0580-toscadatatypes.sql grafana | logger=migrator t=2024-01-07T18:14:26.443733395Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.448520298Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.786383ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) grafana | logger=migrator t=2024-01-07T18:14:26.452723745Z level=info msg="Executing migration" id="Add encrypted dashboard json column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.456556185Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=3.82898ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.459565956Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.459660967Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=62.381µs policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql grafana | logger=migrator t=2024-01-07T18:14:26.462961512Z level=info msg="Executing migration" id="create quota table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.464108587Z level=info msg="Migration successfully executed" id="create quota table v1" duration=1.146784ms 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)) policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.468603757Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.469440778Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=836.851µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.472492168Z level=info msg="Executing migration" id="Update quota table charset" policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=migrator t=2024-01-07T18:14:26.472523349Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=26.761µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.476465671Z level=info msg="Executing migration" id="create plugin_setting table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) grafana | logger=migrator t=2024-01-07T18:14:26.477345443Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=879.032µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.481368156Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.482259208Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=890.402µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.485299308Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" policy-db-migrator | > upgrade 0610-toscanodetemplates.sql grafana | logger=migrator t=2024-01-07T18:14:26.488564453Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=3.264275ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.491600573Z level=info msg="Executing migration" id="Update plugin_setting table charset" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) grafana | logger=migrator t=2024-01-07T18:14:26.491625594Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=26.071µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.494554673Z level=info msg="Executing migration" id="create session table" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.495410844Z level=info msg="Migration successfully executed" id="create session table" duration=855.751µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.499487719Z level=info msg="Executing migration" id="Drop old table playlist table" policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql grafana | logger=migrator t=2024-01-07T18:14:26.49956993Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=78.961µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.502427808Z level=info msg="Executing migration" id="Drop old table playlist_item table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-01-07T18:14:26.502539939Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=111.771µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.505519409Z level=info msg="Executing migration" id="create playlist table v2" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.506208828Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=686.299µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.510330862Z level=info msg="Executing migration" id="create playlist item table v2" policy-db-migrator | > upgrade 0630-toscanodetype.sql grafana | logger=migrator t=2024-01-07T18:14:26.511114563Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=783.041µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.514219865Z level=info msg="Executing migration" id="Update playlist table charset" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) grafana | logger=migrator t=2024-01-07T18:14:26.514244695Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=25.71µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.516792349Z level=info msg="Executing migration" id="Update playlist_item table charset" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.51682231Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=24.73µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.51986895Z level=info msg="Executing migration" id="Add playlist column created_at" policy-db-migrator | > upgrade 0640-toscanodetypes.sql grafana | logger=migrator t=2024-01-07T18:14:26.523144694Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=3.275474ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.527182827Z level=info msg="Executing migration" id="Add playlist column updated_at" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) grafana | logger=migrator t=2024-01-07T18:14:26.53036982Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.188953ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.533442641Z level=info msg="Executing migration" id="drop preferences table v2" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.533562693Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=119.762µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.536137047Z level=info msg="Executing migration" id="drop preferences table v3" policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2024-01-07T18:14:26.536247098Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=109.991µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.540494435Z level=info msg="Executing migration" id="create preferences table v3" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-01-07T18:14:26.541261905Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=768.73µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.545819086Z level=info msg="Executing migration" id="Update preferences table charset" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.545851726Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=32.14µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.549104249Z level=info msg="Executing migration" id="Add column team_id in preferences" policy-db-migrator | > upgrade 0660-toscaparameter.sql grafana | logger=migrator t=2024-01-07T18:14:26.552283031Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.178382ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.556336066Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-01-07T18:14:26.556573329Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=237.163µs grafana | logger=migrator t=2024-01-07T18:14:26.560916657Z level=info msg="Executing migration" id="Add column week_start in preferences" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-01-07T18:14:26.56407819Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.161133ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.567258002Z level=info msg="Executing migration" id="Add column preferences.json_data" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.572574573Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=5.315901ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.575568353Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2024-01-07T18:14:26.575683764Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=115.291µs policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2024-01-07T18:14:26.579318132Z level=info msg="Executing migration" id="Add preferences index org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.580336715Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=1.018273ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) grafana | logger=migrator t=2024-01-07T18:14:26.583699321Z level=info msg="Executing migration" id="Add preferences index user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.584599133Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=899.772µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.691233214Z level=info msg="Executing migration" id="create alert table v1" policy-db-migrator | policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2024-01-07T18:14:26.693474574Z level=info msg="Migration successfully executed" id="create alert table v1" duration=2.24415ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.701418601Z level=info msg="Executing migration" id="add index alert org_id & id " policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-01-07T18:14:26.702782358Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.366138ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.706619919Z level=info msg="Executing migration" id="add index alert state" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.707728095Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.107896ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.711849569Z level=info msg="Executing migration" id="add index alert dashboard_id" policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2024-01-07T18:14:26.712849653Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.001284ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.716245898Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) grafana | logger=migrator t=2024-01-07T18:14:26.717005778Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=759.4µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.720145429Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.721122503Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=977.224µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.724216374Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2024-01-07T18:14:26.725215747Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=999.503µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.729176881Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) grafana | logger=migrator t=2024-01-07T18:14:26.743148167Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=13.972216ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.7463862Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.746910007Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=523.657µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.750467804Z 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 | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2024-01-07T18:14:26.751190983Z 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=722.979µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.754319456Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) grafana | logger=migrator t=2024-01-07T18:14:26.754691941Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=372.015µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.758492801Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.759148379Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=655.208µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.76291398Z level=info msg="Executing migration" id="create alert_notification table v1" policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2024-01-07T18:14:26.763781781Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=867.291µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.767645263Z level=info msg="Executing migration" id="Add column is_default" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-01-07T18:14:26.771630006Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.974733ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.774631946Z level=info msg="Executing migration" id="Add column frequency" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.778535858Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.903572ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.781567108Z level=info msg="Executing migration" id="Add column send_reminder" policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2024-01-07T18:14:26.78540457Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.837262ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.789317322Z level=info msg="Executing migration" id="Add column disable_resolve_message" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-01-07T18:14:26.793076452Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.75884ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.796352676Z level=info msg="Executing migration" id="add index alert_notification org_id & name" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.797361339Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.005833ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.801264861Z level=info msg="Executing migration" id="Update alert table charset" policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2024-01-07T18:14:26.801300081Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=36.47µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.805252795Z level=info msg="Executing migration" id="Update alert_notification table charset" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) grafana | logger=migrator t=2024-01-07T18:14:26.805274935Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=22.7µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.808304445Z level=info msg="Executing migration" id="create notification_journal table v1" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.809011324Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=706.819µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.811956583Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2024-01-07T18:14:26.812835535Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=878.572µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.816599416Z level=info msg="Executing migration" id="drop alert_notification_journal" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) grafana | logger=migrator t=2024-01-07T18:14:26.817328815Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=729.199µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.820499217Z level=info msg="Executing migration" id="create alert_notification_state table v1" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.821714194Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.214257ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.825603256Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2024-01-07T18:14:26.826487807Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=924.592µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.82892654Z level=info msg="Executing migration" id="Add for to alert table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-01-07T18:14:26.832482337Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.554767ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.871063072Z level=info msg="Executing migration" id="Add column uid in alert_notification" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2024-01-07T18:14:26.874898723Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.835891ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.87916687Z level=info msg="Executing migration" id="Update uid column values in alert_notification" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) grafana | logger=migrator t=2024-01-07T18:14:26.879607525Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=440.226µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.88300279Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.884493711Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.491441ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.889239094Z level=info msg="Executing migration" id="Remove unique index org_id_name" policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2024-01-07T18:14:26.890171556Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=926.942µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.893186487Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) grafana | logger=migrator t=2024-01-07T18:14:26.897284492Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=4.097315ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.901497567Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.901562388Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=65.421µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.905425929Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2024-01-07T18:14:26.906324232Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=898.223µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.910298184Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-01-07T18:14:26.911282358Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=990.544µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:26.960592085Z level=info msg="Executing migration" id="Drop old annotation table v4" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.960760807Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=169.422µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:26.965195957Z level=info msg="Executing migration" id="create annotation table v5" policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2024-01-07T18:14:26.966049688Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=853.361µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.008335366Z level=info msg="Executing migration" id="add index annotation 0 v3" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) grafana | logger=migrator t=2024-01-07T18:14:27.009887264Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.552578ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.014954532Z level=info msg="Executing migration" id="add index annotation 1 v3" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.015989213Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.034631ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.020413284Z level=info msg="Executing migration" id="add index annotation 2 v3" policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2024-01-07T18:14:27.021228343Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=814.959µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.025775493Z level=info msg="Executing migration" id="add index annotation 3 v3" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-01-07T18:14:27.026729055Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=953.072µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.031081784Z level=info msg="Executing migration" id="add index annotation 4 v3" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.032218817Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.136553ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.035779807Z level=info msg="Executing migration" id="Update annotation table charset" policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2024-01-07T18:14:27.035802217Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=28.6µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.03865534Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2024-01-07T18:14:27.042560674Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=3.904904ms grafana | logger=migrator t=2024-01-07T18:14:27.046204336Z level=info msg="Executing migration" id="Drop category_id index" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-01-07T18:14:27.046993844Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=789.498µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.075047662Z level=info msg="Executing migration" id="Add column tags to annotation table" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.078187347Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=3.141065ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.083910682Z level=info msg="Executing migration" id="Create annotation_tag table v2" policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-01-07T18:14:27.084874674Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=960.492µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.092677621Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2024-01-07T18:14:27.093602422Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=925.051µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.097581477Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.099030284Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.447927ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.102043358Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-01-07T18:14:27.119593776Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=17.549328ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.125345141Z level=info msg="Executing migration" id="Create annotation_tag table v3" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-01-07T18:14:27.125854817Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=508.636µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.129410327Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.131074096Z 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.661849ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.135447856Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-01-07T18:14:27.136067113Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=619.327µs policy-db-migrator | -------------- policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.138910625Z level=info msg="Executing migration" id="drop table annotation_tag_v2" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.139507592Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=597.387µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.143992283Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-01-07T18:14:27.144357687Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=362.564µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.148846487Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2024-01-07T18:14:27.155560444Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.713897ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2024-01-07T18:14:27.158890441Z level=info msg="Executing migration" id="Add updated time to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.165225293Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=6.335822ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.170040448Z level=info msg="Executing migration" id="Add index for created in annotation table" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.170945838Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=905.58µs policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-01-07T18:14:27.174222795Z level=info msg="Executing migration" id="Add index for updated in annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.176146247Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.917213ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2024-01-07T18:14:27.179922479Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.180463566Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=540.197µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.185224849Z level=info msg="Executing migration" id="Add epoch_end column" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.189481508Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.256019ms policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-01-07T18:14:27.192712594Z level=info msg="Executing migration" id="Add index for epoch_end" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.193697385Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=985.121µs policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2024-01-07T18:14:27.197747602Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.198021625Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=274.113µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.202656197Z level=info msg="Executing migration" id="Move region to single row" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.203140213Z level=info msg="Migration successfully executed" id="Move region to single row" duration=480.706µs policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-01-07T18:14:27.207110367Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.208742486Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.631699ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2024-01-07T18:14:27.211947952Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.212896683Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=947.871µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.217306733Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.218227603Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=920.57µs policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-01-07T18:14:27.222226339Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.223128569Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=902.1µs policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2024-01-07T18:14:27.226104833Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.226957982Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=853.489µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.232500905Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.233385215Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=884.38µs policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-01-07T18:14:27.236515221Z level=info msg="Executing migration" id="Increase tags column to length 4096" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.236683453Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=178.572µs policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2024-01-07T18:14:27.240059801Z level=info msg="Executing migration" id="create test_data table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.241556897Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.489686ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.246519413Z level=info msg="Executing migration" id="create dashboard_version table v1" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.247327273Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=807.62µs policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-01-07T18:14:27.251416499Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.25244329Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.026781ms policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2024-01-07T18:14:27.255452634Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.256483157Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.030083ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.260888416Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.261161629Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=276.463µs policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2024-01-07T18:14:27.264375096Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.265074404Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=698.628µs policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2024-01-07T18:14:27.268408371Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.268684155Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=269.793µs policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-01-07T18:14:27.271725789Z level=info msg="Executing migration" id="create team table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.272541639Z level=info msg="Migration successfully executed" id="create team table" duration=815.29µs policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2024-01-07T18:14:27.277709416Z level=info msg="Executing migration" id="add index team.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.278788869Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.079253ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.283726845Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.284765617Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.038522ms policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-01-07T18:14:27.288132835Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.295408478Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=7.273913ms policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-07T18:14:27.301047311Z level=info msg="Executing migration" id="Update uid column values in team" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.301250714Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=203.123µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.306897408Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.308703537Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.804999ms policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-01-07T18:14:27.316316934Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.317086162Z level=info msg="Migration successfully executed" id="create team member table" duration=768.768µs policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-07T18:14:27.323166982Z level=info msg="Executing migration" id="add index team_member.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.3248322Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.665458ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.329557684Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.330790888Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.234824ms policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-01-07T18:14:27.336478762Z level=info msg="Executing migration" id="add index team_member.team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.337505764Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.027352ms policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-07T18:14:27.344941548Z level=info msg="Executing migration" id="Add column email to team table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.349580691Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.639373ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.355587219Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.360204831Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.617422ms policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.366824976Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-07T18:14:27.371389468Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.564552ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.375546724Z level=info msg="Executing migration" id="create dashboard acl table" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.376599397Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.052593ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.38306618Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-01-07T18:14:27.384600028Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.533888ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.389938857Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-07T18:14:27.391159962Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.220975ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.400487077Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.402100535Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.613628ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.408453567Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-01-07T18:14:27.409293026Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=839.319µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.417066764Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-07T18:14:27.418758424Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.69119ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.42643839Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.427956757Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.517587ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.431859721Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-01-07T18:14:27.433283958Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.426127ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.442038117Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-07T18:14:27.442873666Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=834.929µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.451020938Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.451437792Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=417.154µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.45820554Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-01-07T18:14:27.459252351Z level=info msg="Migration successfully executed" id="create tag table" duration=1.046911ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.465186948Z level=info msg="Executing migration" id="add index tag.key_value" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-07T18:14:27.466723156Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.535998ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.47142941Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.472656053Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.226673ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.477406617Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-07T18:14:27.479060895Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.661198ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.485765161Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.486658491Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=893.11µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.490972829Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-01-07T18:14:27.508732901Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=17.760262ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.516447938Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-07T18:14:27.516930514Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=485.616µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.522892591Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.524666011Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.77283ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.533556081Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-01-07T18:14:27.534057677Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=496.536µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.54410782Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2024-01-07T18:14:27.545257033Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=1.148813ms policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-07T18:14:27.550080138Z level=info msg="Executing migration" id="create user auth table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.551213661Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.133683ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.557750424Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.558870758Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.119774ms policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-01-07T18:14:27.564224538Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.564572512Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=343.564µs policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-01-07T18:14:27.574804047Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.583573457Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=8.7631ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.594979276Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.60061749Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.637934ms policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-01-07T18:14:27.609133766Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.614589608Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.455832ms policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-01-07T18:14:27.619887268Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.625200327Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.312669ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.629687398Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.631340887Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.651839ms policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-01-07T18:14:27.636737418Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.642289571Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.555303ms policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-01-07T18:14:27.645641458Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.646381847Z level=info msg="Migration successfully executed" id="create server_lock table" duration=739.739µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.651418184Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.652518306Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.092312ms policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2024-01-07T18:14:27.657429152Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.658918308Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.488976ms policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL grafana | logger=migrator t=2024-01-07T18:14:27.66520232Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.666243831Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.041761ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.670198465Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.671529721Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.331306ms policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-01-07T18:14:27.674498954Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.675587786Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.083012ms policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num grafana | logger=migrator t=2024-01-07T18:14:27.685298367Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.694115026Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=8.817159ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.698323234Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.699032172Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=708.528µs policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2024-01-07T18:14:27.703052647Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.703951208Z level=info msg="Migration successfully executed" id="create cache_data table" duration=898.061µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.713528866Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.714533397Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=997.161µs policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-01-07T18:14:27.724948315Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-01-07T18:14:27.726795576Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.850761ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.737805011Z level=info msg="Executing migration" id="add index short_url.org_id-uid" grafana | logger=migrator t=2024-01-07T18:14:27.738936093Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.131502ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.744362084Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.744693338Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=325.564µs policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-01-07T18:14:27.749656964Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.749867817Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=206.913µs policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-01-07T18:14:27.756205698Z level=info msg="Executing migration" id="recreate alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.75720793Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=993.732µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.764638293Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.766397843Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.75833ms policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-01-07T18:14:27.770690671Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.772764515Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=2.073444ms policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-01-07T18:14:27.780902857Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-01-07T18:14:27.781259401Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=357.364µs policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-01-07T18:14:27.787249559Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-01-07T18:14:27.78909621Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.847601ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.794200858Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.795259529Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.058581ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.801832964Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-01-07T18:14:27.803676225Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.841461ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.811060419Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2024-01-07T18:14:27.812224932Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.165743ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.81836476Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.82444831Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=6.08339ms grafana | logger=migrator t=2024-01-07T18:14:27.830732821Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.831740792Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.011811ms policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-01-07T18:14:27.837495697Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.837890221Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=395.154µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) grafana | logger=migrator t=2024-01-07T18:14:27.843569115Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.845237915Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.66969ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.84926712Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.850460714Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.193564ms policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2024-01-07T18:14:27.856477982Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.857620264Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.141682ms policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2024-01-07T18:14:27.860905652Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.861100945Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=194.712µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.871239398Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.872968328Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.72107ms policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-01-07T18:14:27.878805504Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.879741065Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=934.571µs policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-01-07T18:14:27.886934886Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.888902499Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=1.967463ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.900026235Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.901235058Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.207233ms policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-01-07T18:14:27.906540228Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.913498836Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=6.960188ms policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.916214107Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.91736643Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=1.152333ms policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-01-07T18:14:27.921343885Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.922418238Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.073883ms policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) grafana | logger=migrator t=2024-01-07T18:14:27.927241152Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:27.962762423Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=35.521711ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:27.970799424Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.007399228Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=36.597484ms policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-01-07T18:14:28.013908941Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.01469765Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=788.299µs policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) grafana | logger=migrator t=2024-01-07T18:14:28.017071187Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.017815426Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=744.169µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.020926201Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.029881812Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=8.956631ms policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2024-01-07T18:14:28.03324508Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.034120389Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=875.179µs policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-01-07T18:14:28.038489429Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.040361131Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.871432ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.04381974Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.044919672Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.099642ms policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-01-07T18:14:28.047862145Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.049038299Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.175974ms policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-01-07T18:14:28.052051663Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.052115103Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=67.141µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.054948765Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.060964573Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=5.998198ms policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-01-07T18:14:28.064292201Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.070367829Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=6.072598ms policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-01-07T18:14:28.073437614Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.079403652Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.965578ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.082373446Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.083446977Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.069031ms policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-01-07T18:14:28.086456611Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.087476973Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.020282ms policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-01-07T18:14:28.090420696Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.096538065Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.117099ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.099734961Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.10579827Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.062869ms policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2024-01-07T18:14:28.108766473Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.109805375Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.038502ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.113301615Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" grafana | logger=migrator t=2024-01-07T18:14:28.119328143Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=6.026268ms grafana | logger=migrator t=2024-01-07T18:14:28.122288466Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.128329365Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=6.040459ms policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2024-01-07T18:14:28.131324638Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.131423189Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=98.391µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.134522584Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.135562166Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.039192ms policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.138787503Z 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 | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY grafana | logger=migrator t=2024-01-07T18:14:28.139865255Z 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.081122ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.143090731Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.144282505Z 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.192194ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.147473421Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2024-01-07T18:14:28.147571812Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=98.391µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.150545826Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.160232645Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=9.682769ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.163529073Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2024-01-07T18:14:28.167996903Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=4.46578ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.170855845Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-01-07T18:14:28.177174196Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.318161ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.18014532Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.186431531Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.291771ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.189408995Z 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) grafana | logger=migrator t=2024-01-07T18:14:28.195662425Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.25318ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.198530638Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.198633889Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=103.171µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.201572812Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-01-07T18:14:28.20233165Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=758.568µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.205218183Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=migrator t=2024-01-07T18:14:28.216098246Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=10.865223ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.224303679Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.22441248Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=108.741µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.232923596Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=migrator t=2024-01-07T18:14:28.241160209Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=8.235333ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.249902608Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2024-01-07T18:14:28.251637678Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.73471ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.25711388Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.263579463Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.461083ms policy-db-migrator | msg grafana | logger=migrator t=2024-01-07T18:14:28.270676043Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2024-01-07T18:14:28.271864076Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=1.187443ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.308433219Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2024-01-07T18:14:28.310493552Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=2.071194ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.314435276Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2024-01-07T18:14:28.321897931Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=7.463305ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.325419631Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.326086059Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=669.118µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.329619919Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-01-07T18:14:28.33058668Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=966.351µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.335851809Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-01-07T18:14:28.337029133Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.177054ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.341770376Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.342865439Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.094383ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.347057206Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-01-07T18:14:28.347138467Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=81.821µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.350190772Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.351048112Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=857.31µs policy-db-migrator | policy-db-migrator | > upgrade 0120-audit_sequence.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.354003555Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-01-07T18:14:28.354915905Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=912.55µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.358291073Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.358665927Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.360906013Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) grafana | logger=migrator t=2024-01-07T18:14:28.361325187Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=419.064µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.364466773Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.365562526Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.096053ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.368466489Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | > upgrade 0130-statistics_sequence.sql grafana | logger=migrator t=2024-01-07T18:14:28.375345826Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.879098ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.37841668Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-01-07T18:14:28.379035718Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=618.978µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.382163293Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.382931162Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=767.709µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.386019937Z level=info msg="Executing migration" id="create library_element_connection 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=2024-01-07T18:14:28.38725695Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.237263ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.391465248Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.393474461Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=2.010853ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.396700367Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | TRUNCATE TABLE sequence grafana | logger=migrator t=2024-01-07T18:14:28.397961071Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.176523ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.404585787Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.404693918Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=111.801µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.408895455Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | > upgrade 0100-pdpstatistics.sql grafana | logger=migrator t=2024-01-07T18:14:28.409058727Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=162.942µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.418486204Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-01-07T18:14:28.41903469Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=548.956µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.422335147Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.423860095Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.524488ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.427402894Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | DROP TABLE pdpstatistics grafana | logger=migrator t=2024-01-07T18:14:28.428883331Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.480507ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.43503281Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.487555874Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=52.517894ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.490877871Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-01-07T18:14:28.496008529Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.130898ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.50046704Z level=info msg="Executing migration" id="copy data_keys id column values into name" grafana | logger=migrator t=2024-01-07T18:14:28.500701332Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=228.912µs policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats grafana | logger=migrator t=2024-01-07T18:14:28.503851238Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.554609031Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=50.757673ms policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.562033416Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.611432533Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=49.392927ms policy-db-migrator | > upgrade 0120-statistics_sequence.sql grafana | logger=migrator t=2024-01-07T18:14:28.615278447Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.615908504Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=629.707µs policy-db-migrator | DROP TABLE statistics_sequence grafana | logger=migrator t=2024-01-07T18:14:28.61905825Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-07T18:14:28.619833968Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=778.498µs policy-db-migrator | grafana | logger=migrator t=2024-01-07T18:14:28.625435782Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | policyadmin: OK: upgrade (1300) grafana | logger=migrator t=2024-01-07T18:14:28.625851017Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=415.185µs policy-db-migrator | name version grafana | logger=migrator t=2024-01-07T18:14:28.629378047Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | policyadmin 1300 grafana | logger=migrator t=2024-01-07T18:14:28.630647921Z level=info msg="Migration successfully executed" id="create permission table" duration=1.269074ms policy-db-migrator | ID script operation from_version to_version tag success atTime grafana | logger=migrator t=2024-01-07T18:14:28.635540296Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:29 grafana | logger=migrator t=2024-01-07T18:14:28.636631248Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.089082ms policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:29 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:29 grafana | logger=migrator t=2024-01-07T18:14:28.641634495Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:29 grafana | logger=migrator t=2024-01-07T18:14:28.643370945Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.73594ms policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:29 grafana | logger=migrator t=2024-01-07T18:14:28.647678703Z level=info msg="Executing migration" id="create role table" policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:29 grafana | logger=migrator t=2024-01-07T18:14:28.649061889Z level=info msg="Migration successfully executed" id="create role table" duration=1.380926ms policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:29 grafana | logger=migrator t=2024-01-07T18:14:28.652418757Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:29 grafana | logger=migrator t=2024-01-07T18:14:28.65977411Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.354893ms policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:29 grafana | logger=migrator t=2024-01-07T18:14:28.664549954Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:29 grafana | logger=migrator t=2024-01-07T18:14:28.67220384Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.651876ms policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:29 grafana | logger=migrator t=2024-01-07T18:14:28.677036165Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:29 grafana | logger=migrator t=2024-01-07T18:14:28.678072077Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.036182ms policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:29 grafana | logger=migrator t=2024-01-07T18:14:28.682181863Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:29 grafana | logger=migrator t=2024-01-07T18:14:28.683948743Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.76613ms policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:29 grafana | logger=migrator t=2024-01-07T18:14:28.687759497Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:29 grafana | logger=migrator t=2024-01-07T18:14:28.689598157Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.83526ms policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:29 grafana | logger=migrator t=2024-01-07T18:14:28.694339591Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:29 grafana | logger=migrator t=2024-01-07T18:14:28.69515865Z level=info msg="Migration successfully executed" id="create team role table" duration=818.109µs policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:29 grafana | logger=migrator t=2024-01-07T18:14:28.698827522Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:29 grafana | logger=migrator t=2024-01-07T18:14:28.699922914Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.095242ms policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:29 grafana | logger=migrator t=2024-01-07T18:14:28.70398991Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:29 grafana | logger=migrator t=2024-01-07T18:14:28.705907481Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.917862ms policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:29 grafana | logger=migrator t=2024-01-07T18:14:28.709759785Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:29 grafana | logger=migrator t=2024-01-07T18:14:28.710827177Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.067192ms policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:29 grafana | logger=migrator t=2024-01-07T18:14:28.714914113Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:29 grafana | logger=migrator t=2024-01-07T18:14:28.715777113Z level=info msg="Migration successfully executed" id="create user role table" duration=862.21µs policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:30 grafana | logger=migrator t=2024-01-07T18:14:28.718907058Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:30 grafana | logger=migrator t=2024-01-07T18:14:28.72000853Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.101382ms policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:30 grafana | logger=migrator t=2024-01-07T18:14:28.725768166Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:30 grafana | logger=migrator t=2024-01-07T18:14:28.727241133Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.471198ms policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:30 grafana | logger=migrator t=2024-01-07T18:14:28.731529161Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:30 grafana | logger=migrator t=2024-01-07T18:14:28.733283971Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.75487ms policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:30 grafana | logger=migrator t=2024-01-07T18:14:28.73940666Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:30 grafana | logger=migrator t=2024-01-07T18:14:28.740230219Z level=info msg="Migration successfully executed" id="create builtin role table" duration=823.169µs policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:30 grafana | logger=migrator t=2024-01-07T18:14:28.743522687Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:30 grafana | logger=migrator t=2024-01-07T18:14:28.744667279Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.144482ms policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:30 grafana | logger=migrator t=2024-01-07T18:14:28.748030407Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:30 grafana | logger=migrator t=2024-01-07T18:14:28.74915251Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.122133ms policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:30 grafana | logger=migrator t=2024-01-07T18:14:28.756885687Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:30 grafana | logger=migrator t=2024-01-07T18:14:28.769086746Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=12.216379ms grafana | logger=migrator t=2024-01-07T18:14:28.771778326Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:30 grafana | logger=migrator t=2024-01-07T18:14:28.772601875Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=823.579µs policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:30 grafana | logger=migrator t=2024-01-07T18:14:28.77656648Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:30 grafana | logger=migrator t=2024-01-07T18:14:28.777354319Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=787.569µs policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:30 grafana | logger=migrator t=2024-01-07T18:14:28.779944438Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:30 grafana | logger=migrator t=2024-01-07T18:14:28.781072471Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.127313ms policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:30 grafana | logger=migrator t=2024-01-07T18:14:28.783975513Z level=info msg="Executing migration" id="add unique index role.uid" policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:30 grafana | logger=migrator t=2024-01-07T18:14:28.785093386Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.117423ms policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:30 grafana | logger=migrator t=2024-01-07T18:14:28.789336124Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:30 grafana | logger=migrator t=2024-01-07T18:14:28.790280945Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=944.291µs policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:30 grafana | logger=migrator t=2024-01-07T18:14:28.793148337Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:30 grafana | logger=migrator t=2024-01-07T18:14:28.794648975Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.499887ms policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:30 grafana | logger=migrator t=2024-01-07T18:14:28.798090993Z level=info msg="Executing migration" id="add column hidden to role table" policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:31 grafana | logger=migrator t=2024-01-07T18:14:28.808198598Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=10.107845ms policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:31 grafana | logger=migrator t=2024-01-07T18:14:28.8128897Z level=info msg="Executing migration" id="permission kind migration" policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:31 grafana | logger=migrator t=2024-01-07T18:14:28.821544848Z level=info msg="Migration successfully executed" id="permission kind migration" duration=8.653997ms policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:31 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:31 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:31 grafana | logger=migrator t=2024-01-07T18:14:28.824447291Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:31 grafana | logger=migrator t=2024-01-07T18:14:28.832807565Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=8.359754ms policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:31 grafana | logger=migrator t=2024-01-07T18:14:28.835668628Z level=info msg="Executing migration" id="permission identifier migration" policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:31 grafana | logger=migrator t=2024-01-07T18:14:28.842794918Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.12797ms policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:31 grafana | logger=migrator t=2024-01-07T18:14:28.847920016Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:31 grafana | logger=migrator t=2024-01-07T18:14:28.849086859Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.166393ms policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:31 grafana | logger=migrator t=2024-01-07T18:14:28.851758769Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:31 grafana | logger=migrator t=2024-01-07T18:14:28.852692751Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=933.552µs policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:31 grafana | logger=migrator t=2024-01-07T18:14:28.855535733Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:31 grafana | logger=migrator t=2024-01-07T18:14:28.856531714Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=995.351µs policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:31 grafana | logger=migrator t=2024-01-07T18:14:28.860558618Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:31 grafana | logger=migrator t=2024-01-07T18:14:28.860645459Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=85.731µs policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:31 grafana | logger=migrator t=2024-01-07T18:14:28.86334853Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:31 grafana | logger=migrator t=2024-01-07T18:14:28.86338115Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=33.81µs policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:31 grafana | logger=migrator t=2024-01-07T18:14:28.866081871Z level=info msg="Executing migration" id="teams permissions migration" policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:31 grafana | logger=migrator t=2024-01-07T18:14:28.866708759Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=627.278µs policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:31 grafana | logger=migrator t=2024-01-07T18:14:28.869742613Z level=info msg="Executing migration" id="dashboard permissions" policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:31 grafana | logger=migrator t=2024-01-07T18:14:28.870540742Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=799.379µs policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:31 grafana | logger=migrator t=2024-01-07T18:14:28.874931282Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:32 grafana | logger=migrator t=2024-01-07T18:14:28.875591799Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=660.817µs policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:32 grafana | logger=migrator t=2024-01-07T18:14:28.878264509Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:32 grafana | logger=migrator t=2024-01-07T18:14:28.878481382Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=216.953µs policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:32 grafana | logger=migrator t=2024-01-07T18:14:28.880561165Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:32 grafana | logger=migrator t=2024-01-07T18:14:28.880918409Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=357.674µs policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:32 grafana | logger=migrator t=2024-01-07T18:14:28.883810452Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:32 grafana | logger=migrator t=2024-01-07T18:14:28.884622301Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=811.499µs policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:32 grafana | logger=migrator t=2024-01-07T18:14:28.889000911Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:32 grafana | logger=migrator t=2024-01-07T18:14:28.891005253Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=2.003242ms policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:32 grafana | logger=migrator t=2024-01-07T18:14:28.89870579Z level=info msg="Executing migration" id="add column org_id in query_history_star" policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:32 grafana | logger=migrator t=2024-01-07T18:14:28.910136069Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=11.411039ms policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:32 grafana | logger=migrator t=2024-01-07T18:14:28.913011142Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:32 grafana | logger=migrator t=2024-01-07T18:14:28.913099803Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=89.341µs policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:32 grafana | logger=migrator t=2024-01-07T18:14:28.916993327Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:32 grafana | logger=migrator t=2024-01-07T18:14:28.917656905Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=663.268µs policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:32 grafana | logger=migrator t=2024-01-07T18:14:28.920657008Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:32 grafana | logger=migrator t=2024-01-07T18:14:28.921847391Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.192063ms policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:32 grafana | logger=migrator t=2024-01-07T18:14:28.925899498Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:32 grafana | logger=migrator t=2024-01-07T18:14:28.92702977Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.129832ms policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0701241814280800u 1 2024-01-07 18:14:32 grafana | logger=migrator t=2024-01-07T18:14:28.930975515Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 0701241814280900u 1 2024-01-07 18:14:32 grafana | logger=migrator t=2024-01-07T18:14:28.939452631Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.476096ms policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 0701241814280900u 1 2024-01-07 18:14:33 grafana | logger=migrator t=2024-01-07T18:14:28.942420885Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 0701241814280900u 1 2024-01-07 18:14:33 grafana | logger=migrator t=2024-01-07T18:14:28.943519146Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.098261ms policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 0701241814280900u 1 2024-01-07 18:14:33 grafana | logger=migrator t=2024-01-07T18:14:28.94651459Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 0701241814280900u 1 2024-01-07 18:14:33 grafana | logger=migrator t=2024-01-07T18:14:28.947626372Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.113112ms policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 0701241814280900u 1 2024-01-07 18:14:33 grafana | logger=migrator t=2024-01-07T18:14:28.952181824Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0701241814280900u 1 2024-01-07 18:14:33 grafana | logger=migrator t=2024-01-07T18:14:28.987407783Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=35.224169ms policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0701241814280900u 1 2024-01-07 18:14:33 grafana | logger=migrator t=2024-01-07T18:14:28.990063853Z level=info msg="Executing migration" id="create correlation v2" policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0701241814280900u 1 2024-01-07 18:14:33 grafana | logger=migrator t=2024-01-07T18:14:28.990885512Z level=info msg="Migration successfully executed" id="create correlation v2" duration=820.979µs policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 0701241814280900u 1 2024-01-07 18:14:33 grafana | logger=migrator t=2024-01-07T18:14:28.995811958Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 0701241814280900u 1 2024-01-07 18:14:33 grafana | logger=migrator t=2024-01-07T18:14:28.997176823Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.364735ms policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 0701241814280900u 1 2024-01-07 18:14:33 grafana | logger=migrator t=2024-01-07T18:14:29.006361846Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 0701241814280900u 1 2024-01-07 18:14:33 grafana | logger=migrator t=2024-01-07T18:14:29.008529481Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=2.167585ms policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 0701241814281000u 1 2024-01-07 18:14:33 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 0701241814281000u 1 2024-01-07 18:14:33 grafana | logger=migrator t=2024-01-07T18:14:29.011773267Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 0701241814281000u 1 2024-01-07 18:14:33 grafana | logger=migrator t=2024-01-07T18:14:29.013124293Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.283376ms policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 0701241814281000u 1 2024-01-07 18:14:33 grafana | logger=migrator t=2024-01-07T18:14:29.017673204Z level=info msg="Executing migration" id="copy correlation v1 to v2" policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 0701241814281000u 1 2024-01-07 18:14:33 grafana | logger=migrator t=2024-01-07T18:14:29.017995589Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=321.784µs policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 0701241814281000u 1 2024-01-07 18:14:33 grafana | logger=migrator t=2024-01-07T18:14:29.020380764Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2024-01-07T18:14:29.021228925Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=847.491µs grafana | logger=migrator t=2024-01-07T18:14:29.024007706Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2024-01-07T18:14:29.032809776Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.80216ms grafana | logger=migrator t=2024-01-07T18:14:29.040493923Z level=info msg="Executing migration" id="create entity_events table" grafana | logger=migrator t=2024-01-07T18:14:29.042861628Z level=info msg="Migration successfully executed" id="create entity_events table" duration=2.373886ms grafana | logger=migrator t=2024-01-07T18:14:29.051305804Z level=info msg="Executing migration" id="create dashboard public config v1" grafana | logger=migrator t=2024-01-07T18:14:29.052414617Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.105643ms grafana | logger=migrator t=2024-01-07T18:14:29.057803518Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-01-07T18:14:29.058855679Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-01-07T18:14:29.068125034Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-01-07T18:14:29.069048105Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-01-07T18:14:29.072835077Z level=info msg="Executing migration" id="Drop old dashboard public config table" grafana | logger=migrator t=2024-01-07T18:14:29.074526417Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.69076ms grafana | logger=migrator t=2024-01-07T18:14:29.081223542Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2024-01-07T18:14:29.082552448Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.329236ms grafana | logger=migrator t=2024-01-07T18:14:29.08805271Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-01-07T18:14:29.089312644Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.259504ms grafana | logger=migrator t=2024-01-07T18:14:29.093067356Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" grafana | logger=migrator t=2024-01-07T18:14:29.094338781Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.272665ms grafana | logger=migrator t=2024-01-07T18:14:29.098640169Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-01-07T18:14:29.099882123Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.241964ms grafana | logger=migrator t=2024-01-07T18:14:29.103243491Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-01-07T18:14:29.104408964Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.165513ms grafana | logger=migrator t=2024-01-07T18:14:29.109083537Z level=info msg="Executing migration" id="Drop public config table" grafana | logger=migrator t=2024-01-07T18:14:29.110041937Z level=info msg="Migration successfully executed" id="Drop public config table" duration=958.5µs grafana | logger=migrator t=2024-01-07T18:14:29.11467463Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2024-01-07T18:14:29.115827044Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.152034ms grafana | logger=migrator t=2024-01-07T18:14:29.121057582Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-01-07T18:14:29.122491449Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.433557ms grafana | logger=migrator t=2024-01-07T18:14:29.132012166Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" grafana | logger=migrator t=2024-01-07T18:14:29.133327401Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.315115ms grafana | logger=migrator t=2024-01-07T18:14:29.136995662Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" grafana | logger=migrator t=2024-01-07T18:14:29.138336608Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.340616ms grafana | logger=migrator t=2024-01-07T18:14:29.142148531Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" grafana | logger=migrator t=2024-01-07T18:14:29.176402417Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=34.248256ms grafana | logger=migrator t=2024-01-07T18:14:29.181145441Z level=info msg="Executing migration" id="add annotations_enabled column" grafana | logger=migrator t=2024-01-07T18:14:29.19346605Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=12.321559ms grafana | logger=migrator t=2024-01-07T18:14:29.198499057Z level=info msg="Executing migration" id="add time_selection_enabled column" grafana | logger=migrator t=2024-01-07T18:14:29.211586925Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=13.089068ms grafana | logger=migrator t=2024-01-07T18:14:29.219384563Z level=info msg="Executing migration" id="delete orphaned public dashboards" grafana | logger=migrator t=2024-01-07T18:14:29.219737068Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=352.205µs grafana | logger=migrator t=2024-01-07T18:14:29.223371498Z level=info msg="Executing migration" id="add share column" grafana | logger=migrator t=2024-01-07T18:14:29.233089027Z level=info msg="Migration successfully executed" id="add share column" duration=9.711309ms grafana | logger=migrator t=2024-01-07T18:14:29.238082804Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" grafana | logger=migrator t=2024-01-07T18:14:29.238416658Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=333.404µs grafana | logger=migrator t=2024-01-07T18:14:29.242193411Z level=info msg="Executing migration" id="create file table" grafana | logger=migrator t=2024-01-07T18:14:29.243287833Z level=info msg="Migration successfully executed" id="create file table" duration=1.093772ms grafana | logger=migrator t=2024-01-07T18:14:29.249636724Z level=info msg="Executing migration" id="file table idx: path natural pk" grafana | logger=migrator t=2024-01-07T18:14:29.2527615Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=3.125856ms grafana | logger=migrator t=2024-01-07T18:14:29.258639996Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" grafana | logger=migrator t=2024-01-07T18:14:29.25984613Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.206814ms grafana | logger=migrator t=2024-01-07T18:14:29.263571092Z level=info msg="Executing migration" id="create file_meta table" grafana | logger=migrator t=2024-01-07T18:14:29.264384532Z level=info msg="Migration successfully executed" id="create file_meta table" duration=815.54µs grafana | logger=migrator t=2024-01-07T18:14:29.267379776Z level=info msg="Executing migration" id="file table idx: path key" grafana | logger=migrator t=2024-01-07T18:14:29.268309186Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=929.17µs grafana | logger=migrator t=2024-01-07T18:14:29.274080231Z level=info msg="Executing migration" id="set path collation in file table" grafana | logger=migrator t=2024-01-07T18:14:29.274175562Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=95.851µs grafana | logger=migrator t=2024-01-07T18:14:29.276938893Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" grafana | logger=migrator t=2024-01-07T18:14:29.277026094Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=87.791µs grafana | logger=migrator t=2024-01-07T18:14:29.279906847Z level=info msg="Executing migration" id="managed permissions migration" grafana | logger=migrator t=2024-01-07T18:14:29.280704135Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=798.408µs grafana | logger=migrator t=2024-01-07T18:14:29.284452638Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" grafana | logger=migrator t=2024-01-07T18:14:29.284942674Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=488.346µs grafana | logger=migrator t=2024-01-07T18:14:29.291523318Z level=info msg="Executing migration" id="RBAC action name migrator" grafana | logger=migrator t=2024-01-07T18:14:29.292916294Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.392456ms grafana | logger=migrator t=2024-01-07T18:14:29.298839111Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-01-07T18:14:29.308290247Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=9.449236ms grafana | logger=migrator t=2024-01-07T18:14:29.312672967Z level=info msg="Executing migration" id="Update uid column values in playlist" grafana | logger=migrator t=2024-01-07T18:14:29.31289241Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=219.393µs grafana | logger=migrator t=2024-01-07T18:14:29.316400929Z level=info msg="Executing migration" id="Add index for uid in playlist" grafana | logger=migrator t=2024-01-07T18:14:29.317604583Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.203534ms grafana | logger=migrator t=2024-01-07T18:14:29.3227398Z level=info msg="Executing migration" id="update group index for alert rules" grafana | logger=migrator t=2024-01-07T18:14:29.323272627Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=534.007µs grafana | logger=migrator t=2024-01-07T18:14:29.326464503Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" grafana | logger=migrator t=2024-01-07T18:14:29.326689076Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=224.773µs grafana | logger=migrator t=2024-01-07T18:14:29.333670084Z level=info msg="Executing migration" id="admin only folder/dashboard permission" grafana | logger=migrator t=2024-01-07T18:14:29.334568705Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=889.54µs grafana | logger=migrator t=2024-01-07T18:14:29.342329462Z level=info msg="Executing migration" id="add action column to seed_assignment" grafana | logger=migrator t=2024-01-07T18:14:29.354655651Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=12.326839ms grafana | logger=migrator t=2024-01-07T18:14:29.358948349Z level=info msg="Executing migration" id="add scope column to seed_assignment" grafana | logger=migrator t=2024-01-07T18:14:29.366334673Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=7.383004ms policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 0701241814281000u 1 2024-01-07 18:14:33 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 0701241814281000u 1 2024-01-07 18:14:33 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 0701241814281000u 1 2024-01-07 18:14:33 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 0701241814281100u 1 2024-01-07 18:14:33 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 0701241814281200u 1 2024-01-07 18:14:34 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 0701241814281200u 1 2024-01-07 18:14:34 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 0701241814281200u 1 2024-01-07 18:14:34 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 0701241814281200u 1 2024-01-07 18:14:34 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 0701241814281300u 1 2024-01-07 18:14:34 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 0701241814281300u 1 2024-01-07 18:14:34 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 0701241814281300u 1 2024-01-07 18:14:34 policy-db-migrator | policyadmin: OK @ 1300 grafana | logger=migrator t=2024-01-07T18:14:29.37134616Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" grafana | logger=migrator t=2024-01-07T18:14:29.373817038Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=2.470568ms grafana | logger=migrator t=2024-01-07T18:14:29.381673306Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" grafana | logger=migrator t=2024-01-07T18:14:29.501955015Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=120.270649ms grafana | logger=migrator t=2024-01-07T18:14:29.505182202Z level=info msg="Executing migration" id="add unique index builtin_role_name back" grafana | logger=migrator t=2024-01-07T18:14:29.506090042Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=907.54µs grafana | logger=migrator t=2024-01-07T18:14:29.513639168Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" grafana | logger=migrator t=2024-01-07T18:14:29.514904132Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.264104ms grafana | logger=migrator t=2024-01-07T18:14:29.521514606Z level=info msg="Executing migration" id="add primary key to seed_assigment" grafana | logger=migrator t=2024-01-07T18:14:29.560049121Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=38.534115ms grafana | logger=migrator t=2024-01-07T18:14:29.564532992Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" grafana | logger=migrator t=2024-01-07T18:14:29.564722705Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=190.262µs grafana | logger=migrator t=2024-01-07T18:14:29.567364424Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" grafana | logger=migrator t=2024-01-07T18:14:29.567526226Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=161.552µs grafana | logger=migrator t=2024-01-07T18:14:29.57231171Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" grafana | logger=migrator t=2024-01-07T18:14:29.572717995Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=406.375µs grafana | logger=migrator t=2024-01-07T18:14:29.576348506Z level=info msg="Executing migration" id="create folder table" grafana | logger=migrator t=2024-01-07T18:14:29.577742961Z level=info msg="Migration successfully executed" id="create folder table" duration=1.394436ms grafana | logger=migrator t=2024-01-07T18:14:29.582285003Z level=info msg="Executing migration" id="Add index for parent_uid" grafana | logger=migrator t=2024-01-07T18:14:29.583579537Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.294674ms grafana | logger=migrator t=2024-01-07T18:14:29.588467822Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" grafana | logger=migrator t=2024-01-07T18:14:29.590548566Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=2.081104ms grafana | logger=migrator t=2024-01-07T18:14:29.59529421Z level=info msg="Executing migration" id="Update folder title length" grafana | logger=migrator t=2024-01-07T18:14:29.595360501Z level=info msg="Migration successfully executed" id="Update folder title length" duration=67.371µs grafana | logger=migrator t=2024-01-07T18:14:29.600896963Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-01-07T18:14:29.602159137Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.257344ms grafana | logger=migrator t=2024-01-07T18:14:29.606700759Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-01-07T18:14:29.60866263Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.961411ms grafana | logger=migrator t=2024-01-07T18:14:29.61214529Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-01-07T18:14:29.614152962Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=2.007562ms grafana | logger=migrator t=2024-01-07T18:14:29.6173959Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-01-07T18:14:29.61828675Z level=info msg="Migration successfully executed" id="create anon_device table" duration=890.369µs grafana | logger=migrator t=2024-01-07T18:14:29.623096524Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-01-07T18:14:29.625239278Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=2.141424ms grafana | logger=migrator t=2024-01-07T18:14:29.631786652Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-01-07T18:14:29.633200698Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.414466ms grafana | logger=migrator t=2024-01-07T18:14:29.636280742Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-01-07T18:14:29.637290824Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.046412ms grafana | logger=migrator t=2024-01-07T18:14:29.642196569Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-01-07T18:14:29.643464864Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.267885ms grafana | logger=migrator t=2024-01-07T18:14:29.646297426Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-01-07T18:14:29.647466179Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.169483ms grafana | logger=migrator t=2024-01-07T18:14:29.6502813Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-01-07T18:14:29.650626224Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=345.944µs grafana | logger=migrator t=2024-01-07T18:14:29.65549323Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-01-07T18:14:29.665099318Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=9.605348ms grafana | logger=migrator t=2024-01-07T18:14:29.668728089Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-01-07T18:14:29.670029324Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=1.304235ms grafana | logger=migrator t=2024-01-07T18:14:29.675722108Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-01-07T18:14:29.677792422Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=2.070253ms grafana | logger=migrator t=2024-01-07T18:14:29.681130789Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-01-07T18:14:29.682848249Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.71608ms grafana | logger=migrator t=2024-01-07T18:14:29.687823595Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-01-07T18:14:29.68917275Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=1.350495ms grafana | logger=migrator t=2024-01-07T18:14:29.692068833Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-01-07T18:14:29.692439367Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=371.554µs grafana | logger=migrator t=2024-01-07T18:14:29.695434881Z level=info msg="migrations completed" performed=523 skipped=0 duration=3.921900863s grafana | logger=sqlstore t=2024-01-07T18:14:29.704682126Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-01-07T18:14:29.705028979Z level=info msg="Created default organization" grafana | logger=secrets t=2024-01-07T18:14:29.710765524Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2024-01-07T18:14:29.733258228Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2024-01-07T18:14:29.771329519Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-01-07T18:14:29.77148613Z level=info msg="Plugins loaded" count=55 duration=38.228962ms grafana | logger=query_data t=2024-01-07T18:14:29.774935059Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-01-07T18:14:29.778242976Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2024-01-07T18:14:29.783092341Z level=info msg=Starting grafana | logger=ngalert.migration orgID=1 t=2024-01-07T18:14:29.78389338Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-01-07T18:14:29.784389095Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration orgID=1 t=2024-01-07T18:14:29.78482429Z level=warn msg="No available receivers" grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-01-07T18:14:29.78740898Z level=info msg="Completed legacy migration" grafana | logger=infra.usagestats.collector t=2024-01-07T18:14:29.816334667Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-01-07T18:14:29.818747253Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-01-07T18:14:29.833627772Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-01-07T18:14:29.833655303Z level=info msg="finished to provision alerting" grafana | logger=grafanaStorageLogger t=2024-01-07T18:14:29.833849305Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2024-01-07T18:14:29.838217723Z level=info msg="Warming state cache for startup" grafana | logger=http.server t=2024-01-07T18:14:29.842177489Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=ngalert.multiorg.alertmanager t=2024-01-07T18:14:29.843015428Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=grafana.update.checker t=2024-01-07T18:14:29.888440161Z level=info msg="Update check succeeded" duration=54.267133ms grafana | logger=ngalert.state.manager t=2024-01-07T18:14:29.892409116Z level=info msg="State cache has been initialized" states=0 duration=54.181123ms grafana | logger=ngalert.scheduler t=2024-01-07T18:14:29.892453947Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2024-01-07T18:14:29.892510887Z level=info msg=starting first_tick=2024-01-07T18:14:30Z grafana | logger=plugins.update.checker t=2024-01-07T18:14:29.932724191Z level=info msg="Update check succeeded" duration=98.659024ms grafana | logger=sqlstore.transactions t=2024-01-07T18:14:29.950062757Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2024-01-07T18:14:29.962220445Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" grafana | logger=infra.usagestats t=2024-01-07T18:15:59.846581739Z level=info msg="Usage stats are ready to report" ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping grafana ... Stopping policy-api ... Stopping prometheus ... Stopping mariadb ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing grafana ... Removing policy-api ... Removing policy-db-migrator ... Removing prometheus ... Removing mariadb ... Removing policy-api ... done Removing grafana ... done Removing mariadb ... done Removing policy-db-migrator ... done Removing prometheus ... done Removing network compose_default ++ cd /w/workspace/policy-api-montreal-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.ETX8yhmp0D ]] + rsync -av /tmp/tmp.ETX8yhmp0D/ /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api sending incremental file list ./ log.html output.xml report.html testplan.txt sent 1,345,363 bytes received 95 bytes 2,690,916.00 bytes/sec total size is 1,344,713 speedup is 1.00 + rm -rf /w/workspace/policy-api-montreal-project-csit-api/models + exit 0 $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2108 killed; [ssh-agent] Stopped. Robot results publisher started... -Parsing output xml: Done! WARNING! Could not find file: **/log.html WARNING! Could not find file: **/report.html -Copying log files to build dir: Done! -Assigning results to build: Done! -Checking thresholds: Done! Done publishing Robot results. [PostBuildScript] - [INFO] Executing post build scripts. [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins12353467885853588593.sh ---> sysstat.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins7680653589257034097.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/policy-api-montreal-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-montreal-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-montreal-project-csit-api ']' + mkdir -p /w/workspace/policy-api-montreal-project-csit-api/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-montreal-project-csit-api/archives/ [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins12902492057466707842.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-vTOR from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-vTOR/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins11741621048359729442.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-montreal-project-csit-api@tmp/config16946579723531389599tmp 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-montreal-project-csit-api] $ /bin/bash /tmp/jenkins11704009960757892642.sh ---> create-netrc.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins13108712010760590148.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-vTOR from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-vTOR/bin to PATH [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins789132697236880380.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins8743227246352806993.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-vTOR 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. lf-activate-venv(): INFO: Adding /tmp/venv-vTOR/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [policy-api-montreal-project-csit-api] $ /bin/bash -l /tmp/jenkins2055897180282942926.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-vTOR from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools 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. python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-vTOR/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-montreal-project-csit-api/57 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-10337 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 833 27303 0 4030 30877 Swap: 1023 0 1023 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 link/ether fa:16:3e:b8:3b:62 brd ff:ff:ff:ff:ff:ff inet 10.30.106.255/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86054sec preferred_lft 86054sec inet6 fe80::f816:3eff:feb8:3b62/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:67:c1:b7:3d 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-10337) 01/07/24 _x86_64_ (8 CPU) 18:11:20 LINUX RESTART (8 CPU) 18:12:02 tps rtps wtps bread/s bwrtn/s 18:13:01 127.52 18.01 109.51 1038.74 75143.74 18:14:01 143.79 23.01 120.78 2771.40 56618.30 18:15:01 372.20 15.05 357.16 826.23 63320.35 18:16:01 1.55 0.00 1.55 0.00 25.78 18:17:01 61.86 2.03 59.82 122.11 4347.11 Average: 141.43 11.60 129.83 951.41 39773.17 18:12:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:13:01 30074164 31684608 2865056 8.70 70556 1849968 1431192 4.21 888780 1683820 171232 18:14:01 28868600 31676492 4070620 12.36 103024 2974176 1517280 4.46 978336 2714580 900344 18:15:01 26990660 30681556 5948560 18.06 128384 3783748 4158724 12.24 2063832 3428816 208 18:16:01 26979728 30670844 5959492 18.09 128444 3783764 4158724 12.24 2075816 3428352 120 18:17:01 27905876 31580108 5033344 15.28 132664 3770032 1492620 4.39 1204396 3395516 44908 Average: 28163806 31258722 4775414 14.50 112614 3232338 2551708 7.51 1442232 2930217 223362 18:12:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:13:01 ens3 65.85 44.37 998.88 7.66 0.00 0.00 0.00 0.00 18:13:01 lo 1.49 1.49 0.16 0.16 0.00 0.00 0.00 0.00 18:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:14:01 br-3f33a6e031b6 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:14:01 ens3 183.07 120.88 4746.90 13.14 0.00 0.00 0.00 0.00 18:14:01 lo 6.27 6.27 0.58 0.58 0.00 0.00 0.00 0.00 18:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:15:01 br-3f33a6e031b6 3.58 4.05 6.17 2.53 0.00 0.00 0.00 0.00 18:15:01 ens3 170.02 103.77 5364.88 8.52 0.00 0.00 0.00 0.00 18:15:01 veth8a002aa 124.68 105.23 40.62 113.90 0.00 0.00 0.00 0.01 18:15:01 veth3d98133 0.05 0.27 0.00 0.02 0.00 0.00 0.00 0.00 18:16:01 br-3f33a6e031b6 1.18 1.35 0.11 0.15 0.00 0.00 0.00 0.00 18:16:01 ens3 3.20 2.47 0.83 0.99 0.00 0.00 0.00 0.00 18:16:01 veth8a002aa 0.58 0.63 0.79 0.05 0.00 0.00 0.00 0.00 18:16:01 veth3d98133 0.75 1.00 0.10 0.88 0.00 0.00 0.00 0.00 18:17:01 ens3 85.72 66.51 127.64 27.59 0.00 0.00 0.00 0.00 18:17:01 lo 33.68 33.68 10.62 10.62 0.00 0.00 0.00 0.00 18:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: ens3 101.69 67.67 2252.00 11.59 0.00 0.00 0.00 0.00 Average: lo 5.97 5.97 2.06 2.06 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-10337) 01/07/24 _x86_64_ (8 CPU) 18:11:20 LINUX RESTART (8 CPU) 18:12:02 CPU %user %nice %system %iowait %steal %idle 18:13:01 all 9.75 0.00 0.64 4.70 0.03 84.88 18:13:01 0 3.35 0.00 0.51 26.21 0.02 69.92 18:13:01 1 23.57 0.00 1.02 5.96 0.05 69.40 18:13:01 2 24.22 0.00 1.46 1.49 0.03 72.79 18:13:01 3 16.11 0.00 0.81 1.19 0.05 81.84 18:13:01 4 4.77 0.00 0.53 1.73 0.03 92.95 18:13:01 5 1.34 0.00 0.22 0.10 0.02 98.32 18:13:01 6 0.51 0.00 0.27 0.46 0.02 98.75 18:13:01 7 4.21 0.00 0.32 0.36 0.02 95.09 18:14:01 all 10.77 0.00 1.84 3.67 0.05 83.68 18:14:01 0 5.24 0.00 1.73 21.44 0.03 71.55 18:14:01 1 2.34 0.00 1.39 0.45 0.03 95.79 18:14:01 2 8.71 0.00 1.38 1.46 0.07 88.39 18:14:01 3 5.79 0.00 1.58 0.44 0.03 92.16 18:14:01 4 22.62 0.00 2.40 0.82 0.07 74.09 18:14:01 5 25.28 0.00 2.43 3.44 0.08 68.76 18:14:01 6 12.47 0.00 2.19 0.17 0.03 85.14 18:14:01 7 3.75 0.00 1.54 1.22 0.03 93.45 18:15:01 all 17.65 0.00 3.31 3.53 0.07 75.44 18:15:01 0 14.62 0.00 3.04 2.39 0.08 79.86 18:15:01 1 24.60 0.00 4.37 3.19 0.08 67.76 18:15:01 2 16.30 0.00 3.25 0.94 0.07 79.44 18:15:01 3 18.13 0.00 4.03 16.48 0.08 61.27 18:15:01 4 15.78 0.00 2.49 1.28 0.05 80.40 18:15:01 5 15.05 0.00 2.93 1.93 0.07 80.03 18:15:01 6 18.35 0.00 2.82 1.60 0.07 77.16 18:15:01 7 18.33 0.00 3.55 0.47 0.08 77.56 18:16:01 all 0.13 0.00 0.04 0.01 0.01 99.82 18:16:01 0 0.10 0.00 0.07 0.00 0.02 99.82 18:16:01 1 0.08 0.00 0.03 0.00 0.00 99.88 18:16:01 2 0.12 0.00 0.03 0.00 0.00 99.85 18:16:01 3 0.12 0.00 0.03 0.00 0.00 99.85 18:16:01 4 0.17 0.00 0.00 0.03 0.02 99.78 18:16:01 5 0.07 0.00 0.03 0.00 0.02 99.88 18:16:01 6 0.08 0.00 0.05 0.00 0.03 99.83 18:16:01 7 0.28 0.00 0.05 0.00 0.00 99.67 18:17:01 all 8.73 0.00 0.72 0.43 0.03 90.09 18:17:01 0 3.29 0.00 0.53 0.17 0.03 95.97 18:17:01 1 2.62 0.00 0.60 0.13 0.02 96.63 18:17:01 2 4.23 0.00 0.60 0.23 0.02 94.91 18:17:01 3 51.65 0.00 1.74 0.52 0.08 46.01 18:17:01 4 2.80 0.00 0.59 1.36 0.02 95.24 18:17:01 5 0.78 0.00 0.48 0.08 0.02 98.63 18:17:01 6 3.15 0.00 0.65 0.68 0.02 95.50 18:17:01 7 1.34 0.00 0.57 0.32 0.02 97.76 Average: all 9.39 0.00 1.31 2.46 0.04 86.81 Average: 0 5.32 0.00 1.18 9.99 0.04 83.48 Average: 1 10.57 0.00 1.48 1.93 0.04 85.98 Average: 2 10.66 0.00 1.34 0.82 0.04 87.14 Average: 3 18.37 0.00 1.64 3.71 0.05 76.23 Average: 4 9.22 0.00 1.20 1.04 0.04 88.50 Average: 5 8.50 0.00 1.22 1.11 0.04 89.13 Average: 6 6.92 0.00 1.20 0.58 0.03 91.27 Average: 7 5.57 0.00 1.21 0.47 0.03 92.72