Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-10117 (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-naTGHyW1UhbG/agent.2073 SSH_AGENT_PID=2080 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_15735718672264060068.key (/w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_15735718672264060068.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/jenkins9313225905538767240.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-BaC8 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-BaC8/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.2 from /tmp/venv-BaC8/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/jenkins5469202352046113054.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/jenkins9805739312791685027.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.po7bFsmSGh ++ echo ROBOT_VENV=/tmp/tmp.po7bFsmSGh +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.po7bFsmSGh ++ source /tmp/tmp.po7bFsmSGh/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.po7bFsmSGh +++ 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.po7bFsmSGh/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.po7bFsmSGh) ' '!=' x ']' +++ PS1='(tmp.po7bFsmSGh) ' +++ 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.po7bFsmSGh/src/onap ++ rm -rf /tmp/tmp.po7bFsmSGh/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.po7bFsmSGh/bin/activate + '[' -z /tmp/tmp.po7bFsmSGh/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.po7bFsmSGh/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.po7bFsmSGh ++ 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.po7bFsmSGh/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.po7bFsmSGh) ' ++ '[' 'x(tmp.po7bFsmSGh) ' '!=' x ']' ++ PS1='(tmp.po7bFsmSGh) (tmp.po7bFsmSGh) ' ++ 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.HBSCKBZeoc + cd /tmp/tmp.HBSCKBZeoc + 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 prometheus ... Creating mariadb ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-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 policy-api Up 10 seconds policy-db-migrator Up 11 seconds grafana Up 13 seconds mariadb Up 12 seconds prometheus Up 14 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds mariadb Up 17 seconds prometheus Up 19 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds mariadb Up 22 seconds prometheus Up 24 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-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 ++ 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 + tee /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 18:14:51 up 3 min, 0 users, load average: 2.28, 0.95, 0.37 Tasks: 176 total, 1 running, 101 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.7 us, 2.1 sy, 0.0 ni, 83.7 id, 3.5 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.5G 25G 1.0M 4.0G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds mariadb Up 27 seconds prometheus Up 29 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 20a8df5f6f72 policy-api 0.09% 598.7MiB / 31.41GiB 1.86% 998kB / 710kB 0B / 0B 52 16f9414e16ec grafana 0.02% 51.72MiB / 31.41GiB 0.16% 18.5kB / 3.16kB 0B / 23.7MB 18 6fdaef10cd88 mariadb 0.01% 100.5MiB / 31.41GiB 0.31% 985kB / 1.17MB 10.8MB / 67.7MB 29 2348e35aa998 prometheus 0.06% 18.61MiB / 31.41GiB 0.06% 1.52kB / 158B 205kB / 0B 13 + echo + cd /tmp/tmp.HBSCKBZeoc + 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.HBSCKBZeoc/output.xml Log: /tmp/tmp.HBSCKBZeoc/log.html Report: /tmp/tmp.HBSCKBZeoc/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 policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 18:16:02 up 4 min, 0 users, load average: 0.82, 0.80, 0.36 Tasks: 174 total, 1 running, 99 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.0 us, 1.6 sy, 0.0 ni, 86.7 id, 2.6 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.8G 25G 1.0M 4.0G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute mariadb Up About a minute prometheus Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 20a8df5f6f72 policy-api 0.09% 860MiB / 31.41GiB 2.67% 7MB / 2.55MB 0B / 0B 53 16f9414e16ec grafana 1.32% 52.27MiB / 31.41GiB 0.16% 19.8kB / 4.49kB 0B / 23.7MB 18 6fdaef10cd88 mariadb 0.01% 101.4MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 10.8MB / 68MB 18 2348e35aa998 prometheus 0.00% 24.66MiB / 31.41GiB 0.08% 55.5kB / 6.59kB 205kB / 0B 13 + 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 policy-api, policy-db-migrator, grafana, mariadb, prometheus grafana | logger=settings t=2024-01-06T18:14:23.07310513Z level=info msg="Starting Grafana" version=10.2.3 commit=1e84fede543acc892d2a2515187e545eb047f237 branch=HEAD compiled=2023-12-18T15:46:07Z grafana | logger=settings t=2024-01-06T18:14:23.073324903Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-01-06T18:14:23.073340983Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-01-06T18:14:23.073345773Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-01-06T18:14:23.073349203Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-01-06T18:14:23.073352573Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-01-06T18:14:23.073356194Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-01-06T18:14:23.073359504Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-01-06T18:14:23.073362914Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-01-06T18:14:23.073366554Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-01-06T18:14:23.073369994Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-01-06T18:14:23.073374894Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-01-06T18:14:23.073378374Z level=info msg=Target target=[all] grafana | logger=settings t=2024-01-06T18:14:23.073383994Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-01-06T18:14:23.073387984Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-01-06T18:14:23.073391614Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-01-06T18:14:23.073395274Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-01-06T18:14:23.073398784Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-01-06T18:14:23.073402204Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-01-06T18:14:23.073693689Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-01-06T18:14:23.073714019Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-01-06T18:14:23.074334089Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-01-06T18:14:23.075380145Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-01-06T18:14:23.076137106Z level=info msg="Migration successfully executed" id="create migration_log table" duration=756.661µs grafana | logger=migrator t=2024-01-06T18:14:23.080406422Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-01-06T18:14:23.081076082Z level=info msg="Migration successfully executed" id="create user table" duration=670.14µs grafana | logger=migrator t=2024-01-06T18:14:23.088344564Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-01-06T18:14:23.089068385Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=723.431µs grafana | logger=migrator t=2024-01-06T18:14:23.092822653Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-01-06T18:14:23.093862099Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.038796ms grafana | logger=migrator t=2024-01-06T18:14:23.0978099Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-01-06T18:14:23.09849423Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=683.44µs grafana | logger=migrator t=2024-01-06T18:14:23.104377861Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-01-06T18:14:23.105054921Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=678.58µs grafana | logger=migrator t=2024-01-06T18:14:23.108347772Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-01-06T18:14:23.113251927Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=4.902925ms grafana | logger=migrator t=2024-01-06T18:14:23.117205888Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-01-06T18:14:23.118032581Z level=info msg="Migration successfully executed" id="create user table v2" duration=825.953µs grafana | logger=migrator t=2024-01-06T18:14:23.121420453Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-01-06T18:14:23.122243625Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=823.062µs grafana | logger=migrator t=2024-01-06T18:14:23.128339289Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-01-06T18:14:23.129184032Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=844.763µs grafana | logger=migrator t=2024-01-06T18:14:23.132754027Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-01-06T18:14:23.133159873Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=405.206µs grafana | logger=migrator t=2024-01-06T18:14:23.136424043Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-01-06T18:14:23.136940991Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=516.918µs grafana | logger=migrator t=2024-01-06T18:14:23.143501222Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-01-06T18:14:23.145555374Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=2.052212ms grafana | logger=migrator t=2024-01-06T18:14:23.149107028Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-01-06T18:14:23.149137119Z level=info msg="Migration successfully executed" id="Update user table charset" duration=30.221µs grafana | logger=migrator t=2024-01-06T18:14:23.152497521Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-01-06T18:14:23.153542917Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.044486ms grafana | logger=migrator t=2024-01-06T18:14:23.157121392Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-01-06T18:14:23.157448527Z level=info msg="Migration successfully executed" id="Add missing user data" duration=326.755µs grafana | logger=migrator t=2024-01-06T18:14:23.164256121Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-01-06T18:14:23.165939267Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.682666ms grafana | logger=migrator t=2024-01-06T18:14:23.16999551Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-01-06T18:14:23.171198568Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.202478ms grafana | logger=migrator t=2024-01-06T18:14:23.174765493Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-01-06T18:14:23.176045553Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.27913ms grafana | logger=migrator t=2024-01-06T18:14:23.179477055Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-01-06T18:14:23.18890803Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=9.431175ms grafana | logger=migrator t=2024-01-06T18:14:23.194696659Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-01-06T18:14:23.195314969Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=617.94µs grafana | logger=migrator t=2024-01-06T18:14:23.198591649Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-01-06T18:14:23.199387452Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=795.673µs grafana | logger=migrator t=2024-01-06T18:14:23.202952656Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-01-06T18:14:23.20380469Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=851.923µs grafana | logger=migrator t=2024-01-06T18:14:23.210128957Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-01-06T18:14:23.211579739Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.449672ms grafana | logger=migrator t=2024-01-06T18:14:23.215285786Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-01-06T18:14:23.216118959Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=832.963µs grafana | logger=migrator t=2024-01-06T18:14:23.219595762Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-01-06T18:14:23.219622773Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=27.331µs grafana | logger=migrator t=2024-01-06T18:14:23.225777937Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-01-06T18:14:23.226547759Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=768.522µs grafana | logger=migrator t=2024-01-06T18:14:23.230380968Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-01-06T18:14:23.231585447Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.203949ms grafana | logger=migrator t=2024-01-06T18:14:23.235199472Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-01-06T18:14:23.23636524Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.165878ms grafana | logger=migrator t=2024-01-06T18:14:23.242717878Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-01-06T18:14:23.243537071Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=818.642µs grafana | logger=migrator t=2024-01-06T18:14:23.246921573Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-06T18:14:23.252558999Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=5.640987ms grafana | logger=migrator t=2024-01-06T18:14:23.255958272Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-01-06T18:14:23.256811605Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=853.263µs grafana | logger=migrator t=2024-01-06T18:14:23.262670895Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-01-06T18:14:23.263552878Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=883.813µs grafana | logger=migrator t=2024-01-06T18:14:23.266835429Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-01-06T18:14:23.267685582Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=849.743µs grafana | logger=migrator t=2024-01-06T18:14:23.271963008Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-01-06T18:14:23.27278795Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=824.232µs grafana | logger=migrator t=2024-01-06T18:14:23.278758212Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-01-06T18:14:23.27989728Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.137028ms grafana | logger=migrator t=2024-01-06T18:14:23.283771979Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-01-06T18:14:23.284588072Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=815.613µs grafana | logger=migrator t=2024-01-06T18:14:23.288533892Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-01-06T18:14:23.289170852Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=638.84µs grafana | logger=migrator t=2024-01-06T18:14:23.292720177Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-01-06T18:14:23.293246165Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=525.298µs grafana | logger=migrator t=2024-01-06T18:14:23.298508086Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-01-06T18:14:23.299587552Z level=info msg="Migration successfully executed" id="create star table" duration=1.078496ms grafana | logger=migrator t=2024-01-06T18:14:23.303678065Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-01-06T18:14:23.304720971Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.043626ms grafana | logger=migrator t=2024-01-06T18:14:23.307994412Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-01-06T18:14:23.308799724Z level=info msg="Migration successfully executed" id="create org table v1" duration=804.932µs grafana | logger=migrator t=2024-01-06T18:14:23.316467822Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-01-06T18:14:23.317310525Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=842.123µs grafana | logger=migrator t=2024-01-06T18:14:23.320580785Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-01-06T18:14:23.321455059Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=872.094µs grafana | logger=migrator t=2024-01-06T18:14:23.325216117Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-01-06T18:14:23.326861982Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.645155ms grafana | logger=migrator t=2024-01-06T18:14:23.330784522Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-01-06T18:14:23.331834538Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.049276ms grafana | logger=migrator t=2024-01-06T18:14:23.337415014Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-01-06T18:14:23.338059144Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=644.07µs grafana | logger=migrator t=2024-01-06T18:14:23.341874983Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-01-06T18:14:23.341893763Z level=info msg="Migration successfully executed" id="Update org table charset" duration=19.49µs grafana | logger=migrator t=2024-01-06T18:14:23.344879359Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-01-06T18:14:23.344897629Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=18.76µs grafana | logger=migrator t=2024-01-06T18:14:23.347991727Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-01-06T18:14:23.348287501Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=292.044µs grafana | logger=migrator t=2024-01-06T18:14:23.35406599Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-01-06T18:14:23.35532037Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.250489ms grafana | logger=migrator t=2024-01-06T18:14:23.358989296Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-01-06T18:14:23.3598989Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=909.244µs grafana | logger=migrator t=2024-01-06T18:14:23.363311882Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-01-06T18:14:23.364359879Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.046336ms grafana | logger=migrator t=2024-01-06T18:14:23.368140177Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-01-06T18:14:23.369412076Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.271499ms grafana | logger=migrator t=2024-01-06T18:14:23.374764279Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-01-06T18:14:23.375663632Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=898.834µs grafana | logger=migrator t=2024-01-06T18:14:23.379284378Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-01-06T18:14:23.380176652Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=891.634µs grafana | logger=migrator t=2024-01-06T18:14:23.383443682Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-01-06T18:14:23.389922212Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=6.47559ms grafana | logger=migrator t=2024-01-06T18:14:23.396154357Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-01-06T18:14:23.396902739Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=747.642µs grafana | logger=migrator t=2024-01-06T18:14:23.400316091Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-01-06T18:14:23.401111114Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=795.313µs grafana | logger=migrator t=2024-01-06T18:14:23.404476725Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-01-06T18:14:23.405301108Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=824.163µs grafana | logger=migrator t=2024-01-06T18:14:23.411225129Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-01-06T18:14:23.411634495Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=409.056µs grafana | logger=migrator t=2024-01-06T18:14:23.414725113Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-01-06T18:14:23.415595316Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=869.703µs grafana | logger=migrator t=2024-01-06T18:14:23.418819276Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-01-06T18:14:23.418918428Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=98.741µs grafana | logger=migrator t=2024-01-06T18:14:23.423206623Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-01-06T18:14:23.426138609Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=2.916115ms grafana | logger=migrator t=2024-01-06T18:14:23.429761894Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" grafana | logger=migrator t=2024-01-06T18:14:23.431629133Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.866819ms grafana | logger=migrator t=2024-01-06T18:14:23.434958754Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-01-06T18:14:23.436833713Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.873859ms grafana | logger=migrator t=2024-01-06T18:14:23.441131699Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-01-06T18:14:23.441988942Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=856.413µs grafana | logger=migrator t=2024-01-06T18:14:23.445564747Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-01-06T18:14:23.448836888Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=3.271521ms grafana | logger=migrator t=2024-01-06T18:14:23.452509284Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2024-01-06T18:14:23.453944776Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.435522ms grafana | logger=migrator t=2024-01-06T18:14:23.458471236Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-01-06T18:14:23.45938971Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=917.964µs grafana | logger=migrator t=2024-01-06T18:14:23.462999335Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-01-06T18:14:23.463025936Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=27.521µs grafana | logger=migrator t=2024-01-06T18:14:23.467887021Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-01-06T18:14:23.467933511Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=47.371µs grafana | logger=migrator t=2024-01-06T18:14:23.472489011Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-01-06T18:14:23.475991325Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.501514ms grafana | logger=migrator t=2024-01-06T18:14:23.480907681Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-01-06T18:14:23.482993233Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.087512ms grafana | logger=migrator t=2024-01-06T18:14:23.4860448Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-01-06T18:14:23.4880213Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.97592ms grafana | logger=migrator t=2024-01-06T18:14:23.492383067Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-01-06T18:14:23.494427289Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.043012ms grafana | logger=migrator t=2024-01-06T18:14:23.497546417Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-01-06T18:14:23.497857701Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=310.834µs grafana | logger=migrator t=2024-01-06T18:14:23.501408146Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-01-06T18:14:23.502360381Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=952.005µs grafana | logger=migrator t=2024-01-06T18:14:23.506147359Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-01-06T18:14:23.507037033Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=889.674µs grafana | logger=migrator t=2024-01-06T18:14:23.51142947Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-01-06T18:14:23.511458101Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=26.12µs grafana | logger=migrator t=2024-01-06T18:14:23.515046246Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-01-06T18:14:23.516460067Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.413721ms grafana | logger=migrator t=2024-01-06T18:14:23.520285006Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-01-06T18:14:23.521413454Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.127498ms grafana | logger=migrator t=2024-01-06T18:14:23.525991534Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-06T18:14:23.532958731Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=6.966397ms grafana | logger=migrator t=2024-01-06T18:14:23.536081019Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-01-06T18:14:23.536856131Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=772.532µs grafana | logger=migrator t=2024-01-06T18:14:23.54004792Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-01-06T18:14:23.540931744Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=882.544µs grafana | logger=migrator t=2024-01-06T18:14:23.545031347Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-01-06T18:14:23.545929661Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=897.714µs grafana | logger=migrator t=2024-01-06T18:14:23.549419664Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-01-06T18:14:23.550018014Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=601.869µs grafana | logger=migrator t=2024-01-06T18:14:23.553771611Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-01-06T18:14:23.554769657Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=996.916µs grafana | logger=migrator t=2024-01-06T18:14:23.559350487Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-01-06T18:14:23.561457799Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.106802ms grafana | logger=migrator t=2024-01-06T18:14:23.564900222Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-01-06T18:14:23.565801916Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=901.964µs grafana | logger=migrator t=2024-01-06T18:14:23.569498783Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-01-06T18:14:23.569761147Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=261.554µs grafana | logger=migrator t=2024-01-06T18:14:23.573893311Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-01-06T18:14:23.574186195Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=292.064µs grafana | logger=migrator t=2024-01-06T18:14:23.577620128Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-01-06T18:14:23.578531852Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=911.644µs grafana | logger=migrator t=2024-01-06T18:14:23.581962105Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-01-06T18:14:23.585059632Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.095057ms grafana | logger=migrator t=2024-01-06T18:14:23.589177706Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2024-01-06T18:14:23.590651848Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.473622ms grafana | logger=migrator t=2024-01-06T18:14:23.595192358Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-01-06T18:14:23.596028661Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=837.503µs grafana | logger=migrator t=2024-01-06T18:14:23.599401063Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-01-06T18:14:23.600372528Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=970.055µs grafana | logger=migrator t=2024-01-06T18:14:23.604137326Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-01-06T18:14:23.605412385Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.275139ms grafana | logger=migrator t=2024-01-06T18:14:23.610079227Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-01-06T18:14:23.6109297Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=849.453µs grafana | logger=migrator t=2024-01-06T18:14:23.614525876Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-01-06T18:14:23.622448797Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=7.922082ms grafana | logger=migrator t=2024-01-06T18:14:23.627269661Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-01-06T18:14:23.628156955Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=888.994µs grafana | logger=migrator t=2024-01-06T18:14:23.631625918Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-01-06T18:14:23.632585853Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=968.685µs grafana | logger=migrator t=2024-01-06T18:14:23.635928855Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-01-06T18:14:23.636856809Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=927.384µs grafana | logger=migrator t=2024-01-06T18:14:23.641135585Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-01-06T18:14:23.641844466Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=708.261µs grafana | logger=migrator t=2024-01-06T18:14:23.64539561Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-01-06T18:14:23.649166138Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.769568ms grafana | logger=migrator t=2024-01-06T18:14:23.652793234Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-01-06T18:14:23.65514084Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.346826ms grafana | logger=migrator t=2024-01-06T18:14:23.659300454Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-01-06T18:14:23.659324834Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=25.18µs grafana | logger=migrator t=2024-01-06T18:14:23.662548854Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-01-06T18:14:23.662843069Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=294.034µs grafana | logger=migrator t=2024-01-06T18:14:23.666567236Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-01-06T18:14:23.670341024Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.772628ms grafana | logger=migrator t=2024-01-06T18:14:23.674125452Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-01-06T18:14:23.674398556Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=273.644µs grafana | logger=migrator t=2024-01-06T18:14:23.678689732Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-01-06T18:14:23.678920116Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=231.384µs grafana | logger=migrator t=2024-01-06T18:14:23.682066684Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-01-06T18:14:23.68571559Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.646816ms grafana | logger=migrator t=2024-01-06T18:14:23.68963297Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-01-06T18:14:23.690005676Z level=info msg="Migration successfully executed" id="Update uid value" duration=368.666µs grafana | logger=migrator t=2024-01-06T18:14:23.693588221Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-01-06T18:14:23.694504265Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=915.784µs grafana | logger=migrator t=2024-01-06T18:14:23.699012395Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-01-06T18:14:23.700391806Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.378961ms grafana | logger=migrator t=2024-01-06T18:14:23.704075393Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-01-06T18:14:23.70523543Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.158897ms grafana | logger=migrator t=2024-01-06T18:14:23.709705878Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-01-06T18:14:23.710550221Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=843.513µs grafana | logger=migrator t=2024-01-06T18:14:23.713914413Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-01-06T18:14:23.715181572Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.266139ms grafana | logger=migrator t=2024-01-06T18:14:23.718870599Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-01-06T18:14:23.720264411Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.393841ms grafana | logger=migrator t=2024-01-06T18:14:23.726202672Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-01-06T18:14:23.726998654Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=796.162µs grafana | logger=migrator t=2024-01-06T18:14:23.730321955Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-01-06T18:14:23.731100377Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=777.922µs grafana | logger=migrator t=2024-01-06T18:14:23.73454793Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-01-06T18:14:23.735324242Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=775.862µs grafana | logger=migrator t=2024-01-06T18:14:23.740152496Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-01-06T18:14:23.751318958Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=11.166802ms grafana | logger=migrator t=2024-01-06T18:14:23.75470333Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-01-06T18:14:23.755418741Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=714.931µs grafana | logger=migrator t=2024-01-06T18:14:23.75862514Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-01-06T18:14:23.759436103Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=810.863µs grafana | logger=migrator t=2024-01-06T18:14:23.76378759Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-01-06T18:14:23.765062679Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.274949ms grafana | logger=migrator t=2024-01-06T18:14:23.769104872Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-01-06T18:14:23.771108032Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=2.009331ms grafana | logger=migrator t=2024-01-06T18:14:23.774894841Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-01-06T18:14:23.775302397Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=408.726µs grafana | logger=migrator t=2024-01-06T18:14:23.778288553Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-01-06T18:14:23.779112025Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=823.092µs grafana | logger=migrator t=2024-01-06T18:14:23.784408187Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-01-06T18:14:23.784451898Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=44.991µs grafana | logger=migrator t=2024-01-06T18:14:23.789507655Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-01-06T18:14:23.79436211Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.859145ms grafana | logger=migrator t=2024-01-06T18:14:23.797940965Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-01-06T18:14:23.800488654Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.547369ms grafana | logger=migrator t=2024-01-06T18:14:23.803505721Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-01-06T18:14:23.803752454Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=246.213µs grafana | logger=migrator t=2024-01-06T18:14:23.806844122Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-01-06T18:14:23.80931366Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.469258ms policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb (172.17.0.3) 3306 port [tcp/mysql] succeeded! policy-db-migrator | 321 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Preparing upgrade release version: 1300 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 policy-db-migrator | upgrade: 0 -> 1300 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:23.814196865Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-01-06T18:14:23.816781965Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.58853ms grafana | logger=migrator t=2024-01-06T18:14:23.819977984Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-01-06T18:14:23.820709795Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=731.251µs grafana | logger=migrator t=2024-01-06T18:14:23.823693861Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-01-06T18:14:23.824315731Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=620.92µs grafana | logger=migrator t=2024-01-06T18:14:23.829294777Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-01-06T18:14:23.830086469Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=791.002µs grafana | logger=migrator t=2024-01-06T18:14:23.833755026Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-01-06T18:14:23.835249199Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.491343ms grafana | logger=migrator t=2024-01-06T18:14:23.839103338Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-01-06T18:14:23.840617731Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.514333ms grafana | logger=migrator t=2024-01-06T18:14:23.846557823Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-01-06T18:14:23.847816122Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=1.260259ms grafana | logger=migrator t=2024-01-06T18:14:23.850975761Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-01-06T18:14:23.851116393Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=141.932µs grafana | logger=migrator t=2024-01-06T18:14:23.854674987Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-01-06T18:14:23.854742499Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=68.361µs grafana | logger=migrator t=2024-01-06T18:14:23.860735501Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" grafana | logger=migrator t=2024-01-06T18:14:23.86521272Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.480298ms grafana | logger=migrator t=2024-01-06T18:14:23.868316437Z level=info msg="Executing migration" id="Add encrypted dashboard json column" grafana | logger=migrator t=2024-01-06T18:14:23.870967268Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.650271ms grafana | logger=migrator t=2024-01-06T18:14:23.874075386Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" grafana | logger=migrator t=2024-01-06T18:14:23.874161107Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=86.061µs grafana | logger=migrator t=2024-01-06T18:14:23.877130203Z level=info msg="Executing migration" id="create quota table v1" grafana | logger=migrator t=2024-01-06T18:14:23.877774253Z level=info msg="Migration successfully executed" id="create quota table v1" duration=643.46µs grafana | logger=migrator t=2024-01-06T18:14:23.883071324Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" grafana | logger=migrator t=2024-01-06T18:14:23.884455775Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.381971ms grafana | logger=migrator t=2024-01-06T18:14:23.888132992Z level=info msg="Executing migration" id="Update quota table charset" grafana | logger=migrator t=2024-01-06T18:14:23.888169453Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=37.211µs grafana | logger=migrator t=2024-01-06T18:14:23.890989636Z level=info msg="Executing migration" id="create plugin_setting table" grafana | logger=migrator t=2024-01-06T18:14:23.891941331Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=952.274µs grafana | logger=migrator t=2024-01-06T18:14:23.897485006Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" grafana | logger=migrator t=2024-01-06T18:14:23.898348279Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=862.203µs grafana | logger=migrator t=2024-01-06T18:14:23.902060206Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" grafana | logger=migrator t=2024-01-06T18:14:23.907849485Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=5.789739ms grafana | logger=migrator t=2024-01-06T18:14:23.91207536Z level=info msg="Executing migration" id="Update plugin_setting table charset" grafana | logger=migrator t=2024-01-06T18:14:23.912117861Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=28.941µs grafana | logger=migrator t=2024-01-06T18:14:23.918297496Z level=info msg="Executing migration" id="create session table" grafana | logger=migrator t=2024-01-06T18:14:23.919305131Z level=info msg="Migration successfully executed" id="create session table" duration=1.007475ms grafana | logger=migrator t=2024-01-06T18:14:23.922700424Z level=info msg="Executing migration" id="Drop old table playlist table" grafana | logger=migrator t=2024-01-06T18:14:23.922876796Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=175.013µs grafana | logger=migrator t=2024-01-06T18:14:23.926456991Z level=info msg="Executing migration" id="Drop old table playlist_item table" grafana | logger=migrator t=2024-01-06T18:14:23.926615984Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=158.913µs grafana | logger=migrator t=2024-01-06T18:14:23.93028767Z level=info msg="Executing migration" id="create playlist table v2" grafana | logger=migrator t=2024-01-06T18:14:23.931398747Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.114177ms grafana | logger=migrator t=2024-01-06T18:14:23.937100605Z level=info msg="Executing migration" id="create playlist item table v2" grafana | logger=migrator t=2024-01-06T18:14:23.938472636Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.367821ms grafana | logger=migrator t=2024-01-06T18:14:23.943061137Z level=info msg="Executing migration" id="Update playlist table charset" grafana | logger=migrator t=2024-01-06T18:14:23.943099677Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=40.45µs grafana | logger=migrator t=2024-01-06T18:14:23.946286036Z level=info msg="Executing migration" id="Update playlist_item table charset" grafana | logger=migrator t=2024-01-06T18:14:23.946313837Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=30.651µs prometheus | ts=2024-01-06T18:14:22.168Z caller=main.go:539 level=info msg="No time or size retention was set so using the default time retention" duration=15d prometheus | ts=2024-01-06T18:14:22.168Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.48.1, branch=HEAD, revision=63894216648f0d6be310c9d16fb48293c45c9310)" prometheus | ts=2024-01-06T18:14:22.168Z 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)" prometheus | ts=2024-01-06T18:14:22.168Z 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))" prometheus | ts=2024-01-06T18:14:22.168Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" prometheus | ts=2024-01-06T18:14:22.168Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" prometheus | ts=2024-01-06T18:14:22.174Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 prometheus | ts=2024-01-06T18:14:22.175Z caller=main.go:1024 level=info msg="Starting TSDB ..." prometheus | ts=2024-01-06T18:14:22.177Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 prometheus | ts=2024-01-06T18:14:22.177Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 prometheus | ts=2024-01-06T18:14:22.183Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" prometheus | ts=2024-01-06T18:14:22.183Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=5.97µs prometheus | ts=2024-01-06T18:14:22.183Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" prometheus | ts=2024-01-06T18:14:22.184Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 prometheus | ts=2024-01-06T18:14:22.184Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=57.742µs wal_replay_duration=1.4729ms wbl_replay_duration=340ns total_replay_duration=1.580704ms prometheus | ts=2024-01-06T18:14:22.189Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC prometheus | ts=2024-01-06T18:14:22.190Z caller=main.go:1048 level=info msg="TSDB started" prometheus | ts=2024-01-06T18:14:22.190Z caller=main.go:1230 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml prometheus | ts=2024-01-06T18:14:22.192Z caller=main.go:1267 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=2.099312ms db_storage=2µs remote_storage=3.061µs web_handler=1.04µs query_engine=1.53µs scrape=1.253543ms scrape_sd=140.904µs notify=53.422µs notify_sd=20.081µs rules=2.81µs tracing=7.86µs prometheus | ts=2024-01-06T18:14:22.192Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." prometheus | ts=2024-01-06T18:14:22.192Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." grafana | logger=migrator t=2024-01-06T18:14:23.951294003Z level=info msg="Executing migration" id="Add playlist column created_at" grafana | logger=migrator t=2024-01-06T18:14:23.95430808Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=3.014127ms grafana | logger=migrator t=2024-01-06T18:14:23.957293576Z level=info msg="Executing migration" id="Add playlist column updated_at" grafana | logger=migrator t=2024-01-06T18:14:23.960670127Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.376082ms grafana | logger=migrator t=2024-01-06T18:14:23.963398929Z level=info msg="Executing migration" id="drop preferences table v2" grafana | logger=migrator t=2024-01-06T18:14:23.963503441Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=104.842µs grafana | logger=migrator t=2024-01-06T18:14:23.965966559Z level=info msg="Executing migration" id="drop preferences table v3" grafana | logger=migrator t=2024-01-06T18:14:23.96606633Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=99.481µs grafana | logger=migrator t=2024-01-06T18:14:23.971026167Z level=info msg="Executing migration" id="create preferences table v3" grafana | logger=migrator t=2024-01-06T18:14:23.972095253Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.067566ms grafana | logger=migrator t=2024-01-06T18:14:23.976536531Z level=info msg="Executing migration" id="Update preferences table charset" grafana | logger=migrator t=2024-01-06T18:14:23.976608033Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=72.371µs grafana | logger=migrator t=2024-01-06T18:14:23.979783991Z level=info msg="Executing migration" id="Add column team_id in preferences" grafana | logger=migrator t=2024-01-06T18:14:23.983098272Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.314851ms grafana | logger=migrator t=2024-01-06T18:14:23.987599952Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-01-06T18:14:23.987766484Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=166.662µs grafana | logger=migrator t=2024-01-06T18:14:23.989749115Z level=info msg="Executing migration" id="Add column week_start in preferences" grafana | logger=migrator t=2024-01-06T18:14:23.992753971Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.004656ms grafana | logger=migrator t=2024-01-06T18:14:23.995796058Z level=info msg="Executing migration" id="Add column preferences.json_data" grafana | logger=migrator t=2024-01-06T18:14:23.998851605Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.054897ms grafana | logger=migrator t=2024-01-06T18:14:24.002209106Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" grafana | logger=migrator t=2024-01-06T18:14:24.002325618Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=124.402µs grafana | logger=migrator t=2024-01-06T18:14:24.007027251Z level=info msg="Executing migration" id="Add preferences index org_id" grafana | logger=migrator t=2024-01-06T18:14:24.007977244Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=949.713µs grafana | logger=migrator t=2024-01-06T18:14:24.010992086Z level=info msg="Executing migration" id="Add preferences index user_id" grafana | logger=migrator t=2024-01-06T18:14:24.011920668Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=928.462µs grafana | logger=migrator t=2024-01-06T18:14:24.014824858Z level=info msg="Executing migration" id="create alert table v1" grafana | logger=migrator t=2024-01-06T18:14:24.016287868Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.462419ms grafana | logger=migrator t=2024-01-06T18:14:24.020782569Z level=info msg="Executing migration" id="add index alert org_id & id " grafana | logger=migrator t=2024-01-06T18:14:24.021741462Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=960.593µs grafana | logger=migrator t=2024-01-06T18:14:24.024683692Z level=info msg="Executing migration" id="add index alert state" grafana | logger=migrator t=2024-01-06T18:14:24.025578514Z level=info msg="Migration successfully executed" id="add index alert state" duration=897.162µs grafana | logger=migrator t=2024-01-06T18:14:24.030299998Z level=info msg="Executing migration" id="add index alert dashboard_id" grafana | logger=migrator t=2024-01-06T18:14:24.03118332Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=882.702µs grafana | logger=migrator t=2024-01-06T18:14:24.034729938Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" grafana | logger=migrator t=2024-01-06T18:14:24.035459158Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=724.51µs grafana | logger=migrator t=2024-01-06T18:14:24.038245096Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" grafana | logger=migrator t=2024-01-06T18:14:24.039710426Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.465ms grafana | logger=migrator t=2024-01-06T18:14:24.04443945Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" grafana | logger=migrator t=2024-01-06T18:14:24.045302622Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=864.482µs grafana | logger=migrator t=2024-01-06T18:14:24.048421614Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" grafana | logger=migrator t=2024-01-06T18:14:24.062684508Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=14.262014ms grafana | logger=migrator t=2024-01-06T18:14:24.065497066Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" grafana | logger=migrator t=2024-01-06T18:14:24.065987113Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=489.647µs grafana | logger=migrator t=2024-01-06T18:14:24.070696997Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" grafana | logger=migrator t=2024-01-06T18:14:24.07164998Z 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=952.773µs grafana | logger=migrator t=2024-01-06T18:14:24.07458667Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" grafana | logger=migrator t=2024-01-06T18:14:24.074867204Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=280.384µs grafana | logger=migrator t=2024-01-06T18:14:24.077690152Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" grafana | logger=migrator t=2024-01-06T18:14:24.078504853Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=814.161µs grafana | logger=migrator t=2024-01-06T18:14:24.084430364Z level=info msg="Executing migration" id="create alert_notification table v1" grafana | logger=migrator t=2024-01-06T18:14:24.085499858Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.069424ms policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.3:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.5:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v3.1.4) policy-api | policy-api | [2024-01-06T18:14:37.437+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-06T18:14:37.439+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-01-06T18:14:39.048+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-01-06T18:14:39.133+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 76 ms. Found 6 JPA repository interfaces. policy-api | [2024-01-06T18:14:39.514+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-06T18:14:39.515+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-06T18:14:40.112+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-01-06T18:14:40.120+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-01-06T18:14:40.122+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-01-06T18:14:40.122+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] policy-api | [2024-01-06T18:14:40.207+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-01-06T18:14:40.207+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2707 ms policy-api | [2024-01-06T18:14:40.632+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-01-06T18:14:40.702+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-api | [2024-01-06T18:14:40.706+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-api | [2024-01-06T18:14:40.748+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-api | [2024-01-06T18:14:41.107+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-api | [2024-01-06T18:14:41.125+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-01-06T18:14:41.217+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@2620e717 policy-api | [2024-01-06T18:14:41.219+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-01-06T18:14:41.244+00:00|WARN|deprecation|main] HHH90000025: MariaDB103Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) policy-api | [2024-01-06T18:14:41.246+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead policy-api | [2024-01-06T18:14:42.980+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-api | [2024-01-06T18:14:42.983+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-01-06T18:14:44.223+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-01-06T18:14:44.956+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-01-06T18:14:45.881+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2024-01-06T18:14:46.060+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@6f3a8d5e, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@680f7a5e, org.springframework.security.web.context.SecurityContextHolderFilter@56d3e4a9, org.springframework.security.web.header.HeaderWriterFilter@36c6d53b, org.springframework.security.web.authentication.logout.LogoutFilter@3341ba8e, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@2f84848e, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@2542d320, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@66161fee, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@3005133e, org.springframework.security.web.access.ExceptionTranslationFilter@69cf9acb, org.springframework.security.web.access.intercept.AuthorizationFilter@58a01e47] policy-api | [2024-01-06T18:14:46.884+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-01-06T18:14:46.936+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-01-06T18:14:46.960+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-01-06T18:14:46.982+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.257 seconds (process running for 10.821) policy-api | [2024-01-06T18:14:54.551+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-3] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-01-06T18:14:54.551+00:00|INFO|DispatcherServlet|http-nio-6969-exec-3] Initializing Servlet 'dispatcherServlet' policy-api | [2024-01-06T18:14:54.553+00:00|INFO|DispatcherServlet|http-nio-6969-exec-3] Completed initialization in 1 ms policy-api | [2024-01-06T18:14:57.066+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-5] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2024-01-06T18:14:57.174+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2024-01-06T18:14:57.404+00:00|WARN|CommonRestController|http-nio-6969-exec-6] POST /policytypes policy-api | [2024-01-06T18:14:58.494+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies policy-api | [2024-01-06T18:15:00.385+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-01-06T18:15:00.689+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-01-06T18:15:00.908+00:00|WARN|CommonRestController|http-nio-6969-exec-3] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2024-01-06T18:15:01.139+00:00|WARN|CommonRestController|http-nio-6969-exec-5] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-01-06T18:15:01.366+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2024-01-06T18:15:01.592+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2024-01-06T18:14:24.088826303Z level=info msg="Executing migration" id="Add column is_default" grafana | logger=migrator t=2024-01-06T18:14:24.093788761Z level=info msg="Migration successfully executed" id="Add column is_default" duration=4.963488ms grafana | logger=migrator t=2024-01-06T18:14:24.097068525Z level=info msg="Executing migration" id="Add column frequency" grafana | logger=migrator t=2024-01-06T18:14:24.100522822Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.454047ms grafana | logger=migrator t=2024-01-06T18:14:24.105118485Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2024-01-06T18:14:24.108592542Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.473447ms grafana | logger=migrator t=2024-01-06T18:14:24.111727885Z level=info msg="Executing migration" id="Add column disable_resolve_message" grafana | logger=migrator t=2024-01-06T18:14:24.115221822Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.493207ms grafana | logger=migrator t=2024-01-06T18:14:24.118404205Z level=info msg="Executing migration" id="add index alert_notification org_id & name" grafana | logger=migrator t=2024-01-06T18:14:24.119285357Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=880.692µs grafana | logger=migrator t=2024-01-06T18:14:24.123540885Z level=info msg="Executing migration" id="Update alert table charset" grafana | logger=migrator t=2024-01-06T18:14:24.123626396Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=85.491µs grafana | logger=migrator t=2024-01-06T18:14:24.126161331Z level=info msg="Executing migration" id="Update alert_notification table charset" grafana | logger=migrator t=2024-01-06T18:14:24.126248262Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=37.91µs grafana | logger=migrator t=2024-01-06T18:14:24.129692159Z level=info msg="Executing migration" id="create notification_journal table v1" grafana | logger=migrator t=2024-01-06T18:14:24.130748143Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.055674ms grafana | logger=migrator t=2024-01-06T18:14:24.134815488Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-01-06T18:14:24.135715751Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=899.943µs grafana | logger=migrator t=2024-01-06T18:14:24.138758762Z level=info msg="Executing migration" id="drop alert_notification_journal" grafana | logger=migrator t=2024-01-06T18:14:24.139449391Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=690.449µs grafana | logger=migrator t=2024-01-06T18:14:24.142519333Z level=info msg="Executing migration" id="create alert_notification_state table v1" grafana | logger=migrator t=2024-01-06T18:14:24.143608798Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.089135ms grafana | logger=migrator t=2024-01-06T18:14:24.147628132Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" grafana | logger=migrator t=2024-01-06T18:14:24.149343786Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.717384ms grafana | logger=migrator t=2024-01-06T18:14:24.152934445Z level=info msg="Executing migration" id="Add for to alert table" grafana | logger=migrator t=2024-01-06T18:14:24.157812671Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=4.877557ms grafana | logger=migrator t=2024-01-06T18:14:24.160782701Z level=info msg="Executing migration" id="Add column uid in alert_notification" grafana | logger=migrator t=2024-01-06T18:14:24.164508502Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.724931ms grafana | logger=migrator t=2024-01-06T18:14:24.171448176Z level=info msg="Executing migration" id="Update uid column values in alert_notification" grafana | logger=migrator t=2024-01-06T18:14:24.171649579Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=201.423µs grafana | logger=migrator t=2024-01-06T18:14:24.175114826Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" grafana | logger=migrator t=2024-01-06T18:14:24.176684797Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.569451ms grafana | logger=migrator t=2024-01-06T18:14:24.18127666Z level=info msg="Executing migration" id="Remove unique index org_id_name" grafana | logger=migrator t=2024-01-06T18:14:24.182226713Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=948.883µs grafana | logger=migrator t=2024-01-06T18:14:24.18645454Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" grafana | logger=migrator t=2024-01-06T18:14:24.190964071Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=4.508451ms grafana | logger=migrator t=2024-01-06T18:14:24.194815954Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" grafana | logger=migrator t=2024-01-06T18:14:24.195015216Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=199.142µs grafana | logger=migrator t=2024-01-06T18:14:24.198174849Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" grafana | logger=migrator t=2024-01-06T18:14:24.199197043Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.021034ms grafana | logger=migrator t=2024-01-06T18:14:24.204200231Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" grafana | logger=migrator t=2024-01-06T18:14:24.206109817Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.909196ms grafana | logger=migrator t=2024-01-06T18:14:24.211571651Z level=info msg="Executing migration" id="Drop old annotation table v4" grafana | logger=migrator t=2024-01-06T18:14:24.211674163Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=103.162µs grafana | logger=migrator t=2024-01-06T18:14:24.213798562Z level=info msg="Executing migration" id="create annotation table v5" grafana | logger=migrator t=2024-01-06T18:14:24.214575522Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=777.05µs grafana | logger=migrator t=2024-01-06T18:14:24.218517976Z level=info msg="Executing migration" id="add index annotation 0 v3" grafana | logger=migrator t=2024-01-06T18:14:24.220410922Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.892015ms grafana | logger=migrator t=2024-01-06T18:14:24.223667506Z level=info msg="Executing migration" id="add index annotation 1 v3" grafana | logger=migrator t=2024-01-06T18:14:24.225247537Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.577481ms grafana | logger=migrator t=2024-01-06T18:14:24.229795639Z level=info msg="Executing migration" id="add index annotation 2 v3" grafana | logger=migrator t=2024-01-06T18:14:24.230764052Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=968.153µs policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | mariadb | 2024-01-06 18:14:24+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-01-06 18:14:24+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-01-06 18:14:24+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-01-06 18:14:24+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-01-06 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) mariadb | 2024-01-06 18:14:24 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-06 18:14:24 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2024-01-06 18:14:26+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-01-06 18:14:26+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-01-06 18:14:26+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-01-06 18:14:26 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 97 ... mariadb | 2024-01-06 18:14:26 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-01-06 18:14:26 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-01-06 18:14:26 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-01-06 18:14:26 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-01-06 18:14:26 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-01-06 18:14:26 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-06 18:14:26 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-01-06 18:14:26 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-01-06 18:14:26 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-01-06 18:14:26 0 [Note] InnoDB: 128 rollback segments are active. policy-db-migrator | policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0450-pdpgroup.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0460-pdppolicystatus.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0470-pdp.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0480-pdpstatistics.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql policy-db-migrator | -------------- mariadb | 2024-01-06 18:14:26 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-01-06 18:14:26 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-01-06 18:14:26 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-01-06 18:14:26 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-01-06 18:14:26 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-01-06 18:14:26 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-01-06 18:14:26 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-01-06 18:14:26 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2024-01-06 18:14:27+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-01-06 18:14:28+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-01-06 18:14:28+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | mariadb | 2024-01-06 18:14:28+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | 2024-01-06 18:14:28+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at grafana | logger=migrator t=2024-01-06T18:14:24.236654662Z level=info msg="Executing migration" id="add index annotation 3 v3" grafana | logger=migrator t=2024-01-06T18:14:24.23793013Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.275028ms grafana | logger=migrator t=2024-01-06T18:14:24.241427167Z level=info msg="Executing migration" id="add index annotation 4 v3" grafana | logger=migrator t=2024-01-06T18:14:24.243230992Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.803425ms grafana | logger=migrator t=2024-01-06T18:14:24.249303454Z level=info msg="Executing migration" id="Update annotation table charset" grafana | logger=migrator t=2024-01-06T18:14:24.249361275Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=58.581µs grafana | logger=migrator t=2024-01-06T18:14:24.253132376Z level=info msg="Executing migration" id="Add column region_id to annotation table" grafana | logger=migrator t=2024-01-06T18:14:24.257236152Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.103266ms grafana | logger=migrator t=2024-01-06T18:14:24.26078345Z level=info msg="Executing migration" id="Drop category_id index" grafana | logger=migrator t=2024-01-06T18:14:24.261721473Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=938.103µs grafana | logger=migrator t=2024-01-06T18:14:24.266072122Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2024-01-06T18:14:24.272314437Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=6.240565ms grafana | logger=migrator t=2024-01-06T18:14:24.275855355Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2024-01-06T18:14:24.276381662Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=526.007µs grafana | logger=migrator t=2024-01-06T18:14:24.280443037Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" grafana | logger=migrator t=2024-01-06T18:14:24.281193158Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=749.12µs grafana | logger=migrator t=2024-01-06T18:14:24.292934027Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" grafana | logger=migrator t=2024-01-06T18:14:24.296296663Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=3.363836ms grafana | logger=migrator t=2024-01-06T18:14:24.301017407Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" grafana | logger=migrator t=2024-01-06T18:14:24.315176299Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=14.158922ms grafana | logger=migrator t=2024-01-06T18:14:24.32113245Z level=info msg="Executing migration" id="Create annotation_tag table v3" grafana | logger=migrator t=2024-01-06T18:14:24.3218763Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=743.38µs grafana | logger=migrator t=2024-01-06T18:14:24.326795917Z 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" grafana | logger=migrator t=2024-01-06T18:14:24.327805231Z 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.006844ms grafana | logger=migrator t=2024-01-06T18:14:24.332008148Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" grafana | logger=migrator t=2024-01-06T18:14:24.332387003Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=378.525µs grafana | logger=migrator t=2024-01-06T18:14:24.336180005Z level=info msg="Executing migration" id="drop table annotation_tag_v2" grafana | logger=migrator t=2024-01-06T18:14:24.337223319Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=1.042804ms grafana | logger=migrator t=2024-01-06T18:14:24.342280888Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" grafana | logger=migrator t=2024-01-06T18:14:24.342637353Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=355.814µs grafana | logger=migrator t=2024-01-06T18:14:24.348897568Z level=info msg="Executing migration" id="Add created time to annotation table" grafana | logger=migrator t=2024-01-06T18:14:24.355511327Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=6.612959ms grafana | logger=migrator t=2024-01-06T18:14:24.360334763Z level=info msg="Executing migration" id="Add updated time to annotation table" grafana | logger=migrator t=2024-01-06T18:14:24.365842588Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=5.506345ms grafana | logger=migrator t=2024-01-06T18:14:24.371767328Z level=info msg="Executing migration" id="Add index for created in annotation table" grafana | logger=migrator t=2024-01-06T18:14:24.372756512Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=987.894µs grafana | logger=migrator t=2024-01-06T18:14:24.377485026Z level=info msg="Executing migration" id="Add index for updated in annotation table" grafana | logger=migrator t=2024-01-06T18:14:24.378368588Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=882.992µs grafana | logger=migrator t=2024-01-06T18:14:24.383105632Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" grafana | logger=migrator t=2024-01-06T18:14:24.383465717Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=360.205µs grafana | logger=migrator t=2024-01-06T18:14:24.387277829Z level=info msg="Executing migration" id="Add epoch_end column" grafana | logger=migrator t=2024-01-06T18:14:24.391987673Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.710804ms grafana | logger=migrator t=2024-01-06T18:14:24.396618936Z level=info msg="Executing migration" id="Add index for epoch_end" grafana | logger=migrator t=2024-01-06T18:14:24.398110086Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.4907ms grafana | logger=migrator t=2024-01-06T18:14:24.401380971Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" grafana | logger=migrator t=2024-01-06T18:14:24.401645354Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=265.303µs grafana | logger=migrator t=2024-01-06T18:14:24.404593134Z level=info msg="Executing migration" id="Move region to single row" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:24.405237963Z level=info msg="Migration successfully executed" id="Move region to single row" duration=645.289µs grafana | logger=migrator t=2024-01-06T18:14:24.411515709Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" grafana | logger=migrator t=2024-01-06T18:14:24.413260932Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.759764ms grafana | logger=migrator t=2024-01-06T18:14:24.418162929Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2024-01-06 18:14:29+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-01-06 18:14:29 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-01-06 18:14:29 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-01-06 18:14:29 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-01-06 18:14:29 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-01-06 18:14:29 0 [Note] InnoDB: Buffer pool(s) dump completed at 240106 18:14:29 mariadb | 2024-01-06 18:14:29 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-01-06 18:14:29 0 [Note] InnoDB: Shutdown completed; log sequence number 322636; transaction id 298 mariadb | 2024-01-06 18:14:29 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-01-06 18:14:29+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-01-06 18:14:29+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-01-06 18:14:29 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-01-06 18:14:29 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-01-06 18:14:29 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-01-06 18:14:29 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-01-06 18:14:29 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-01-06 18:14:29 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-01-06 18:14:29 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-01-06 18:14:29 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-01-06 18:14:29 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-01-06 18:14:29 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-01-06 18:14:30 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-01-06 18:14:30 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-01-06 18:14:30 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-01-06 18:14:30 0 [Note] InnoDB: log sequence number 322636; transaction id 299 mariadb | 2024-01-06 18:14:30 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-01-06 18:14:30 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-01-06 18:14:30 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-01-06 18:14:30 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-06T18:14:24.418768417Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=605.708µs grafana | logger=migrator t=2024-01-06T18:14:24.421555415Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-01-06T18:14:24.422249494Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=693.919µs grafana | logger=migrator t=2024-01-06T18:14:24.427170831Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-01-06T18:14:24.42779442Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=622.799µs grafana | logger=migrator t=2024-01-06T18:14:24.43073654Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" grafana | logger=migrator t=2024-01-06T18:14:24.431311528Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=573.658µs grafana | logger=migrator t=2024-01-06T18:14:24.43443408Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" grafana | logger=migrator t=2024-01-06T18:14:24.435039338Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=604.718µs grafana | logger=migrator t=2024-01-06T18:14:24.439821483Z level=info msg="Executing migration" id="Increase tags column to length 4096" grafana | logger=migrator t=2024-01-06T18:14:24.439871084Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=49.361µs grafana | logger=migrator t=2024-01-06T18:14:24.442926035Z level=info msg="Executing migration" id="create test_data table" grafana | logger=migrator t=2024-01-06T18:14:24.443526563Z level=info msg="Migration successfully executed" id="create test_data table" duration=600.338µs grafana | logger=migrator t=2024-01-06T18:14:24.447828871Z level=info msg="Executing migration" id="create dashboard_version table v1" grafana | logger=migrator t=2024-01-06T18:14:24.448791544Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=963.703µs grafana | logger=migrator t=2024-01-06T18:14:24.456466448Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" grafana | logger=migrator t=2024-01-06T18:14:24.45736684Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=900.402µs grafana | logger=migrator t=2024-01-06T18:14:24.462426258Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" grafana | logger=migrator t=2024-01-06T18:14:24.463935538Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.50416ms grafana | logger=migrator t=2024-01-06T18:14:24.467300734Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" grafana | logger=migrator t=2024-01-06T18:14:24.467546227Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=244.783µs grafana | logger=migrator t=2024-01-06T18:14:24.470348695Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" grafana | logger=migrator t=2024-01-06T18:14:24.47075625Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=407.115µs grafana | logger=migrator t=2024-01-06T18:14:24.473555758Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" grafana | logger=migrator t=2024-01-06T18:14:24.473661799Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=105.381µs grafana | logger=migrator t=2024-01-06T18:14:24.47893445Z level=info msg="Executing migration" id="create team table" grafana | logger=migrator t=2024-01-06T18:14:24.480120426Z level=info msg="Migration successfully executed" id="create team table" duration=1.183456ms grafana | logger=migrator t=2024-01-06T18:14:24.483798346Z level=info msg="Executing migration" id="add index team.org_id" grafana | logger=migrator t=2024-01-06T18:14:24.484903781Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.105785ms grafana | logger=migrator t=2024-01-06T18:14:24.487707059Z level=info msg="Executing migration" id="add unique index team_org_id_name" grafana | logger=migrator t=2024-01-06T18:14:24.488669542Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=961.352µs grafana | logger=migrator t=2024-01-06T18:14:24.49521628Z level=info msg="Executing migration" id="Add column uid in team" grafana | logger=migrator t=2024-01-06T18:14:24.499060172Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=3.847672ms grafana | logger=migrator t=2024-01-06T18:14:24.503526652Z level=info msg="Executing migration" id="Update uid column values in team" grafana | logger=migrator t=2024-01-06T18:14:24.503726015Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=199.753µs grafana | logger=migrator t=2024-01-06T18:14:24.507236342Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" grafana | logger=migrator t=2024-01-06T18:14:24.508208785Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=971.413µs grafana | logger=migrator t=2024-01-06T18:14:24.512183019Z level=info msg="Executing migration" id="create team member table" grafana | logger=migrator t=2024-01-06T18:14:24.513605638Z level=info msg="Migration successfully executed" id="create team member table" duration=1.426149ms grafana | logger=migrator t=2024-01-06T18:14:24.517732253Z level=info msg="Executing migration" id="add index team_member.org_id" grafana | logger=migrator t=2024-01-06T18:14:24.518691196Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=958.723µs grafana | logger=migrator t=2024-01-06T18:14:24.523309239Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" grafana | logger=migrator t=2024-01-06T18:14:24.524281302Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=971.073µs grafana | logger=migrator t=2024-01-06T18:14:24.527552686Z level=info msg="Executing migration" id="add index team_member.team_id" grafana | logger=migrator t=2024-01-06T18:14:24.528537209Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=983.613µs grafana | logger=migrator t=2024-01-06T18:14:24.531691592Z level=info msg="Executing migration" id="Add column email to team table" grafana | logger=migrator t=2024-01-06T18:14:24.536567327Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=4.878886ms grafana | logger=migrator t=2024-01-06T18:14:24.539571878Z level=info msg="Executing migration" id="Add column external to team_member table" grafana | logger=migrator t=2024-01-06T18:14:24.544501004Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.928226ms mariadb | 2024-01-06 18:14:30 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-01-06 18:14:30 0 [Note] Server socket created on IP: '::'. mariadb | 2024-01-06 18:14:30 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mariadb | 2024-01-06 18:14:30 0 [Note] InnoDB: Buffer pool(s) load completed at 240106 18:14:30 mariadb | 2024-01-06 18:14:30 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) mariadb | 2024-01-06 18:14:30 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) grafana | logger=migrator t=2024-01-06T18:14:24.549180087Z level=info msg="Executing migration" id="Add column permission to team_member table" grafana | logger=migrator t=2024-01-06T18:14:24.553659707Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.47888ms policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0570-toscadatatype.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0580-toscadatatypes.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql policy-db-migrator | -------------- 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 | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0600-toscanodetemplate.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0610-toscanodetemplates.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0630-toscanodetype.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0640-toscanodetypes.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0660-toscaparameter.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:24.556937162Z level=info msg="Executing migration" id="create dashboard acl table" grafana | logger=migrator t=2024-01-06T18:14:24.557795443Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=857.721µs grafana | logger=migrator t=2024-01-06T18:14:24.565130542Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" grafana | logger=migrator t=2024-01-06T18:14:24.566489561Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.364269ms grafana | logger=migrator t=2024-01-06T18:14:24.569483261Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" grafana | logger=migrator t=2024-01-06T18:14:24.5708996Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.415699ms grafana | logger=migrator t=2024-01-06T18:14:24.575452201Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2024-01-06T18:14:24.576539166Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.091075ms grafana | logger=migrator t=2024-01-06T18:14:24.580868894Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" grafana | logger=migrator t=2024-01-06T18:14:24.581770547Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=900.473µs grafana | logger=migrator t=2024-01-06T18:14:24.586102725Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" grafana | logger=migrator t=2024-01-06T18:14:24.587045158Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=941.343µs grafana | logger=migrator t=2024-01-06T18:14:24.592077455Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" grafana | logger=migrator t=2024-01-06T18:14:24.592964477Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=887.052µs grafana | logger=migrator t=2024-01-06T18:14:24.596018909Z level=info msg="Executing migration" id="add index dashboard_permission" grafana | logger=migrator t=2024-01-06T18:14:24.597392787Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.373029ms grafana | logger=migrator t=2024-01-06T18:14:24.602586107Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" grafana | logger=migrator t=2024-01-06T18:14:24.603610591Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=1.024314ms grafana | logger=migrator t=2024-01-06T18:14:24.614044981Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" grafana | logger=migrator t=2024-01-06T18:14:24.614578299Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=537.367µs grafana | logger=migrator t=2024-01-06T18:14:24.619053119Z level=info msg="Executing migration" id="create tag table" grafana | logger=migrator t=2024-01-06T18:14:24.619755558Z level=info msg="Migration successfully executed" id="create tag table" duration=702.369µs grafana | logger=migrator t=2024-01-06T18:14:24.626891445Z level=info msg="Executing migration" id="add index tag.key_value" grafana | logger=migrator t=2024-01-06T18:14:24.628632778Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.740733ms grafana | logger=migrator t=2024-01-06T18:14:24.638367999Z level=info msg="Executing migration" id="create login attempt table" grafana | logger=migrator t=2024-01-06T18:14:24.639708368Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.340098ms grafana | logger=migrator t=2024-01-06T18:14:24.644080256Z level=info msg="Executing migration" id="add index login_attempt.username" grafana | logger=migrator t=2024-01-06T18:14:24.645622147Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.541701ms grafana | logger=migrator t=2024-01-06T18:14:24.65103334Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" grafana | logger=migrator t=2024-01-06T18:14:24.652849715Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.816204ms grafana | logger=migrator t=2024-01-06T18:14:24.658830195Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" grafana | logger=migrator t=2024-01-06T18:14:24.677077131Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=18.245556ms grafana | logger=migrator t=2024-01-06T18:14:24.680540988Z level=info msg="Executing migration" id="create login_attempt v2" grafana | logger=migrator t=2024-01-06T18:14:24.681036994Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=495.386µs grafana | logger=migrator t=2024-01-06T18:14:24.68445701Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" grafana | logger=migrator t=2024-01-06T18:14:24.685125419Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=667.939µs grafana | logger=migrator t=2024-01-06T18:14:24.692657021Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" grafana | logger=migrator t=2024-01-06T18:14:24.693535003Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=877.892µs grafana | logger=migrator t=2024-01-06T18:14:24.697355425Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" grafana | logger=migrator t=2024-01-06T18:14:24.698418349Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=1.062355ms grafana | logger=migrator t=2024-01-06T18:14:24.704379549Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2024-01-06T18:14:24.705450414Z level=info msg="Migration successfully executed" id="create user auth table" duration=1.070825ms grafana | logger=migrator t=2024-01-06T18:14:24.712717731Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" grafana | logger=migrator t=2024-01-06T18:14:24.714383834Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.664743ms grafana | logger=migrator t=2024-01-06T18:14:24.724916856Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2024-01-06T18:14:24.724987977Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=72.471µs grafana | logger=migrator t=2024-01-06T18:14:24.72821527Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" grafana | logger=migrator t=2024-01-06T18:14:24.732058472Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=3.842892ms grafana | logger=migrator t=2024-01-06T18:14:24.737467255Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2024-01-06T18:14:24.740989822Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=3.522427ms grafana | logger=migrator t=2024-01-06T18:14:24.744912865Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" grafana | logger=migrator t=2024-01-06T18:14:24.748635275Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=3.7197ms 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0670-toscapolicies.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0690-toscapolicy.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0700-toscapolicytype.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0710-toscapolicytypes.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0730-toscaproperty.sql policy-db-migrator | -------------- 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)) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:24.751496004Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:24.754990081Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=3.493737ms policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2024-01-06T18:14:24.759035895Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:24.759690324Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=650.619µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) grafana | logger=migrator t=2024-01-06T18:14:24.764043593Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:24.767650562Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=3.606479ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:24.771461153Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:24.772014741Z level=info msg="Migration successfully executed" id="create server_lock table" duration=550.718µs policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2024-01-06T18:14:24.776483471Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:24.77715192Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=665.459µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) grafana | logger=migrator t=2024-01-06T18:14:24.781682561Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:24.782304939Z level=info msg="Migration successfully executed" id="create user auth token table" duration=621.688µs policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:24.786382194Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:24.787065643Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=682.789µs policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2024-01-06T18:14:24.793936626Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:24.794718517Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=781.36µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-01-06T18:14:24.800681077Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:24.801725801Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.045034ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:24.80686699Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:24.812608058Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.789658ms policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2024-01-06T18:14:24.818563228Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:24.819687783Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.124435ms 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-06T18:14:24.825013365Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:24.826054609Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.041074ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:24.831966899Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:24.833863564Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.900415ms policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2024-01-06T18:14:24.838392415Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:24.839255807Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=863.652µs 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-06T18:14:24.842880926Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:24.844576179Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.693753ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:24.850251765Z 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-06T18:14:24.850354026Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=103.211µs policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2024-01-06T18:14:24.855433755Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:24.855513926Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=80.641µs 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-06T18:14:24.858662938Z level=info msg="Executing migration" id="recreate alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:24.859631361Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=967.403µs policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:24.862911686Z 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-06T18:14:24.864361675Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.449249ms policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2024-01-06T18:14:24.869016208Z 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-06T18:14:24.86995215Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=934.632µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) grafana | logger=migrator t=2024-01-06T18:14:24.876888604Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:24.876991995Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=103.841µs policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:24.882677552Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:24.884153512Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.47511ms policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2024-01-06T18:14:24.88847176Z 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-06T18:14:24.890280904Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.809064ms 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-06T18:14:24.894294648Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:24.895312592Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.016864ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:24.900887708Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:24.902420178Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.52822ms policy-db-migrator | > upgrade 0820-toscatrigger.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:24.909873379Z level=info msg="Executing migration" id="Add column paused in alert_definition" grafana | logger=migrator t=2024-01-06T18:14:24.919028892Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=9.153703ms 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-06T18:14:24.924032899Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:24.925073753Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.040504ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:24.929858558Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:24.92999219Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=134.482µs policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-01-06T18:14:24.936810482Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:24.938322442Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.509641ms policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2024-01-06T18:14:24.943133467Z 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-06T18:14:24.944553766Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.422219ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:24.950262243Z 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-06T18:14:24.951268676Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.005493ms policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-01-06T18:14:24.956423656Z 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-06T18:14:24.956520637Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=97.131µs policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-01-06T18:14:24.962288735Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:24.963213618Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=924.893µs policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:24.972498763Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:24.973865021Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.365368ms policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-01-06T18:14:24.979374935Z 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-06T18:14:24.980332288Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=978.943µs policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-01-06T18:14:24.984517415Z 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-06T18:14:24.98568631Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.167155ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:24.990907851Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:24.998726706Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=7.819205ms policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-01-06T18:14:25.001921479Z 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-06T18:14:25.002899972Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=976.543µs policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2024-01-06T18:14:25.006137296Z 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-06T18:14:25.00790754Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=1.766113ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.012977878Z 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-06T18:14:25.049158703Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=36.181446ms policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-01-06T18:14:25.054610896Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.090963295Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=36.351269ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2024-01-06T18:14:25.095329404Z 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-06T18:14:25.096090504Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=760.281µs policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.100976349Z 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-06T18:14:25.101932722Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=956.013µs policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-01-06T18:14:25.107979243Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.114608422Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=6.628509ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2024-01-06T18:14:25.118190891Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.119206924Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.015944ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.126658634Z 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-06T18:14:25.128749982Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=2.090168ms policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-01-06T18:14:25.137016914Z 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-06T18:14:25.138449373Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.431849ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2024-01-06T18:14:25.143842185Z 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-06T18:14:25.146857906Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=3.015071ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.154508578Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.154741841Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=246.863µs policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2024-01-06T18:14:25.161780006Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.169227626Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=7.44845ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.173925169Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.179803238Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=5.878019ms policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-01-06T18:14:25.184705614Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.190622263Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.916529ms policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2024-01-06T18:14:25.195704352Z 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-06T18:14:25.196698315Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=993.073µs policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.201185295Z 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-06T18:14:25.202958429Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.746264ms policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-01-06T18:14:25.207419479Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.213856195Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.437096ms policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2024-01-06T18:14:25.294958595Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.304362052Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=9.402957ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.311328955Z 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-06T18:14:25.312965127Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.636282ms policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2024-01-06T18:14:25.319271291Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.325146811Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=5.87494ms policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2024-01-06T18:14:25.332605331Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.341698173Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=9.092982ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.349432337Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.349560539Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=128.912µs policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-01-06T18:14:25.353469691Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.356673914Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=3.199113ms policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2024-01-06T18:14:25.363027499Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.364843374Z 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.826845ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.373445309Z 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-06T18:14:25.375984563Z 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=2.545354ms policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-01-06T18:14:25.381916323Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.382018084Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=101.991µs policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-06T18:14:25.385263948Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.391948988Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=6.68197ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.396856434Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.403351401Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.494367ms policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-01-06T18:14:25.408544631Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.414740304Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.195873ms 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-06T18:14:25.417971947Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.424810709Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.838482ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.431645591Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.439569818Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=7.923606ms policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-01-06T18:14:25.443923876Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.444029527Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=105.731µs policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-06T18:14:25.448483907Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.449292508Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=808.471µs policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.45394123Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.46360285Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=9.66165ms policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-01-06T18:14:25.469491779Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | -------------- 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 policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.469673332Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=186.363µs policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.475985267Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.48293055Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.944723ms policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-01-06T18:14:25.486428247Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.487555532Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.126585ms 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-06T18:14:25.493847426Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.500520836Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.67338ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.506547247Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.507312547Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=765.6µs policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-01-06T18:14:25.511917629Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.512994424Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.076855ms 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-06T18:14:25.520489424Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.527138154Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.65691ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.532370644Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.533864814Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=1.49366ms policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-01-06T18:14:25.539460029Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.541165042Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.704123ms 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-06T18:14:25.548636153Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.549343442Z level=info msg="Migration successfully executed" id="create alert_image table" duration=711.03µs policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.55443286Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.556352266Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.919616ms policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-01-06T18:14:25.559916184Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.560016365Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=100.911µs policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-01-06T18:14:25.564427865Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.565350137Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=918.082µs policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.57004215Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.57151844Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.47519ms policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-01-06T18:14:25.577614672Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.578318201Z 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 | 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-06T18:14:25.583596152Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.584014808Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=418.746µs policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.588819612Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.589903457Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.083485ms policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-01-06T18:14:25.595210298Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.601954889Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.745491ms 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-06T18:14:25.606942936Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.607772657Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=828.541µs policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.612533851Z 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-06T18:14:25.613574445Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.040004ms policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-01-06T18:14:25.617481207Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.618297788Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=815.891µs grafana | logger=migrator t=2024-01-06T18:14:25.623488978Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" grafana | logger=migrator t=2024-01-06T18:14:25.625209631Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.719003ms grafana | logger=migrator t=2024-01-06T18:14:25.633953998Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" grafana | logger=migrator t=2024-01-06T18:14:25.635727312Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.773094ms 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-06T18:14:25.641174165Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.641211066Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=38.291µs policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.648352162Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-01-06T18:14:25.648467964Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=117.021µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.653664623Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-01-06T18:14:25.65417721Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=511.517µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.659108366Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.660534636Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.42567ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.666022089Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-01-06T18:14:25.666878471Z level=info msg="Migration successfully executed" id="create secrets table" duration=856.022µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.672083851Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-01-06T18:14:25.720568742Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=48.496092ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.725915714Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.732947908Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=7.031144ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.737610271Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-01-06T18:14:25.737807864Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=191.243µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.742481986Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-01-06T18:14:25.78962523Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=47.143444ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.794385613Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.839202206Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=44.816182ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.842931345Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2024-01-06T18:14:25.843608335Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=677.539µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.84771952Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" 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-06T18:14:25.849408263Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.687823ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.853027381Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.853496757Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=468.866µs policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.857027545Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-01-06T18:14:25.857897267Z level=info msg="Migration successfully executed" id="create permission table" duration=870.941µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.862982015Z level=info msg="Executing migration" id="add unique index permission.role_id" 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-06T18:14:25.864596226Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.612491ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.869895748Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.871632041Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.739523ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.875177099Z level=info msg="Executing migration" id="create role table" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2024-01-06T18:14:25.876071871Z level=info msg="Migration successfully executed" id="create role table" duration=893.852µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.879835701Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.887235251Z level=info msg="Migration successfully executed" id="add column display_name" duration=7.39885ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.891223484Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-01-06T18:14:25.897020492Z level=info msg="Migration successfully executed" id="add column group_name" duration=5.795758ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.901241089Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-01-06T18:14:25.902337324Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.095225ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.905880201Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.907040997Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.159676ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.912208756Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-01-06T18:14:25.913349802Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.140046ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.91696757Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-01-06T18:14:25.918275457Z level=info msg="Migration successfully executed" id="create team role table" duration=1.306787ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.922009368Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.923209124Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.198926ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.927570182Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-01-06T18:14:25.929115313Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.543221ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.933260189Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-01-06T18:14:25.934952402Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.691473ms policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-01-06T18:14:25.938701052Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-01-06T18:14:25.939612304Z level=info msg="Migration successfully executed" id="create user role table" duration=912.632µs policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-01-06T18:14:25.944092024Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.945762297Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.664583ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.949569158Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" policy-db-migrator | policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.951387022Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.816564ms policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2024-01-06T18:14:25.95493055Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.956090075Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.159025ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.961684641Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.962602843Z level=info msg="Migration successfully executed" id="create builtin role table" duration=916.992µs policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-01-06T18:14:25.96606247Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.967134374Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.072274ms 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-06T18:14:25.970865224Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.972509746Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.643442ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.977183519Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:25.986404003Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=9.221184ms policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2024-01-06T18:14:25.990953304Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.991895487Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=941.863µs policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2024-01-06T18:14:25.99517707Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:25.996049312Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=868.442µs policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.000456932Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.002121214Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.664122ms policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-01-06T18:14:26.006855648Z level=info msg="Executing migration" id="add unique index role.uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.007966133Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.104715ms 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-06T18:14:26.011787415Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.012770088Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=983.733µs policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.019893264Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.02181358Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.919546ms policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-01-06T18:14:26.032136799Z level=info msg="Executing migration" id="add column hidden to role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.040637204Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=8.499385ms policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2024-01-06T18:14:26.05068541Z level=info msg="Executing migration" id="permission kind migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.061509615Z level=info msg="Migration successfully executed" id="permission kind migration" duration=10.824045ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.069773787Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.079322176Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=9.551319ms policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-01-06T18:14:26.0870411Z level=info msg="Executing migration" id="permission identifier migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.098660007Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=11.616137ms 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-06T18:14:26.103910618Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.105072083Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.160395ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.110246013Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.112176569Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=1.925676ms policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-01-06T18:14:26.118574866Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.120673814Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=2.102599ms 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-06T18:14:26.124293243Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.124357434Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=64.761µs policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.128156285Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2024-01-06T18:14:26.128196556Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=40.601µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.139081952Z level=info msg="Executing migration" id="teams permissions migration" policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-01-06T18:14:26.139979904Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=893.822µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.14412059Z level=info msg="Executing migration" id="dashboard permissions" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.145063443Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=945.373µs policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.149053017Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-01-06T18:14:26.149796107Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=743.13µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.152612935Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-01-06T18:14:26.152841148Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=233.353µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.158414393Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.159071772Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=656.839µs policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-01-06T18:14:26.16333806Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.164924281Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.585171ms policy-db-migrator | DROP TABLE IF EXISTS toscaparameter policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.16850927Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" grafana | logger=migrator t=2024-01-06T18:14:26.169569214Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.059504ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.172656496Z level=info msg="Executing migration" id="add column org_id in query_history_star" grafana | logger=migrator t=2024-01-06T18:14:26.180732304Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.077799ms policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-01-06T18:14:26.186892428Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.187010639Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=119.281µs policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-01-06T18:14:26.190298184Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.191769723Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.470799ms grafana | logger=migrator t=2024-01-06T18:14:26.195271921Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.196432076Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.160185ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.203095016Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2024-01-06T18:14:26.20928086Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=6.183484ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.215605485Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.224050959Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.446824ms grafana | logger=migrator t=2024-01-06T18:14:26.229621864Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" grafana | logger=migrator t=2024-01-06T18:14:26.230561137Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=939.163µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.235193969Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2024-01-06T18:14:26.236963373Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.769214ms grafana | logger=migrator t=2024-01-06T18:14:26.240472601Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.270130791Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=29.65965ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.274355978Z level=info msg="Executing migration" id="create correlation v2" grafana | logger=migrator t=2024-01-06T18:14:26.275298871Z level=info msg="Migration successfully executed" id="create correlation v2" duration=942.433µs policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.278750777Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2024-01-06T18:14:26.279883552Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.132075ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.283275848Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY grafana | logger=migrator t=2024-01-06T18:14:26.284494365Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.217917ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.289181208Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" grafana | logger=migrator t=2024-01-06T18:14:26.29084236Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.659232ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.294384578Z level=info msg="Executing migration" id="copy correlation v1 to v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.294797014Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=413.136µs policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2024-01-06T18:14:26.298319782Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" grafana | logger=migrator t=2024-01-06T18:14:26.299146073Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=747.84µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.30638985Z level=info msg="Executing migration" id="add provisioning column" grafana | logger=migrator t=2024-01-06T18:14:26.315727336Z level=info msg="Migration successfully executed" id="add provisioning column" duration=9.342346ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.321537795Z level=info msg="Executing migration" id="create entity_events table" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.322088842Z level=info msg="Migration successfully executed" id="create entity_events table" duration=547.337µs grafana | logger=migrator t=2024-01-06T18:14:26.325217354Z level=info msg="Executing migration" id="create dashboard public config v1" policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2024-01-06T18:14:26.326595623Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.375679ms grafana | logger=migrator t=2024-01-06T18:14:26.330684818Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.331376847Z 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-06T18:14:26.336525697Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-01-06T18:14:26.336977013Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.34048052Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.341308102Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=826.022µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.344975401Z level=info msg="Executing migration" id="recreate dashboard public config v1" grafana | logger=migrator t=2024-01-06T18:14:26.34640768Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.431719ms policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=migrator t=2024-01-06T18:14:26.351662871Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" grafana | logger=migrator t=2024-01-06T18:14:26.352728275Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.065434ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.35600227Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.357114475Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.109645ms policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-01-06T18:14:26.360107365Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.361155869Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.047414ms policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=migrator t=2024-01-06T18:14:26.366705284Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.368332646Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.626672ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.371497339Z level=info msg="Executing migration" id="Drop public config table" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.372719156Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.177616ms policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=migrator t=2024-01-06T18:14:26.378141519Z level=info msg="Executing migration" id="Recreate dashboard public config v2" grafana | logger=migrator t=2024-01-06T18:14:26.379131912Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=986.813µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.382364826Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2024-01-06T18:14:26.384037558Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.672312ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.387478535Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.389222078Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.744514ms policy-db-migrator | msg grafana | logger=migrator t=2024-01-06T18:14:26.394280157Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2024-01-06T18:14:26.395340441Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.058574ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.399779431Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.432077076Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=32.298825ms policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2024-01-06T18:14:26.435177378Z level=info msg="Executing migration" id="add annotations_enabled column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.443499201Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=8.321223ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.44868181Z level=info msg="Executing migration" id="add time_selection_enabled column" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.455434432Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=6.748922ms policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-01-06T18:14:26.458711356Z level=info msg="Executing migration" id="delete orphaned public dashboards" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.458924829Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=213.423µs policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-01-06T18:14:26.462031751Z level=info msg="Executing migration" id="add share column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.470231572Z level=info msg="Migration successfully executed" id="add share column" duration=8.199041ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.473287383Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.473444415Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=157.012µs policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-01-06T18:14:26.478177139Z level=info msg="Executing migration" id="create file table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.478793627Z level=info msg="Migration successfully executed" id="create file table" duration=615.678µs policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.482097291Z level=info msg="Executing migration" id="file table idx: path natural pk" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.483775074Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.675173ms policy-db-migrator | > upgrade 0120-audit_sequence.sql grafana | logger=migrator t=2024-01-06T18:14:26.487087579Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.488737551Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.649172ms 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-06T18:14:26.493134601Z level=info msg="Executing migration" id="create file_meta table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.49385208Z level=info msg="Migration successfully executed" id="create file_meta table" duration=717.119µs policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.497062614Z level=info msg="Executing migration" id="file table idx: path key" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.498330721Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.264028ms 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-06T18:14:26.504474523Z level=info msg="Executing migration" id="set path collation in file table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.504575015Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=99.782µs policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.508319705Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.508414097Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=95.002µs policy-db-migrator | > upgrade 0130-statistics_sequence.sql grafana | logger=migrator t=2024-01-06T18:14:26.512039616Z level=info msg="Executing migration" id="managed permissions migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.512842787Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=803.081µs 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-06T18:14:26.516379554Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.516573587Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=193.693µs policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.521186389Z level=info msg="Executing migration" id="RBAC action name migrator" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.521931439Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=746.82µs policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.525383975Z level=info msg="Executing migration" id="Add UID column to playlist" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.537434308Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=12.050813ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.541115018Z level=info msg="Executing migration" id="Update uid column values in playlist" policy-db-migrator | TRUNCATE TABLE sequence grafana | logger=migrator t=2024-01-06T18:14:26.54130859Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=192.682µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.544487564Z level=info msg="Executing migration" id="Add index for uid in playlist" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.545585568Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.097264ms policy-db-migrator | > upgrade 0100-pdpstatistics.sql grafana | logger=migrator t=2024-01-06T18:14:26.549993538Z level=info msg="Executing migration" id="update group index for alert rules" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.550460184Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=466.486µs policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-01-06T18:14:26.554150344Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.554483778Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=333.344µs policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.558171068Z level=info msg="Executing migration" id="admin only folder/dashboard permission" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.558915688Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=744.13µs policy-db-migrator | DROP TABLE pdpstatistics grafana | logger=migrator t=2024-01-06T18:14:26.562628028Z level=info msg="Executing migration" id="add action column to seed_assignment" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.572513662Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=9.884854ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.576786329Z level=info msg="Executing migration" id="add scope column to seed_assignment" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.583258917Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.471278ms policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-01-06T18:14:26.586645643Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.587687067Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.040694ms policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats grafana | logger=migrator t=2024-01-06T18:14:26.590988571Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.693703977Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=102.716486ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.698326799Z level=info msg="Executing migration" id="add unique index builtin_role_name back" policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.699216692Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=889.802µs policy-db-migrator | > upgrade 0120-statistics_sequence.sql grafana | logger=migrator t=2024-01-06T18:14:26.702460106Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.703299637Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=838.871µs policy-db-migrator | DROP TABLE statistics_sequence grafana | logger=migrator t=2024-01-06T18:14:26.706962696Z level=info msg="Executing migration" id="add primary key to seed_assigment" policy-db-migrator | -------------- grafana | logger=migrator t=2024-01-06T18:14:26.74357488Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=36.612784ms policy-db-migrator | grafana | logger=migrator t=2024-01-06T18:14:26.748626288Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" policy-db-migrator | policyadmin: OK: upgrade (1300) grafana | logger=migrator t=2024-01-06T18:14:26.748819161Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=192.693µs policy-db-migrator | name version grafana | logger=migrator t=2024-01-06T18:14:26.752525361Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" policy-db-migrator | policyadmin 1300 grafana | logger=migrator t=2024-01-06T18:14:26.752716553Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=191.002µs policy-db-migrator | ID script operation from_version to_version tag success atTime grafana | logger=migrator t=2024-01-06T18:14:26.756561086Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:30 grafana | logger=migrator t=2024-01-06T18:14:26.75686812Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=307.254µs policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:30 grafana | logger=migrator t=2024-01-06T18:14:26.761492082Z level=info msg="Executing migration" id="create folder table" policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:30 grafana | logger=migrator t=2024-01-06T18:14:26.762989602Z level=info msg="Migration successfully executed" id="create folder table" duration=1.49746ms policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:30 grafana | logger=migrator t=2024-01-06T18:14:26.767018107Z level=info msg="Executing migration" id="Add index for parent_uid" policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:30 grafana | logger=migrator t=2024-01-06T18:14:26.768889292Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.871335ms policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:30 grafana | logger=migrator t=2024-01-06T18:14:26.773657176Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:30 grafana | logger=migrator t=2024-01-06T18:14:26.774902773Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.245577ms policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:30 grafana | logger=migrator t=2024-01-06T18:14:26.77833666Z level=info msg="Executing migration" id="Update folder title length" policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:30 grafana | logger=migrator t=2024-01-06T18:14:26.77838187Z level=info msg="Migration successfully executed" id="Update folder title length" duration=46.94µs policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:30 grafana | logger=migrator t=2024-01-06T18:14:26.781991489Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:30 grafana | logger=migrator t=2024-01-06T18:14:26.783868474Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.876365ms policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:30 grafana | logger=migrator t=2024-01-06T18:14:26.787790097Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:30 grafana | logger=migrator t=2024-01-06T18:14:26.788811131Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.021014ms policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:30 grafana | logger=migrator t=2024-01-06T18:14:26.793164829Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:30 grafana | logger=migrator t=2024-01-06T18:14:26.794362065Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.196566ms policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:31 grafana | logger=migrator t=2024-01-06T18:14:26.797928084Z level=info msg="Executing migration" id="create anon_device table" policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:31 grafana | logger=migrator t=2024-01-06T18:14:26.798819306Z level=info msg="Migration successfully executed" id="create anon_device table" duration=890.782µs policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:31 grafana | logger=migrator t=2024-01-06T18:14:26.803148034Z level=info msg="Executing migration" id="add unique index anon_device.device_id" policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:31 grafana | logger=migrator t=2024-01-06T18:14:26.80504802Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.899996ms policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:31 grafana | logger=migrator t=2024-01-06T18:14:26.808855681Z level=info msg="Executing migration" id="add index anon_device.updated_at" policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:31 grafana | logger=migrator t=2024-01-06T18:14:26.810624345Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.767844ms policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:31 grafana | logger=migrator t=2024-01-06T18:14:26.814188353Z level=info msg="Executing migration" id="create signing_key table" policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:31 grafana | logger=migrator t=2024-01-06T18:14:26.815018205Z level=info msg="Migration successfully executed" id="create signing_key table" duration=829.532µs policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:31 grafana | logger=migrator t=2024-01-06T18:14:26.819528095Z level=info msg="Executing migration" id="add unique index signing_key.key_id" policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:31 grafana | logger=migrator t=2024-01-06T18:14:26.821238868Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.712453ms policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:31 grafana | logger=migrator t=2024-01-06T18:14:26.824918218Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:31 grafana | logger=migrator t=2024-01-06T18:14:26.826664852Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.758973ms policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:31 grafana | logger=migrator t=2024-01-06T18:14:26.830012667Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:31 grafana | logger=migrator t=2024-01-06T18:14:26.830314191Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=302.234µs policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:31 grafana | logger=migrator t=2024-01-06T18:14:26.834573779Z level=info msg="Executing migration" id="Add folder_uid for dashboard" policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:31 grafana | logger=migrator t=2024-01-06T18:14:26.843786043Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=9.211944ms policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:31 grafana | logger=migrator t=2024-01-06T18:14:26.847216339Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:31 grafana | logger=migrator t=2024-01-06T18:14:26.847867208Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=651.509µs policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:31 grafana | logger=migrator t=2024-01-06T18:14:26.851317004Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:31 grafana | logger=migrator t=2024-01-06T18:14:26.85245235Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.134656ms policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:31 grafana | logger=migrator t=2024-01-06T18:14:26.855747524Z level=info msg="Executing migration" id="create sso_setting table" policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:31 grafana | logger=migrator t=2024-01-06T18:14:26.856646346Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=899.912µs policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:31 grafana | logger=migrator t=2024-01-06T18:14:26.862346113Z level=info msg="Executing migration" id="copy kvstore migration status to each org" policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:31 grafana | logger=migrator t=2024-01-06T18:14:26.863076353Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=731.9µs policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:31 grafana | logger=migrator t=2024-01-06T18:14:26.866471229Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-01-06T18:14:26.866877654Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=407.825µs grafana | logger=migrator t=2024-01-06T18:14:26.870352841Z level=info msg="migrations completed" performed=523 skipped=0 duration=3.795003857s policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:31 grafana | logger=sqlstore t=2024-01-06T18:14:26.879559825Z level=info msg="Created default admin" user=admin policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:31 grafana | logger=sqlstore t=2024-01-06T18:14:26.879744268Z level=info msg="Created default organization" policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:32 grafana | logger=secrets t=2024-01-06T18:14:26.883981595Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:32 grafana | logger=plugin.store t=2024-01-06T18:14:26.901885377Z level=info msg="Loading plugins..." policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:32 grafana | logger=local.finder t=2024-01-06T18:14:26.937433456Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:32 grafana | logger=plugin.store t=2024-01-06T18:14:26.937490407Z level=info msg="Plugins loaded" count=55 duration=35.60597ms policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:32 grafana | logger=query_data t=2024-01-06T18:14:26.941205397Z level=info msg="Query Service initialization" policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:32 grafana | logger=live.push_http t=2024-01-06T18:14:26.94662467Z level=info msg="Live Push Gateway initialization" policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:32 grafana | logger=ngalert.migration t=2024-01-06T18:14:26.952414999Z level=info msg=Starting policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:32 grafana | logger=ngalert.migration orgID=1 t=2024-01-06T18:14:26.953919609Z level=info msg="Migrating alerts for organisation" policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:32 grafana | logger=ngalert.migration orgID=1 t=2024-01-06T18:14:26.954608038Z level=info msg="Alerts found to migrate" alerts=0 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:32 grafana | logger=ngalert.migration orgID=1 t=2024-01-06T18:14:26.955299558Z level=warn msg="No available receivers" policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:32 grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-01-06T18:14:26.957877962Z level=info msg="Completed legacy migration" policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:32 grafana | logger=infra.usagestats.collector t=2024-01-06T18:14:26.98881728Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:32 grafana | logger=provisioning.datasources t=2024-01-06T18:14:26.991444355Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:32 grafana | logger=provisioning.alerting t=2024-01-06T18:14:27.004359114Z level=info msg="starting to provision alerting" policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:32 grafana | logger=provisioning.alerting t=2024-01-06T18:14:27.004381254Z level=info msg="finished to provision alerting" policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:32 grafana | logger=ngalert.state.manager t=2024-01-06T18:14:27.004528026Z level=info msg="Warming state cache for startup" policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:32 grafana | logger=grafanaStorageLogger t=2024-01-06T18:14:27.004846151Z level=info msg="Storage starting" policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:32 grafana | logger=ngalert.state.manager t=2024-01-06T18:14:27.005084535Z level=info msg="State cache has been initialized" states=0 duration=555.349µs policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:32 grafana | logger=ngalert.scheduler t=2024-01-06T18:14:27.005184076Z level=info msg="Starting scheduler" tickInterval=10s policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:32 grafana | logger=ticker t=2024-01-06T18:14:27.005246607Z level=info msg=starting first_tick=2024-01-06T18:14:30Z policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:32 grafana | logger=ngalert.multiorg.alertmanager t=2024-01-06T18:14:27.005266687Z level=info msg="Starting MultiOrg Alertmanager" policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:32 grafana | logger=http.server t=2024-01-06T18:14:27.008427556Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:32 grafana | logger=grafana.update.checker t=2024-01-06T18:14:27.036671757Z level=info msg="Update check succeeded" duration=30.199241ms policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:32 grafana | logger=plugins.update.checker t=2024-01-06T18:14:27.081955088Z level=info msg="Update check succeeded" duration=75.412271ms policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:32 grafana | logger=sqlstore.transactions t=2024-01-06T18:14:27.105150023Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:32 grafana | logger=sqlstore.transactions t=2024-01-06T18:14:27.115796536Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:33 grafana | logger=sqlstore.transactions t=2024-01-06T18:14:27.127019938Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:33 grafana | logger=infra.usagestats t=2024-01-06T18:16:04.018184379Z level=info msg="Usage stats are ready to report" policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:33 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:33 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:33 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:33 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:33 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:33 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:33 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:33 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:33 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:33 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:33 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:33 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:33 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:33 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:33 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:33 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:33 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:33 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:33 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:33 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:34 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:34 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:34 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:34 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:34 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0601241814300800u 1 2024-01-06 18:14:34 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 0601241814300900u 1 2024-01-06 18:14:34 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 0601241814300900u 1 2024-01-06 18:14:34 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 0601241814300900u 1 2024-01-06 18:14:34 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 0601241814300900u 1 2024-01-06 18:14:34 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 0601241814300900u 1 2024-01-06 18:14:34 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 0601241814300900u 1 2024-01-06 18:14:34 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0601241814300900u 1 2024-01-06 18:14:34 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0601241814300900u 1 2024-01-06 18:14:34 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0601241814300900u 1 2024-01-06 18:14:34 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 0601241814300900u 1 2024-01-06 18:14:34 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 0601241814300900u 1 2024-01-06 18:14:34 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 0601241814300900u 1 2024-01-06 18:14:34 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 0601241814300900u 1 2024-01-06 18:14:34 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 0601241814301000u 1 2024-01-06 18:14:34 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 0601241814301000u 1 2024-01-06 18:14:34 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 0601241814301000u 1 2024-01-06 18:14:34 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 0601241814301000u 1 2024-01-06 18:14:35 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 0601241814301000u 1 2024-01-06 18:14:35 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 0601241814301000u 1 2024-01-06 18:14:35 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 0601241814301000u 1 2024-01-06 18:14:35 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 0601241814301000u 1 2024-01-06 18:14:35 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 0601241814301000u 1 2024-01-06 18:14:35 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 0601241814301100u 1 2024-01-06 18:14:35 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 0601241814301200u 1 2024-01-06 18:14:35 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 0601241814301200u 1 2024-01-06 18:14:35 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 0601241814301200u 1 2024-01-06 18:14:35 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 0601241814301200u 1 2024-01-06 18:14:35 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 0601241814301300u 1 2024-01-06 18:14:35 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 0601241814301300u 1 2024-01-06 18:14:35 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 0601241814301300u 1 2024-01-06 18:14:35 policy-db-migrator | policyadmin: OK @ 1300 ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing mariadb ... Removing prometheus ... Removing policy-api ... done Removing policy-db-migrator ... done Removing grafana ... done Removing mariadb ... 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.HBSCKBZeoc ]] + rsync -av /tmp/tmp.HBSCKBZeoc/ /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,336 bytes received 95 bytes 2,690,862.00 bytes/sec total size is 1,344,687 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 2080 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/jenkins5913442595431480983.sh ---> sysstat.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins2876806236882568365.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/jenkins9395571518285527364.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-BaC8 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-BaC8/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins5901596437182365872.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-montreal-project-csit-api@tmp/config7896728154277969211tmp 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/jenkins6597630367948249698.sh ---> create-netrc.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins12086437479080797365.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-BaC8 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-BaC8/bin to PATH [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins1726686217252662287.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins17054679225564898894.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-BaC8 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-BaC8/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/jenkins17966753571523256314.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-BaC8 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-BaC8/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-montreal-project-csit-api/56 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-10117 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2800.000 BogoMIPS: 5600.00 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 843 27291 0 4032 30868 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:f0:6d:ff brd ff:ff:ff:ff:ff:ff inet 10.30.106.54/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86055sec preferred_lft 86055sec inet6 fe80::f816:3eff:fef0:6dff/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:d7:41:08:ad 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-10117) 01/06/24 _x86_64_ (8 CPU) 18:11:22 LINUX RESTART (8 CPU) 18:12:01 tps rtps wtps bread/s bwrtn/s 18:13:01 125.06 17.58 107.48 1020.36 72313.41 18:14:01 151.02 23.93 127.10 2773.40 50684.35 18:15:01 359.94 12.05 347.89 818.46 62219.45 18:16:01 2.90 0.00 2.90 0.00 68.16 18:17:01 58.36 2.02 56.35 126.76 3951.65 Average: 139.46 11.11 128.34 947.77 37846.27 18:12:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:13:01 30028984 31682516 2910236 8.84 72224 1889036 1455676 4.28 892084 1721368 209512 18:14:01 28555424 31639460 4383796 13.31 104960 3241660 1569648 4.62 1025256 2967112 1138864 18:15:01 26889180 30581152 6050040 18.37 128204 3784412 4256504 12.52 2175364 3416536 1192 18:16:01 26890600 30582844 6048620 18.36 128252 3784516 4258672 12.53 2173804 3416208 76 18:17:01 27887348 31569596 5051872 15.34 133140 3775364 1520088 4.47 1227900 3387664 46568 Average: 28050307 31211114 4888913 14.84 113356 3294998 2612118 7.69 1498882 2981778 279242 18:12:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:13:01 lo 1.33 1.33 0.14 0.14 0.00 0.00 0.00 0.00 18:13:01 ens3 72.15 48.08 1129.44 8.06 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-78bbdc8b7aa7 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:14:01 lo 8.20 8.20 0.76 0.76 0.00 0.00 0.00 0.00 18:14:01 ens3 278.20 176.10 8049.35 16.87 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 vetha5b7923 130.41 159.74 114.56 38.95 0.00 0.00 0.00 0.01 18:15:01 veth301d812 124.65 105.22 40.62 113.90 0.00 0.00 0.00 0.01 18:15:01 br-78bbdc8b7aa7 3.55 4.02 6.17 2.51 0.00 0.00 0.00 0.00 18:15:01 veth9149cdc 0.48 0.73 0.05 0.31 0.00 0.00 0.00 0.00 18:16:01 vetha5b7923 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 18:16:01 veth301d812 0.57 0.60 0.79 0.04 0.00 0.00 0.00 0.00 18:16:01 br-78bbdc8b7aa7 0.65 0.58 0.03 0.04 0.00 0.00 0.00 0.00 18:16:01 veth9149cdc 0.28 0.23 0.02 0.01 0.00 0.00 0.00 0.00 18:17:01 lo 33.69 33.69 10.62 10.62 0.00 0.00 0.00 0.00 18:17:01 ens3 837.89 562.50 11998.96 114.48 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: lo 5.93 5.93 2.05 2.05 0.00 0.00 0.00 0.00 Average: ens3 99.77 65.44 2225.29 11.51 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-10117) 01/06/24 _x86_64_ (8 CPU) 18:11:22 LINUX RESTART (8 CPU) 18:12:01 CPU %user %nice %system %iowait %steal %idle 18:13:01 all 10.08 0.00 0.71 4.37 0.03 84.82 18:13:01 0 2.75 0.00 0.52 0.10 0.00 96.63 18:13:01 1 0.33 0.00 0.23 0.45 0.03 98.95 18:13:01 2 42.82 0.00 1.89 4.49 0.07 50.74 18:13:01 3 18.24 0.00 1.39 5.24 0.03 75.10 18:13:01 4 13.82 0.00 0.90 0.22 0.03 85.03 18:13:01 5 0.22 0.00 0.23 21.84 0.03 77.67 18:13:01 6 1.07 0.00 0.27 0.43 0.03 98.20 18:13:01 7 1.49 0.00 0.25 2.21 0.05 96.00 18:14:01 all 10.90 0.00 2.22 2.33 0.05 84.51 18:14:01 0 13.23 0.00 2.09 1.04 0.05 83.58 18:14:01 1 16.34 0.00 2.24 0.23 0.05 81.14 18:14:01 2 22.76 0.00 2.90 0.50 0.07 73.77 18:14:01 3 4.52 0.00 1.98 1.98 0.03 91.49 18:14:01 4 3.56 0.00 2.58 0.55 0.03 93.27 18:14:01 5 11.14 0.00 2.20 1.99 0.03 84.63 18:14:01 6 11.52 0.00 2.33 0.30 0.05 85.80 18:14:01 7 4.16 0.00 1.42 11.97 0.05 82.41 18:15:01 all 16.37 0.00 2.87 3.99 0.06 76.72 18:15:01 0 15.05 0.00 4.16 21.96 0.07 58.76 18:15:01 1 20.73 0.00 3.00 3.22 0.07 72.99 18:15:01 2 18.29 0.00 3.18 1.33 0.07 77.14 18:15:01 3 16.65 0.00 2.45 1.34 0.05 79.50 18:15:01 4 16.89 0.00 2.77 0.35 0.05 79.94 18:15:01 5 17.06 0.00 2.88 0.75 0.07 79.24 18:15:01 6 15.55 0.00 2.68 0.74 0.03 81.00 18:15:01 7 10.73 0.00 1.92 2.26 0.05 85.04 18:16:01 all 0.13 0.00 0.04 0.02 0.03 99.78 18:16:01 0 0.18 0.00 0.02 0.02 0.00 99.78 18:16:01 1 0.10 0.00 0.03 0.07 0.03 99.77 18:16:01 2 0.15 0.00 0.10 0.00 0.07 99.68 18:16:01 3 0.03 0.00 0.00 0.00 0.02 99.95 18:16:01 4 0.20 0.00 0.03 0.07 0.03 99.67 18:16:01 5 0.08 0.00 0.03 0.00 0.03 99.85 18:16:01 6 0.05 0.00 0.02 0.00 0.02 99.92 18:16:01 7 0.25 0.00 0.05 0.00 0.03 99.67 18:17:01 all 8.49 0.00 0.73 0.49 0.04 90.25 18:17:01 0 3.65 0.00 0.65 0.12 0.02 95.56 18:17:01 1 14.54 0.00 0.84 2.01 0.05 82.57 18:17:01 2 16.07 0.00 1.00 0.67 0.07 82.19 18:17:01 3 11.15 0.00 0.88 0.22 0.03 87.71 18:17:01 4 1.77 0.00 0.37 0.38 0.02 97.46 18:17:01 5 16.12 0.00 1.05 0.20 0.05 82.57 18:17:01 6 0.93 0.00 0.43 0.10 0.02 98.52 18:17:01 7 3.73 0.00 0.54 0.25 0.07 95.41 Average: all 9.18 0.00 1.31 2.24 0.04 87.23 Average: 0 6.95 0.00 1.48 4.61 0.03 86.93 Average: 1 10.38 0.00 1.26 1.19 0.05 87.11 Average: 2 20.01 0.00 1.81 1.40 0.07 76.71 Average: 3 10.11 0.00 1.34 1.75 0.03 86.77 Average: 4 7.24 0.00 1.33 0.31 0.03 91.09 Average: 5 8.92 0.00 1.28 4.96 0.04 84.80 Average: 6 5.81 0.00 1.14 0.31 0.03 92.71 Average: 7 4.07 0.00 0.83 3.34 0.05 91.71