Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-2624 (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-TxCEwunoS30U/agent.2073 SSH_AGENT_PID=2075 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_6474688669690472791.key (/w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_6474688669690472791.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/jenkins3059969070104618219.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-YuXk 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-YuXk/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-YuXk/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.2 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.34 botocore==1.34.34 bs4==0.0.2 cachetools==5.3.2 certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.5.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.5.0 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.41 google-auth==2.27.0 httplib2==0.22.0 identify==2.5.33 idna==3.6 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.5.0 kubernetes==29.0.0 lftools==0.37.8 lxml==5.1.0 MarkupSafe==2.1.5 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==3.0.0 oslo.config==9.3.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.3.0 oslo.utils==7.0.0 packaging==23.2 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.2.0 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.4.0 python-jenkins==1.8.2 python-keystoneclient==5.3.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2024.1 PyYAML==6.0.1 referencing==0.33.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.17.1 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 [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/jenkins7508776707454557277.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/jenkins4846653554686897552.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.RmvuLSOo8d ++ echo ROBOT_VENV=/tmp/tmp.RmvuLSOo8d +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.RmvuLSOo8d ++ source /tmp/tmp.RmvuLSOo8d/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.RmvuLSOo8d +++ 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.RmvuLSOo8d/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.RmvuLSOo8d) ' '!=' x ']' +++ PS1='(tmp.RmvuLSOo8d) ' +++ 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.3 bitarray==2.9.2 certifi==2024.2.2 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 lxml==5.1.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 WebTest==3.0.0 zipp==3.6.0 ++ mkdir -p /tmp/tmp.RmvuLSOo8d/src/onap ++ rm -rf /tmp/tmp.RmvuLSOo8d/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.3 bitarray==2.9.2 certifi==2024.2.2 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 decorator==5.1.1 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.1.0 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 python-dateutil==2.8.2 PyYAML==6.0.1 regex==2023.8.8 requests==2.27.1 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==0.6.0.dev105 robotframework-pythonlibcore==3.0.0 robotframework-requests==0.9.4 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==5.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==3.141.0 six==1.16.0 soupsieve==2.3.2.post1 urllib3==1.26.18 waitress==2.0.0 WebOb==1.8.7 websocket-client==1.3.1 WebTest==3.0.0 zipp==3.6.0 ++ uname ++ grep -q Linux ++ sudo apt-get -y -qq install libxml2-utils + load_set + _setopts=ehuxB ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o nounset + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo ehuxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +u + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/tmp.RmvuLSOo8d/bin/activate + '[' -z /tmp/tmp.RmvuLSOo8d/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.RmvuLSOo8d/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.RmvuLSOo8d ++ 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.RmvuLSOo8d/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.RmvuLSOo8d) ' ++ '[' 'x(tmp.RmvuLSOo8d) ' '!=' x ']' ++ PS1='(tmp.RmvuLSOo8d) (tmp.RmvuLSOo8d) ' ++ export PS1 ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + export TEST_PLAN_DIR=/w/workspace/policy-api-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.ahTZ3KsRwY + cd /tmp/tmp.ahTZ3KsRwY + 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:beb5e30ffba08d9ae8a7961b9a2145fc8af6296ff2a4f463df7cd722fcbfc789 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:7567a7c70a3c1d75aeeedc968d1304174a16651e55a60d1fb132a05e1e63a054 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 ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + tee /w/workspace/policy-api-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:15:03 up 3 min, 0 users, load average: 2.52, 1.02, 0.39 Tasks: 177 total, 1 running, 101 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.6 us, 2.2 sy, 0.0 ni, 82.2 id, 4.8 wa, 0.0 hi, 0.1 si, 0.1 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.5G 25G 1.0M 3.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 25 seconds grafana Up 29 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 ae0e2ef1276d policy-api 0.35% 572.6MiB / 31.41GiB 1.78% 999kB / 710kB 0B / 0B 55 2bac8ef52a70 grafana 0.04% 56.19MiB / 31.41GiB 0.17% 13.6kB / 2.8kB 0B / 23.8MB 16 fcb02e8c8b16 mariadb 0.02% 100.9MiB / 31.41GiB 0.31% 985kB / 1.18MB 11.2MB / 67.9MB 28 088c9cf7f63a prometheus 0.00% 19.5MiB / 31.41GiB 0.06% 1.45kB / 158B 4.1kB / 0B 13 + echo + cd /tmp/tmp.ahTZ3KsRwY + 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.ahTZ3KsRwY/output.xml Log: /tmp/tmp.ahTZ3KsRwY/log.html Report: /tmp/tmp.ahTZ3KsRwY/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:13 up 4 min, 0 users, load average: 0.87, 0.84, 0.38 Tasks: 175 total, 1 running, 99 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.0 us, 1.7 sy, 0.0 ni, 85.5 id, 3.7 wa, 0.0 hi, 0.1 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.8G 25G 1.0M 3.9G 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 ae0e2ef1276d policy-api 0.17% 887MiB / 31.41GiB 2.76% 7MB / 2.55MB 0B / 0B 55 2bac8ef52a70 grafana 0.04% 58.19MiB / 31.41GiB 0.18% 14.4kB / 3.68kB 0B / 23.8MB 16 fcb02e8c8b16 mariadb 0.02% 101.9MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 11.2MB / 68.3MB 18 088c9cf7f63a prometheus 0.00% 25.76MiB / 31.41GiB 0.08% 55.5kB / 6.57kB 4.1kB / 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-02-04T18:14:34.167946035Z level=info msg="Starting Grafana" version=10.3.1 commit=00a22ff8b28550d593ec369ba3da1b25780f0a4a branch=HEAD compiled=2024-01-22T18:40:42Z grafana | logger=settings t=2024-02-04T18:14:34.168138536Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-02-04T18:14:34.168147766Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-02-04T18:14:34.168151466Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-02-04T18:14:34.168156966Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-02-04T18:14:34.168160846Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-02-04T18:14:34.168164656Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-02-04T18:14:34.168167506Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-02-04T18:14:34.168170436Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-02-04T18:14:34.168194006Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-02-04T18:14:34.168196686Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-02-04T18:14:34.168199396Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-02-04T18:14:34.168203956Z level=info msg=Target target=[all] grafana | logger=settings t=2024-02-04T18:14:34.168212296Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-02-04T18:14:34.168215646Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-02-04T18:14:34.168218506Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-02-04T18:14:34.168221076Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-02-04T18:14:34.168223726Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-02-04T18:14:34.168226356Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-02-04T18:14:34.168487408Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-02-04T18:14:34.168502908Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-02-04T18:14:34.169075302Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-02-04T18:14:34.169908697Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-02-04T18:14:34.170599432Z level=info msg="Migration successfully executed" id="create migration_log table" duration=690.555µs grafana | logger=migrator t=2024-02-04T18:14:34.175512734Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-02-04T18:14:34.175981947Z level=info msg="Migration successfully executed" id="create user table" duration=469.093µs grafana | logger=migrator t=2024-02-04T18:14:34.179008427Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-02-04T18:14:34.17952421Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=519.283µs grafana | logger=migrator t=2024-02-04T18:14:34.182424469Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-02-04T18:14:34.183482636Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.057397ms grafana | logger=migrator t=2024-02-04T18:14:34.188901472Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-02-04T18:14:34.189911209Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.009357ms grafana | logger=migrator t=2024-02-04T18:14:34.193072059Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-02-04T18:14:34.193679833Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=607.424µs grafana | logger=migrator t=2024-02-04T18:14:34.196697442Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-02-04T18:14:34.19935106Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.652548ms grafana | logger=migrator t=2024-02-04T18:14:34.204738365Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-02-04T18:14:34.206037173Z level=info msg="Migration successfully executed" id="create user table v2" duration=1.298838ms grafana | logger=migrator t=2024-02-04T18:14:34.214000996Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-02-04T18:14:34.21473682Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=735.564µs grafana | logger=migrator t=2024-02-04T18:14:34.217953102Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-02-04T18:14:34.219133539Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.180777ms grafana | logger=migrator t=2024-02-04T18:14:34.224349053Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-02-04T18:14:34.225046478Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=690.375µs grafana | logger=migrator t=2024-02-04T18:14:34.228085408Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-02-04T18:14:34.228607591Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=522.344µs grafana | logger=migrator t=2024-02-04T18:14:34.231350639Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-02-04T18:14:34.232472027Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.118678ms grafana | logger=migrator t=2024-02-04T18:14:34.236152101Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-02-04T18:14:34.236187251Z level=info msg="Migration successfully executed" id="Update user table charset" duration=36.04µs grafana | logger=migrator t=2024-02-04T18:14:34.241149903Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-02-04T18:14:34.243093187Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.939553ms grafana | logger=migrator t=2024-02-04T18:14:34.246294087Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-02-04T18:14:34.246509529Z level=info msg="Migration successfully executed" id="Add missing user data" duration=218.812µs grafana | logger=migrator t=2024-02-04T18:14:34.249425908Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-02-04T18:14:34.250552095Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.126467ms grafana | logger=migrator t=2024-02-04T18:14:34.253300183Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-02-04T18:14:34.254002297Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=701.334µs grafana | logger=migrator t=2024-02-04T18:14:34.259590763Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-02-04T18:14:34.261494856Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.902943ms grafana | logger=migrator t=2024-02-04T18:14:34.264567806Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-02-04T18:14:34.274317181Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=9.748685ms grafana | logger=migrator t=2024-02-04T18:14:34.277183029Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-02-04T18:14:34.277991514Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=808.055µs grafana | logger=migrator t=2024-02-04T18:14:34.282759516Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-02-04T18:14:34.28353762Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=777.734µs grafana | logger=migrator t=2024-02-04T18:14:34.28649419Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-02-04T18:14:34.287307485Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=812.785µs grafana | logger=migrator t=2024-02-04T18:14:34.290341614Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-02-04T18:14:34.29110807Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=766.086µs grafana | logger=migrator t=2024-02-04T18:14:34.295986091Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-02-04T18:14:34.296747947Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=761.306µs grafana | logger=migrator t=2024-02-04T18:14:34.299668086Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-02-04T18:14:34.299723887Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=57.501µs grafana | logger=migrator t=2024-02-04T18:14:34.302893047Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-02-04T18:14:34.303872273Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=979.366µs grafana | logger=migrator t=2024-02-04T18:14:34.306807573Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-02-04T18:14:34.307537928Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=729.075µs grafana | logger=migrator t=2024-02-04T18:14:34.312332959Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-02-04T18:14:34.312944334Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=611.015µs grafana | logger=migrator t=2024-02-04T18:14:34.315758592Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-02-04T18:14:34.317225231Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.466019ms grafana | logger=migrator t=2024-02-04T18:14:34.322762357Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-02-04T18:14:34.328475644Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=5.712197ms grafana | logger=migrator t=2024-02-04T18:14:34.331601085Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-02-04T18:14:34.33238208Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=782.395µs grafana | logger=migrator t=2024-02-04T18:14:34.33539411Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-02-04T18:14:34.336134095Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=739.915µs grafana | logger=migrator t=2024-02-04T18:14:34.339033674Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-02-04T18:14:34.339722438Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=688.524µs grafana | logger=migrator t=2024-02-04T18:14:34.344374089Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-02-04T18:14:34.345064693Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=690.344µs grafana | logger=migrator t=2024-02-04T18:14:34.347945582Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-02-04T18:14:34.348695366Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=749.154µs grafana | logger=migrator t=2024-02-04T18:14:34.351646466Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-02-04T18:14:34.35227583Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=628.674µs grafana | logger=migrator t=2024-02-04T18:14:34.389216062Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-02-04T18:14:34.389623844Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=410.282µs grafana | logger=migrator t=2024-02-04T18:14:34.392142811Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-02-04T18:14:34.392433053Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=290.261µs grafana | logger=migrator t=2024-02-04T18:14:34.395305571Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-02-04T18:14:34.395723684Z level=info msg="Migration successfully executed" id="create star table" duration=421.903µs grafana | logger=migrator t=2024-02-04T18:14:34.401725373Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-02-04T18:14:34.403102713Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.3807ms grafana | logger=migrator t=2024-02-04T18:14:34.406379734Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-02-04T18:14:34.40743336Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.045656ms grafana | logger=migrator t=2024-02-04T18:14:34.41185708Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-02-04T18:14:34.412568424Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=708.274µs grafana | logger=migrator t=2024-02-04T18:14:34.415390293Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-02-04T18:14:34.415992527Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=602.124µs grafana | logger=migrator t=2024-02-04T18:14:34.421763474Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-02-04T18:14:34.422889282Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.125968ms grafana | logger=migrator t=2024-02-04T18:14:34.425745591Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-02-04T18:14:34.426501466Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=755.324µs grafana | logger=migrator t=2024-02-04T18:14:34.429277263Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-02-04T18:14:34.430007788Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=730.245µs grafana | logger=migrator t=2024-02-04T18:14:34.432784096Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-02-04T18:14:34.432807606Z level=info msg="Migration successfully executed" id="Update org table charset" duration=24.24µs grafana | logger=migrator t=2024-02-04T18:14:34.438291592Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-02-04T18:14:34.438317442Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=23.88µs grafana | logger=migrator t=2024-02-04T18:14:34.441473213Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-02-04T18:14:34.441637864Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=232.211µs grafana | logger=migrator t=2024-02-04T18:14:34.444461813Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-02-04T18:14:34.44549209Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.029897ms grafana | logger=migrator t=2024-02-04T18:14:34.448696891Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-02-04T18:14:34.449889368Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.191497ms grafana | logger=migrator t=2024-02-04T18:14:34.455742806Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-02-04T18:14:34.456562733Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=813.017µs grafana | logger=migrator t=2024-02-04T18:14:34.459492311Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-02-04T18:14:34.460286016Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=760.905µs grafana | logger=migrator t=2024-02-04T18:14:34.463278656Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-02-04T18:14:34.464501344Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.221698ms grafana | logger=migrator t=2024-02-04T18:14:34.467660845Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-02-04T18:14:34.46851891Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=856.955µs grafana | logger=migrator t=2024-02-04T18:14:34.473181071Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-02-04T18:14:34.479530832Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=6.349411ms grafana | logger=migrator t=2024-02-04T18:14:34.482899084Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-02-04T18:14:34.483546768Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=647.204µs grafana | logger=migrator t=2024-02-04T18:14:34.488647842Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-02-04T18:14:34.489346226Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=697.774µs grafana | logger=migrator t=2024-02-04T18:14:34.492580798Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-02-04T18:14:34.493299392Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=719.784µs mariadb | 2024-02-04 18:14:35+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-02-04 18:14:35+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-02-04 18:14:35+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-02-04 18:14:35+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-02-04 18:14:35 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-02-04 18:14:35 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-02-04 18:14:35 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2024-02-04 18:14:37+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-02-04 18:14:37+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-02-04 18:14:37+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-02-04 18:14:37 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 100 ... mariadb | 2024-02-04 18:14:37 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-02-04 18:14:37 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-02-04 18:14:37 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-02-04 18:14:37 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-02-04 18:14:37 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-02-04 18:14:37 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-02-04 18:14:37 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-02-04 18:14:37 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-02-04 18:14:37 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-02-04 18:14:37 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-02-04 18:14:37 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-02-04 18:14:37 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-02-04 18:14:37 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-02-04 18:14:37 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-02-04 18:14:37 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-02-04 18:14:37 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-02-04 18:14:37 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. grafana | logger=migrator t=2024-02-04T18:14:34.496462513Z level=info msg="Executing migration" id="copy dashboard v1 to v2" prometheus | ts=2024-02-04T18:14:33.184Z caller=main.go:544 level=info msg="No time or size retention was set so using the default time retention" duration=15d policy-api | Waiting for mariadb port 3306... mariadb | 2024-02-04 18:14:37 0 [Note] mariadbd: ready for connections. grafana | logger=migrator t=2024-02-04T18:14:34.496939236Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=476.813µs grafana | logger=migrator t=2024-02-04T18:14:34.500024316Z level=info msg="Executing migration" id="drop table dashboard_v1" prometheus | ts=2024-02-04T18:14:33.184Z caller=main.go:588 level=info msg="Starting Prometheus Server" mode=server version="(version=2.49.1, branch=HEAD, revision=43e14844a33b65e2a396e3944272af8b3a494071)" policy-api | mariadb (172.17.0.3:3306) open mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution policy-db-migrator | Waiting for mariadb port 3306... grafana | logger=migrator t=2024-02-04T18:14:34.501310845Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.285899ms prometheus | ts=2024-02-04T18:14:33.184Z caller=main.go:593 level=info build_context="(go=go1.21.6, platform=linux/amd64, user=root@6d5f4c649d25, date=20240115-16:58:43, tags=netgo,builtinassets,stringlabels)" policy-api | Waiting for policy-db-migrator port 6824... mariadb | 2024-02-04 18:14:38+00:00 [Note] [Entrypoint]: Temporary server started. policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused grafana | logger=migrator t=2024-02-04T18:14:34.506770951Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" prometheus | ts=2024-02-04T18:14:33.184Z caller=main.go:594 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))" policy-api | policy-db-migrator (172.17.0.5:6824) open mariadb | 2024-02-04 18:14:40+00:00 [Note] [Entrypoint]: Creating user policy_user policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused grafana | logger=migrator t=2024-02-04T18:14:34.506830781Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=60.38µs prometheus | ts=2024-02-04T18:14:33.184Z caller=main.go:595 level=info fd_limits="(soft=1048576, hard=1048576)" policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml mariadb | 2024-02-04 18:14:40+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused grafana | logger=migrator t=2024-02-04T18:14:34.509082316Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" prometheus | ts=2024-02-04T18:14:33.184Z caller=main.go:596 level=info vm_limits="(soft=unlimited, hard=unlimited)" policy-api | mariadb | policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused grafana | logger=migrator t=2024-02-04T18:14:34.510793337Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.706161ms prometheus | ts=2024-02-04T18:14:33.185Z caller=web.go:565 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 policy-api | . ____ _ __ _ _ mariadb | 2024-02-04 18:14:40+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused grafana | logger=migrator t=2024-02-04T18:14:34.513703826Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" prometheus | ts=2024-02-04T18:14:33.186Z caller=main.go:1039 level=info msg="Starting TSDB ..." policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ mariadb | policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused grafana | logger=migrator t=2024-02-04T18:14:34.515398497Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=1.694261ms prometheus | ts=2024-02-04T18:14:33.188Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-db-migrator | Connection to mariadb (172.17.0.3) 3306 port [tcp/mysql] succeeded! policy-db-migrator | 321 blocks policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) mariadb | 2024-02-04 18:14:40+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh grafana | logger=migrator t=2024-02-04T18:14:34.52035133Z level=info msg="Executing migration" id="Add column gnetId in dashboard" prometheus | ts=2024-02-04T18:14:33.188Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / mariadb | #!/bin/bash -xv grafana | logger=migrator t=2024-02-04T18:14:34.522779465Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=2.422855ms policy-db-migrator | Preparing upgrade release version: 0800 prometheus | ts=2024-02-04T18:14:33.193Z caller=head.go:606 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" policy-api | =========|_|==============|___/=/_/_/_/ mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved grafana | logger=migrator t=2024-02-04T18:14:34.526044417Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" policy-db-migrator | Preparing upgrade release version: 0900 prometheus | ts=2024-02-04T18:14:33.193Z caller=head.go:687 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=2.39µs policy-api | :: Spring Boot :: (v3.1.4) mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. grafana | logger=migrator t=2024-02-04T18:14:34.527211964Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=1.167247ms policy-db-migrator | Preparing upgrade release version: 1000 prometheus | ts=2024-02-04T18:14:33.193Z caller=head.go:695 level=info component=tsdb msg="Replaying WAL, this may take a while" policy-api | mariadb | # grafana | logger=migrator t=2024-02-04T18:14:34.538590299Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" policy-db-migrator | Preparing upgrade release version: 1100 prometheus | ts=2024-02-04T18:14:33.193Z caller=head.go:766 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 policy-api | [2024-02-04T18:14:51.878+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 23 (/app/api.jar started by policy in /opt/app/policy/api/bin) mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); grafana | logger=migrator t=2024-02-04T18:14:34.540455341Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.861382ms policy-db-migrator | Preparing upgrade release version: 1200 prometheus | ts=2024-02-04T18:14:33.193Z caller=head.go:803 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=28.62µs wal_replay_duration=535.422µs wbl_replay_duration=210ns total_replay_duration=599.282µs policy-api | [2024-02-04T18:14:51.882+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" mariadb | # you may not use this file except in compliance with the License. grafana | logger=migrator t=2024-02-04T18:14:34.545547465Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" policy-db-migrator | Preparing upgrade release version: 1300 prometheus | ts=2024-02-04T18:14:33.196Z caller=main.go:1060 level=info fs_type=EXT4_SUPER_MAGIC policy-api | [2024-02-04T18:14:53.554+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. mariadb | # You may obtain a copy of the License at policy-db-migrator | Done grafana | logger=migrator t=2024-02-04T18:14:34.54636426Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=816.385µs prometheus | ts=2024-02-04T18:14:33.196Z caller=main.go:1063 level=info msg="TSDB started" policy-api | [2024-02-04T18:14:53.640+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 77 ms. Found 6 JPA repository interfaces. mariadb | # policy-db-migrator | name version grafana | logger=migrator t=2024-02-04T18:14:34.549358099Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" prometheus | ts=2024-02-04T18:14:33.196Z caller=main.go:1245 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml policy-api | [2024-02-04T18:14:54.055+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 mariadb | # http://www.apache.org/licenses/LICENSE-2.0 policy-db-migrator | policyadmin 0 grafana | logger=migrator t=2024-02-04T18:14:34.550113834Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=755.295µs prometheus | ts=2024-02-04T18:14:33.197Z caller=main.go:1282 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=892.612µs db_storage=1.19µs remote_storage=1.68µs web_handler=590ns query_engine=1.09µs scrape=248.91µs scrape_sd=125.051µs notify=25.11µs notify_sd=11.48µs rules=1.77µs tracing=5.34µs policy-api | [2024-02-04T18:14:54.055+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 mariadb | # policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 grafana | logger=migrator t=2024-02-04T18:14:34.55401517Z level=info msg="Executing migration" id="Update dashboard table charset" prometheus | ts=2024-02-04T18:14:33.197Z caller=main.go:1024 level=info msg="Server is ready to receive web requests." policy-api | [2024-02-04T18:14:54.710+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) mariadb | # Unless required by applicable law or agreed to in writing, software policy-db-migrator | upgrade: 0 -> 1300 grafana | logger=migrator t=2024-02-04T18:14:34.55403984Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=25.68µs prometheus | ts=2024-02-04T18:14:33.197Z caller=manager.go:146 level=info component="rule manager" msg="Starting rule manager..." policy-api | [2024-02-04T18:14:54.721+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] mariadb | # distributed under the License is distributed on an "AS IS" BASIS, policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:34.557218071Z level=info msg="Executing migration" id="Update dashboard_tag table charset" policy-api | [2024-02-04T18:14:54.723+00:00|INFO|StandardService|main] Starting service [Tomcat] mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql grafana | logger=migrator t=2024-02-04T18:14:34.557240881Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=26.52µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.560803044Z level=info msg="Executing migration" id="Add column folder_id in dashboard" policy-api | [2024-02-04T18:14:54.723+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] mariadb | # See the License for the specific language governing permissions and 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) grafana | logger=migrator t=2024-02-04T18:14:34.562645076Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=1.841682ms policy-api | [2024-02-04T18:14:54.812+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext mariadb | # limitations under the License. policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.568008331Z level=info msg="Executing migration" id="Add column isFolder in dashboard" policy-api | [2024-02-04T18:14:54.813+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2870 ms mariadb | policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:34.569907163Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.898502ms policy-api | [2024-02-04T18:14:55.258+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:34.573629308Z level=info msg="Executing migration" id="Add column has_acl in dashboard" policy-api | [2024-02-04T18:14:55.333+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 mariadb | do policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-02-04T18:14:34.57688483Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=3.260181ms policy-api | [2024-02-04T18:14:55.337+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.581208687Z level=info msg="Executing migration" id="Add column uid in dashboard" policy-api | [2024-02-04T18:14:55.378+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" 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) grafana | logger=migrator t=2024-02-04T18:14:34.583047919Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.839082ms policy-api | [2024-02-04T18:14:55.757+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer mariadb | done policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.587803881Z level=info msg="Executing migration" id="Update uid column values in dashboard" policy-api | [2024-02-04T18:14:55.778+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:34.587982782Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=179.121µs policy-api | [2024-02-04T18:14:55.876+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@2620e717 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:34.591670266Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" policy-api | [2024-02-04T18:14:55.879+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql grafana | logger=migrator t=2024-02-04T18:14:34.59242809Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=757.324µs policy-api | [2024-02-04T18:14:55.908+00:00|WARN|deprecation|main] HHH90000025: MariaDB103Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.596095215Z level=info msg="Executing migration" id="Remove unique index org_id_slug" policy-api | [2024-02-04T18:14:55.909+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' 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) grafana | logger=migrator t=2024-02-04T18:14:34.597369893Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.271438ms policy-api | [2024-02-04T18:14:57.709+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.602093414Z level=info msg="Executing migration" id="Update dashboard title length" policy-api | [2024-02-04T18:14:57.713+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:34.602134215Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=42.751µs policy-api | [2024-02-04T18:14:58.911+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:34.605451996Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" policy-api | [2024-02-04T18:14:59.633+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql grafana | logger=migrator t=2024-02-04T18:14:34.606720194Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.259368ms policy-api | [2024-02-04T18:15:00.751+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 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.610134717Z level=info msg="Executing migration" id="create dashboard_provisioning" policy-api | [2024-02-04T18:15:00.972+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@c0d114b, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@2079ce51, org.springframework.security.web.context.SecurityContextHolderFilter@5f6b6f2, org.springframework.security.web.header.HeaderWriterFilter@712ce4f1, org.springframework.security.web.authentication.logout.LogoutFilter@13e6b26c, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@136cd71b, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@45fa7f1a, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@44264fb6, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@1692d173, org.springframework.security.web.access.ExceptionTranslationFilter@6e04275e, org.springframework.security.web.access.intercept.AuthorizationFilter@46ae1e6b] mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) grafana | logger=migrator t=2024-02-04T18:14:34.610747721Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=609.934µs policy-api | [2024-02-04T18:15:01.865+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.61380571Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" policy-api | [2024-02-04T18:15:01.916+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:34.620986637Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=7.180447ms policy-api | [2024-02-04T18:15:01.936+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:34.625209385Z level=info msg="Executing migration" id="create dashboard_provisioning v2" policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql grafana | logger=migrator t=2024-02-04T18:14:34.625830179Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=619.614µs policy-api | [2024-02-04T18:15:01.954+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.795 seconds (process running for 11.434) mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.629205571Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" policy-api | [2024-02-04T18:15:06.000+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 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) grafana | logger=migrator t=2024-02-04T18:14:34.629990497Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=784.756µs policy-api | [2024-02-04T18:15:06.000+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.633371629Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" policy-api | [2024-02-04T18:15:06.002+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 2 ms mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:34.634219414Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=847.295µs policy-db-migrator | policy-api | [2024-02-04T18:15:08.442+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: mariadb | grafana | logger=migrator t=2024-02-04T18:14:34.638775244Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-api | [] grafana | logger=migrator t=2024-02-04T18:14:34.639121016Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=345.322µs policy-db-migrator | -------------- mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" policy-api | [2024-02-04T18:15:08.550+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes grafana | logger=migrator t=2024-02-04T18:14:34.64290775Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' policy-api | [2024-02-04T18:15:08.796+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes grafana | logger=migrator t=2024-02-04T18:14:34.643898327Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=988.247µs policy-db-migrator | -------------- mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql policy-api | [2024-02-04T18:15:10.095+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policies grafana | logger=migrator t=2024-02-04T18:14:34.647552261Z level=info msg="Executing migration" id="Add check_sum column" policy-db-migrator | mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp policy-db-migrator | policy-api | [2024-02-04T18:15:12.047+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 grafana | logger=migrator t=2024-02-04T18:14:34.650200899Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=2.649398ms mariadb | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-api | [2024-02-04T18:15:12.352+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 grafana | logger=migrator t=2024-02-04T18:14:34.654336215Z level=info msg="Executing migration" id="Add index for dashboard_title" mariadb | 2024-02-04 18:14:41+00:00 [Note] [Entrypoint]: Stopping temporary server policy-api | [2024-02-04T18:15:12.585+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 mariadb | 2024-02-04 18:14:41 0 [Note] mariadbd (initiated by: unknown): Normal shutdown policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.655205252Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=868.987µs mariadb | 2024-02-04 18:14:41 0 [Note] InnoDB: FTS optimize thread exiting. policy-api | [2024-02-04T18:15:12.817+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-04T18:14:34.658758465Z level=info msg="Executing migration" id="delete tags for deleted dashboards" mariadb | 2024-02-04 18:14:41 0 [Note] InnoDB: Starting shutdown... policy-db-migrator | -------------- mariadb | 2024-02-04 18:14:41 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool policy-api | [2024-02-04T18:15:13.058+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 grafana | logger=migrator t=2024-02-04T18:14:34.658987816Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=225.891µs policy-db-migrator | mariadb | 2024-02-04 18:14:41 0 [Note] InnoDB: Buffer pool(s) dump completed at 240204 18:14:41 policy-api | [2024-02-04T18:15:13.289+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2024-02-04T18:14:34.662609009Z level=info msg="Executing migration" id="delete stars for deleted dashboards" policy-db-migrator | mariadb | 2024-02-04 18:14:41 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" grafana | logger=migrator t=2024-02-04T18:14:34.662994222Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=385.183µs policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql mariadb | 2024-02-04 18:14:41 0 [Note] InnoDB: Shutdown completed; log sequence number 340331; transaction id 298 grafana | logger=migrator t=2024-02-04T18:14:34.667742593Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" policy-db-migrator | -------------- mariadb | 2024-02-04 18:14:41 0 [Note] mariadbd: Shutdown complete grafana | logger=migrator t=2024-02-04T18:14:34.669304214Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.562601ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) mariadb | grafana | logger=migrator t=2024-02-04T18:14:34.672858797Z level=info msg="Executing migration" id="Add isPublic for dashboard" policy-db-migrator | -------------- mariadb | 2024-02-04 18:14:41+00:00 [Note] [Entrypoint]: Temporary server stopped grafana | logger=migrator t=2024-02-04T18:14:34.675340133Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.480376ms policy-db-migrator | mariadb | grafana | logger=migrator t=2024-02-04T18:14:34.715654626Z level=info msg="Executing migration" id="create data_source table" policy-db-migrator | mariadb | 2024-02-04 18:14:41+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql grafana | logger=migrator t=2024-02-04T18:14:34.717225997Z level=info msg="Migration successfully executed" id="create data_source table" duration=1.571261ms mariadb | policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.722300391Z level=info msg="Executing migration" id="add index data_source.account_id" mariadb | 2024-02-04 18:14:41 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-04T18:14:34.723576488Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.275827ms mariadb | 2024-02-04 18:14:41 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.727138502Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" mariadb | 2024-02-04 18:14:41 0 [Note] InnoDB: Number of transaction pools: 1 policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:34.728005508Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=866.826µs mariadb | 2024-02-04 18:14:41 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions grafana | logger=migrator t=2024-02-04T18:14:34.73139804Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" mariadb | 2024-02-04 18:14:41 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:34.732178004Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=780.094µs mariadb | 2024-02-04 18:14:41 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql grafana | logger=migrator t=2024-02-04T18:14:34.736574974Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" mariadb | 2024-02-04 18:14:41 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.737366928Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=791.914µs mariadb | 2024-02-04 18:14:41 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-04T18:14:34.740800521Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" mariadb | 2024-02-04 18:14:41 0 [Note] InnoDB: Completed initialization of buffer pool policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.748632442Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=7.831861ms mariadb | 2024-02-04 18:14:41 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:34.752227286Z level=info msg="Executing migration" id="create data_source table v2" mariadb | 2024-02-04 18:14:41 0 [Note] InnoDB: 128 rollback segments are active. policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:34.753145442Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=918.016µs mariadb | 2024-02-04 18:14:41 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql grafana | logger=migrator t=2024-02-04T18:14:34.757232859Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" mariadb | 2024-02-04 18:14:41 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.758124914Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=891.755µs mariadb | 2024-02-04 18:14:41 0 [Note] InnoDB: log sequence number 340331; transaction id 299 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-04T18:14:34.761238555Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" mariadb | 2024-02-04 18:14:41 0 [Note] Plugin 'FEEDBACK' is disabled. policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.762211871Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=972.816µs mariadb | 2024-02-04 18:14:41 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:34.765734444Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" mariadb | 2024-02-04 18:14:41 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:34.766395358Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=658.514µs mariadb | 2024-02-04 18:14:41 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql grafana | logger=migrator t=2024-02-04T18:14:34.770559766Z level=info msg="Executing migration" id="Add column with_credentials" mariadb | 2024-02-04 18:14:41 0 [Note] Server socket created on IP: '0.0.0.0'. policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.772966402Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=2.406606ms mariadb | 2024-02-04 18:14:41 0 [Note] Server socket created on IP: '::'. policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-04T18:14:34.776445414Z level=info msg="Executing migration" id="Add secure json data column" mariadb | 2024-02-04 18:14:41 0 [Note] mariadbd: ready for connections. policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.7787982Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.352566ms mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:34.782054661Z level=info msg="Executing migration" id="Update data_source table charset" mariadb | 2024-02-04 18:14:41 0 [Note] InnoDB: Buffer pool(s) load completed at 240204 18:14:41 policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:34.782203992Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=152.151µs mariadb | 2024-02-04 18:14:42 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql grafana | logger=migrator t=2024-02-04T18:14:34.786298928Z level=info msg="Executing migration" id="Update initial version to 1" mariadb | 2024-02-04 18:14:42 23 [Warning] Aborted connection 23 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.786595251Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=299.133µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-04T18:14:34.789312369Z level=info msg="Executing migration" id="Add read_only data column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.793122513Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.807244ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:34.796968558Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:34.79729674Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=327.862µs policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql grafana | logger=migrator t=2024-02-04T18:14:34.800540152Z level=info msg="Executing migration" id="Update json_data with nulls" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.800811714Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=271.342µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-04T18:14:34.804983501Z level=info msg="Executing migration" id="Add uid column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.808747275Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.763924ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:34.812555971Z level=info msg="Executing migration" id="Update uid value" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:34.813039614Z level=info msg="Migration successfully executed" id="Update uid value" duration=478.133µs policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-02-04T18:14:34.816408155Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.817567764Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.158749ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-04T18:14:34.828423304Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.829489681Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.066217ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:34.832000717Z level=info msg="Executing migration" id="create api_key table" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:34.832879913Z level=info msg="Migration successfully executed" id="create api_key table" duration=879.246µs policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql grafana | logger=migrator t=2024-02-04T18:14:34.835343519Z level=info msg="Executing migration" id="add index api_key.account_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.836260635Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=917.016µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-04T18:14:34.839665718Z level=info msg="Executing migration" id="add index api_key.key" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.840625284Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=959.286µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:34.843583503Z level=info msg="Executing migration" id="add index api_key.account_id_name" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:34.844580609Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=996.556µs policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql grafana | logger=migrator t=2024-02-04T18:14:34.848624706Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.849553272Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=928.676µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-04T18:14:34.854034572Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.85538423Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.349188ms policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql grafana | logger=migrator t=2024-02-04T18:14:34.887796473Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.888422147Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=628.483µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-04T18:14:34.893076297Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.904783674Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=11.708227ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:34.908042305Z level=info msg="Executing migration" id="create api_key table v2" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:34.908815089Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=767.404µs policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql grafana | logger=migrator t=2024-02-04T18:14:34.91201642Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-02-04T18:14:34.912891667Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=875.207µs grafana | logger=migrator t=2024-02-04T18:14:34.917204684Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.918172971Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=966.917µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-04T18:14:34.922065137Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.923514006Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.442288ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:34.927716764Z level=info msg="Executing migration" id="copy api_key v1 to v2" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:34.928170466Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=453.172µs policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql grafana | logger=migrator t=2024-02-04T18:14:34.931107836Z level=info msg="Executing migration" id="Drop old table api_key_v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.931724129Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=621.773µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-04T18:14:34.935546125Z level=info msg="Executing migration" id="Update api_key table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.935745976Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=199.481µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:34.939350119Z level=info msg="Executing migration" id="Add expires to api_key table" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:34.943551357Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=4.204728ms policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-02-04T18:14:34.947377652Z level=info msg="Executing migration" id="Add service account foreign key" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.952058173Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=4.674341ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-02-04T18:14:34.956692903Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.956974414Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=281.361µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:34.960348157Z level=info msg="Executing migration" id="Add last_used_at to api_key table" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:34.963070215Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.721428ms policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql grafana | logger=migrator t=2024-02-04T18:14:34.966478437Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.969199615Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.720868ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-04T18:14:34.973449192Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.974237648Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=788.346µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:34.97755879Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:34.978191774Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=632.724µs policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql grafana | logger=migrator t=2024-02-04T18:14:34.981423165Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.98224916Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=825.935µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-04T18:14:34.986911491Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.987786106Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=873.875µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:34.990917027Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:34.991791483Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=866.816µs policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-02-04T18:14:34.994951743Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.995889289Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=936.926µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-02-04T18:14:34.999803295Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:34.999985436Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=181.881µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.003301132Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.003437663Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=136.291µs policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-02-04T18:14:35.006868441Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.011303378Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.434537ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-04T18:14:35.014894857Z level=info msg="Executing migration" id="Add encrypted dashboard json column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.017588949Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.685182ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.021947686Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.022120877Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=173.121µs policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql grafana | logger=migrator t=2024-02-04T18:14:35.063049533Z level=info msg="Executing migration" id="create quota table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.064224594Z level=info msg="Migration successfully executed" id="create quota table v1" duration=1.177151ms 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 | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.068060235Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.069524828Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.468943ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.075416116Z level=info msg="Executing migration" id="Update quota table charset" policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql grafana | logger=migrator t=2024-02-04T18:14:35.075484557Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=75.191µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.081199924Z level=info msg="Executing migration" id="create plugin_setting table" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-04T18:14:35.082009051Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=810.007µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.084739104Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.08559172Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=852.086µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.088303913Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql grafana | logger=migrator t=2024-02-04T18:14:35.091202177Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.892594ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.095504784Z level=info msg="Executing migration" id="Update plugin_setting table charset" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-04T18:14:35.095535404Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=31.61µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.098283797Z level=info msg="Executing migration" id="create session table" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.099029553Z level=info msg="Migration successfully executed" id="create session table" duration=739.215µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.101733005Z level=info msg="Executing migration" id="Drop old table playlist table" policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql grafana | logger=migrator t=2024-02-04T18:14:35.101815006Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=82.481µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.104672379Z level=info msg="Executing migration" id="Drop old table playlist_item table" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-04T18:14:35.10475592Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=77.321µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.108888095Z level=info msg="Executing migration" id="create playlist table v2" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.10955425Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=665.145µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.112513645Z level=info msg="Executing migration" id="create playlist item table v2" policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql grafana | logger=migrator t=2024-02-04T18:14:35.113581024Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.066028ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.116567598Z level=info msg="Executing migration" id="Update playlist table charset" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-04T18:14:35.116606129Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=40.101µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.121238377Z level=info msg="Executing migration" id="Update playlist_item table charset" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.121266127Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=28.78µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.124180902Z level=info msg="Executing migration" id="Add playlist column created_at" policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql grafana | logger=migrator t=2024-02-04T18:14:35.127166877Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=2.988635ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.13000518Z level=info msg="Executing migration" id="Add playlist column updated_at" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) grafana | logger=migrator t=2024-02-04T18:14:35.133309328Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.302638ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.136142501Z level=info msg="Executing migration" id="drop preferences table v2" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.136222022Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=79.981µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.140035824Z level=info msg="Executing migration" id="drop preferences table v3" policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql grafana | logger=migrator t=2024-02-04T18:14:35.140119365Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=83.341µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.143232681Z level=info msg="Executing migration" id="create preferences table v3" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-04T18:14:35.143931166Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=697.405µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.148186472Z level=info msg="Executing migration" id="Update preferences table charset" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.148225082Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=40.06µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.152662029Z level=info msg="Executing migration" id="Add column team_id in preferences" policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql grafana | logger=migrator t=2024-02-04T18:14:35.157486479Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=4.872381ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.160083991Z level=info msg="Executing migration" id="Update team_id column values in preferences" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-04T18:14:35.160232062Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=148.281µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.162964195Z level=info msg="Executing migration" id="Add column week_start in preferences" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.16599938Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.035055ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.168896014Z level=info msg="Executing migration" id="Add column preferences.json_data" policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql grafana | logger=migrator t=2024-02-04T18:14:35.171869959Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=2.971495ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.176280526Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-02-04T18:14:35.176343756Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=63.83µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.179075539Z level=info msg="Executing migration" id="Add preferences index org_id" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.179943226Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=867.207µs grafana | logger=migrator t=2024-02-04T18:14:35.183165593Z level=info msg="Executing migration" id="Add preferences index user_id" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.184571085Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.404302ms policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2024-02-04T18:14:35.187952013Z level=info msg="Executing migration" id="create alert table v1" 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)) grafana | logger=migrator t=2024-02-04T18:14:35.189323084Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.369231ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.192208858Z level=info msg="Executing migration" id="add index alert org_id & id " policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.193175386Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=966.278µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.197161359Z level=info msg="Executing migration" id="add index alert state" policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2024-02-04T18:14:35.198193678Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.031499ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.202096491Z level=info msg="Executing migration" id="add index alert dashboard_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPGROUP (name, version)) grafana | logger=migrator t=2024-02-04T18:14:35.203007688Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=911.207µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.206293065Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.207086202Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=793.807µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.254314456Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" policy-db-migrator | > upgrade 0460-pdppolicystatus.sql grafana | logger=migrator t=2024-02-04T18:14:35.255777467Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.466601ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.259086975Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BOOLEAN DEFAULT 0, PDPGROUP VARCHAR(255) DEFAULT NULL, PDPTYPE VARCHAR(255) DEFAULT NULL, STATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_PDPPOLICYSTATUS (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-02-04T18:14:35.260461336Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.376391ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.263403481Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.278122073Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=14.717282ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.283623879Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2024-02-04T18:14:35.284093063Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=469.344µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.286955346Z level=info msg="Executing migration" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL, MESSAGE VARCHAR(255) DEFAULT NULL, PDPSTATE INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDP (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-02-04T18:14:35.288353659Z level=info msg="Migration successfully executed" id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2" duration=1.406453ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.291527885Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.291983429Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=454.164µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.296617218Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2024-02-04T18:14:35.297141492Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=530.794µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.300029896Z level=info msg="Executing migration" id="create alert_notification table v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL, timeStamp datetime NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_PDPSTATISTICS (timeStamp, name, version)) grafana | logger=migrator t=2024-02-04T18:14:35.300749992Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=725.436µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.309122771Z level=info msg="Executing migration" id="Add column is_default" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.3126298Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.500989ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.320942979Z level=info msg="Executing migration" id="Add column frequency" policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2024-02-04T18:14:35.324791222Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.848483ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.327754387Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2024-02-04T18:14:35.331567968Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.814072ms grafana | logger=migrator t=2024-02-04T18:14:35.334812725Z level=info msg="Executing migration" id="Add column disable_resolve_message" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-02-04T18:14:35.338838579Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=4.110695ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.343824251Z level=info msg="Executing migration" id="add index alert_notification org_id & name" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.344903459Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.079108ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.348132266Z level=info msg="Executing migration" id="Update alert table charset" policy-db-migrator | > upgrade 0500-pdpsubgroup.sql grafana | logger=migrator t=2024-02-04T18:14:35.348299637Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=113.781µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.352547653Z level=info msg="Executing migration" id="Update alert_notification table charset" policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-02-04T18:14:35.352693474Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=145.081µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.35712809Z level=info msg="Executing migration" id="create notification_journal table v1" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.358091159Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=964.259µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.363714696Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql grafana | logger=migrator t=2024-02-04T18:14:35.36546027Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.749524ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.368423815Z level=info msg="Executing migration" id="drop alert_notification_journal" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENT(name, version)) grafana | logger=migrator t=2024-02-04T18:14:35.369004089Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=562.524µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.371742042Z level=info msg="Executing migration" id="create alert_notification_state table v1" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.37267808Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=935.448µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.378252617Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql grafana | logger=migrator t=2024-02-04T18:14:35.379829499Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.576642ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.383874654Z level=info msg="Executing migration" id="Add for to alert table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS (name, version)) grafana | logger=migrator t=2024-02-04T18:14:35.390501659Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=6.628355ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.428151962Z level=info msg="Executing migration" id="Add column uid in alert_notification" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.434121102Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=5.96958ms policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql grafana | logger=migrator t=2024-02-04T18:14:35.439595427Z level=info msg="Executing migration" id="Update uid column values in alert_notification" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.439773779Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=178.422µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-04T18:14:35.443887323Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.444776241Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=888.748µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.450331847Z level=info msg="Executing migration" id="Remove unique index org_id_name" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.450927382Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=595.355µs policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql grafana | logger=migrator t=2024-02-04T18:14:35.455355008Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.458159992Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=2.800713ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPE (name, version)) grafana | logger=migrator t=2024-02-04T18:14:35.460575732Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.460636292Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=61.82µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.463198653Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.463844789Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=646.366µs policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql grafana | logger=migrator t=2024-02-04T18:14:35.469153013Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.470072301Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=918.688µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES (name, version)) grafana | logger=migrator t=2024-02-04T18:14:35.472691423Z level=info msg="Executing migration" id="Drop old annotation table v4" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.472777744Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=86.831µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.475431325Z level=info msg="Executing migration" id="create annotation table v5" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.476239012Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=802.077µs policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql grafana | logger=migrator t=2024-02-04T18:14:35.481229334Z level=info msg="Executing migration" id="add index annotation 0 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.482129431Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=897.637µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-04T18:14:35.484985115Z level=info msg="Executing migration" id="add index annotation 1 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.485871962Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=886.597µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.488611415Z level=info msg="Executing migration" id="add index annotation 2 v3" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.489488913Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=877.268µs policy-db-migrator | > upgrade 0570-toscadatatype.sql grafana | logger=migrator t=2024-02-04T18:14:35.492493698Z level=info msg="Executing migration" id="add index annotation 3 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.493708037Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.213899ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) grafana | logger=migrator t=2024-02-04T18:14:35.498430207Z level=info msg="Executing migration" id="add index annotation 4 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.499352995Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=922.488µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.50243452Z level=info msg="Executing migration" id="Update annotation table charset" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.50246219Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=28.61µs policy-db-migrator | > upgrade 0580-toscadatatypes.sql grafana | logger=migrator t=2024-02-04T18:14:35.508151467Z level=info msg="Executing migration" id="Add column region_id to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.512453484Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.305027ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPES (name, version)) grafana | logger=migrator t=2024-02-04T18:14:35.515219287Z level=info msg="Executing migration" id="Drop category_id index" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.516071224Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=855.257µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.523624627Z level=info msg="Executing migration" id="Add column tags to annotation table" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.527532869Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=3.908022ms policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql grafana | logger=migrator t=2024-02-04T18:14:35.530320572Z level=info msg="Executing migration" id="Create annotation_tag table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.530963837Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=642.555µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCADATATYPES_TOSCADATATYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-04T18:14:35.533858161Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.53478712Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=928.799µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.540621928Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.542162761Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.540963ms policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=migrator t=2024-02-04T18:14:35.546510767Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.559908439Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=13.397932ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) grafana | logger=migrator t=2024-02-04T18:14:35.562811393Z level=info msg="Executing migration" id="Create annotation_tag table v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.563270337Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=458.834µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.668891116Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.67066751Z 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.779354ms policy-db-migrator | > upgrade 0610-toscanodetemplates.sql grafana | logger=migrator t=2024-02-04T18:14:35.67546317Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.675774323Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=311.103µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.679176591Z level=info msg="Executing migration" id="drop table annotation_tag_v2" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.679893907Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=717.036µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.684128403Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql grafana | logger=migrator t=2024-02-04T18:14:35.684326184Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=204.152µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.688473409Z level=info msg="Executing migration" id="Add created time to annotation table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-04T18:14:35.692545722Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.066183ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.696147282Z level=info msg="Executing migration" id="Add updated time to annotation table" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.701354496Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=5.206794ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.706260767Z level=info msg="Executing migration" id="Add index for created in annotation table" policy-db-migrator | > upgrade 0630-toscanodetype.sql grafana | logger=migrator t=2024-02-04T18:14:35.707185854Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=925.037µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.713109234Z level=info msg="Executing migration" id="Add index for updated in annotation table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETYPE (name, version)) grafana | logger=migrator t=2024-02-04T18:14:35.713950591Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=841.637µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.718107015Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.718329767Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=222.872µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.72346012Z level=info msg="Executing migration" id="Add epoch_end column" policy-db-migrator | > upgrade 0640-toscanodetypes.sql grafana | logger=migrator t=2024-02-04T18:14:35.730505839Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=7.046549ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.736485998Z level=info msg="Executing migration" id="Add index for epoch_end" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETYPES (name, version)) grafana | logger=migrator t=2024-02-04T18:14:35.737744238Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.25226ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.742144285Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.742526369Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=382.594µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.745465643Z level=info msg="Executing migration" id="Move region to single row" policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2024-02-04T18:14:35.745817426Z level=info msg="Migration successfully executed" id="Move region to single row" duration=348.613µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.749362845Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCANODETYPES_TOSCANODETYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-04T18:14:35.750181323Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=813.498µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.755689079Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.75712356Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.438911ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.761252005Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" policy-db-migrator | > upgrade 0660-toscaparameter.sql grafana | logger=migrator t=2024-02-04T18:14:35.762642806Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.390311ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.768064041Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-02-04T18:14:35.769370471Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.3173ms grafana | logger=migrator t=2024-02-04T18:14:35.774339273Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPARAMETER (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-02-04T18:14:35.77516203Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=825.977µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.778329007Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.779643488Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.314581ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.78472251Z level=info msg="Executing migration" id="Increase tags column to length 4096" policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2024-02-04T18:14:35.784849661Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=127.421µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.789083295Z level=info msg="Executing migration" id="create test_data table" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) grafana | logger=migrator t=2024-02-04T18:14:35.790182055Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.09841ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.79441549Z level=info msg="Executing migration" id="create dashboard_version table v1" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.795320988Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=905.288µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.801910623Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2024-02-04T18:14:35.803268025Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.356922ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.843854562Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-04T18:14:35.84594808Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=2.084848ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.849049785Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.849390678Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=340.733µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.855607889Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2024-02-04T18:14:35.856345345Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=737.486µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.861949792Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.862102994Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=153.762µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.866264308Z level=info msg="Executing migration" id="create team table" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.867411238Z level=info msg="Migration successfully executed" id="create team table" duration=1.14636ms policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2024-02-04T18:14:35.871640433Z level=info msg="Executing migration" id="add index team.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.873793101Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=2.139318ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPE (name, version)) grafana | logger=migrator t=2024-02-04T18:14:35.879287297Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.880493457Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.20583ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.884359238Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.888867887Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=4.509138ms policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2024-02-04T18:14:35.892380996Z level=info msg="Executing migration" id="Update uid column values in team" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.892549937Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=165.991µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES (name, version)) grafana | logger=migrator t=2024-02-04T18:14:35.898482237Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.900546173Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=2.062967ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.905614446Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.906850836Z level=info msg="Migration successfully executed" id="create team member table" duration=1.22157ms policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2024-02-04T18:14:35.909862802Z level=info msg="Executing migration" id="add index team_member.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.910806519Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=943.047µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-04T18:14:35.916751999Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.918061989Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.30933ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.922203054Z level=info msg="Executing migration" id="add index team_member.team_id" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.923807148Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.594714ms policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2024-02-04T18:14:35.928331245Z level=info msg="Executing migration" id="Add column email to team table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.935827818Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=7.496873ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) DEFAULT NULL, `DESCRIPTION` VARCHAR(255) DEFAULT NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL, REQUIRED BOOLEAN DEFAULT 0, STATUS INT DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PRIMARY KEY PK_TOSCAPROPERTY (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-02-04T18:14:35.941632126Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.944898643Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=3.266317ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.948614603Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.953397313Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.78296ms policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2024-02-04T18:14:35.956509029Z level=info msg="Executing migration" id="create dashboard acl table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.957126994Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=618.925µ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-02-04T18:14:35.963246086Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:35.964850468Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.603762ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.97458616Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:35.978806945Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=4.229875ms policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2024-02-04T18:14:36.019113531Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.02027173Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.159449ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES (name, version)) grafana | logger=migrator t=2024-02-04T18:14:36.027027355Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.02876928Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.741835ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.03352035Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.034441357Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=922.237µs policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2024-02-04T18:14:36.039452879Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.041489576Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=2.035817ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-04T18:14:36.049521912Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.050714702Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.19687ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.055175869Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.055790975Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=614.876µs policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2024-02-04T18:14:36.061140089Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.061432102Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=292.013µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAREQUIREMENT (name, version)) grafana | logger=migrator t=2024-02-04T18:14:36.067052858Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.068201617Z level=info msg="Migration successfully executed" id="create tag table" duration=1.148089ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.074319028Z level=info msg="Executing migration" id="add index tag.key_value" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.075941162Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.621524ms policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2024-02-04T18:14:36.079754733Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.080942323Z level=info msg="Migration successfully executed" id="create login attempt table" duration=1.18701ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS (name, version)) grafana | logger=migrator t=2024-02-04T18:14:36.085242139Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.086187947Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=945.598µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.09145014Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.09260871Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.15718ms policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2024-02-04T18:14:36.097839683Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.11925539Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=21.417687ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-02-04T18:14:36.123066503Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.123754858Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=688.835µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.1275823Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.128420427Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=837.767µs policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2024-02-04T18:14:36.132162468Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.13237767Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=215.362µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCASERVICETEMPLATE (name, version)) grafana | logger=migrator t=2024-02-04T18:14:36.135130023Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.135582766Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=452.293µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.139099285Z level=info msg="Executing migration" id="create user auth table" grafana | logger=migrator t=2024-02-04T18:14:36.13961058Z level=info msg="Migration successfully executed" id="create user auth table" duration=511.165µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.142533674Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2024-02-04T18:14:36.143464802Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=930.858µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.146719178Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCATOPOLOGYTEMPLATE (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-02-04T18:14:36.146784909Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=66.581µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.152434176Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.157834611Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.399955ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.205530506Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" grafana | logger=migrator t=2024-02-04T18:14:36.212460155Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=6.931509ms policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2024-02-04T18:14:36.218995978Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.22398664Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=4.990272ms policy-db-migrator | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL, toscaConstraint LONGBLOB DEFAULT NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL, SCHEDULE LONGBLOB DEFAULT NULL, TARGETFILTER LONGBLOB DEFAULT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_TOSCATRIGGER (parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-02-04T18:14:36.228019983Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.234505207Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=6.489214ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.239133385Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.240175314Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.041849ms policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-02-04T18:14:36.2445819Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.252808429Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=8.221789ms policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2024-02-04T18:14:36.258648597Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.259243882Z level=info msg="Migration successfully executed" id="create server_lock table" duration=594.895µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.263186245Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.264824438Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.637613ms policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-02-04T18:14:36.291882373Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.293401455Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.518842ms policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-02-04T18:14:36.326800012Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.328734449Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.932787ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.335838588Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.336750255Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=911.887µs policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-02-04T18:14:36.339871661Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.341880418Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=2.008367ms policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-02-04T18:14:36.402799384Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.411076081Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=8.296898ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.417901588Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.419002377Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.101109ms policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-02-04T18:14:36.423525775Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.424289381Z level=info msg="Migration successfully executed" id="create cache_data table" duration=763.016µs policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2024-02-04T18:14:36.43020915Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.431496091Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.286471ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.438199356Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-02-04T18:14:36.439633109Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=1.434943ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.447956738Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2024-02-04T18:14:36.449335519Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.379021ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.454372081Z 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-02-04T18:14:36.454442711Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=71.65µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.458458554Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-02-04T18:14:36.458610026Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=161.181µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.462813121Z level=info msg="Executing migration" id="recreate alert_definition table" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2024-02-04T18:14:36.463740478Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=927.497µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.467631931Z 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-02-04T18:14:36.468607749Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=975.648µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.474618059Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-02-04T18:14:36.4759024Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.289181ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.478784794Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2024-02-04T18:14:36.478893885Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=108.9µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.48320136Z 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-02-04T18:14:36.484606702Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.405102ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.490606042Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-02-04T18:14:36.492127274Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.521562ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.495724594Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2024-02-04T18:14:36.497318857Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.593623ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.501823074Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.502741782Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=918.288µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.50727666Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-02-04T18:14:36.516098823Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=8.823673ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.519569891Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2024-02-04T18:14:36.520195376Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=625.385µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.526340528Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.526472879Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=138.181µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.530496742Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-02-04T18:14:36.531751893Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.255151ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.536479822Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2024-02-04T18:14:36.538322287Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.846345ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.572275119Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.574071414Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.800115ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.57717783Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2024-02-04T18:14:36.577275271Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=98.511µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.581559345Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2024-02-04T18:14:36.582440164Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=880.639µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.58685722Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.588308132Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.449822ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.591998472Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-02-04T18:14:36.593701447Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" duration=1.701155ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.599184753Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2024-02-04T18:14:36.60011525Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=931.848µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.604716508Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.611922178Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=7.20568ms policy-db-migrator | policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.615918651Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-04T18:14:36.616908109Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=989.158µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.619779383Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.62063031Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=850.947µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.625608691Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-02-04T18:14:36.665101049Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=39.486598ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.669411075Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-04T18:14:36.703600749Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=34.188273ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.709365096Z 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-02-04T18:14:36.710068332Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=705.436µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.720490278Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-02-04T18:14:36.722228533Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.737115ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.726896411Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-04T18:14:36.736864304Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=9.966703ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.742228459Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.746793826Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=4.563847ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.751263214Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-02-04T18:14:36.752104871Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=841.427µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.756482247Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-04T18:14:36.757932759Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.450522ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.763899708Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.765774294Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.871746ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.770539834Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-02-04T18:14:36.771644523Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.104449ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.775846628Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-04T18:14:36.775912638Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=66.52µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.78212857Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.791407177Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=9.277926ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.795016007Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-02-04T18:14:36.80143105Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=6.414543ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.804379375Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-04T18:14:36.810712607Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=6.330672ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.815016573Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.816033661Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.021038ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.822499034Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-02-04T18:14:36.823503183Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.003569ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.827826569Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-04T18:14:36.833945119Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=6.11351ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.840751496Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.846848587Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=6.096371ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.849950872Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-02-04T18:14:36.85091512Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=963.498µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.856298645Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-04T18:14:36.862307255Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=6.00827ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.899808236Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.909445166Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=9.63806ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.914191205Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-02-04T18:14:36.914255726Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=64.921µs policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.917627933Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.918686073Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.05614ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.924485391Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-02-04T18:14:36.926292205Z 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.806544ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.931459298Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-04T18:14:36.932592358Z level=info msg="Migration successfully executed" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" duration=1.13263ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.938266065Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.938412986Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=146.571µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.94852291Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2024-02-04T18:14:36.958061319Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=9.543009ms policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-02-04T18:14:36.961860281Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.970960556Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=9.099255ms policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-02-04T18:14:36.975229602Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:36.981150461Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=5.922369ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.987331872Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:36.996850851Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=9.518589ms policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-02-04T18:14:37.001419948Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:37.008244534Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.819366ms policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-02-04T18:14:37.012752714Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:37.012848304Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=96.4µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:37.01664028Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:37.01962908Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=2.97968ms policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-02-04T18:14:37.028825201Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:37.040892852Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=12.03076ms policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-02-04T18:14:37.080594946Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:37.080760218Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=174.142µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:37.428388789Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:37.438362595Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=9.978086ms policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-02-04T18:14:37.574254782Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:37.576326205Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=2.071813ms policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-02-04T18:14:37.583858746Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:37.591050004Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=7.188778ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:37.600845469Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:37.602136518Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=1.291309ms policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2024-02-04T18:14:37.611675862Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:37.613267793Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.591571ms policy-db-migrator | ALTER TABLE pdpstatistics ADD COLUMN POLICYUNDEPLOYCOUNT BIGINT DEFAULT NULL AFTER POLICYEXECUTEDSUCCESSCOUNT, ADD COLUMN POLICYUNDEPLOYFAILCOUNT BIGINT DEFAULT NULL, ADD COLUMN POLICYUNDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL, ADD COLUMN ID BIGINT NOT NULL grafana | logger=migrator t=2024-02-04T18:14:37.622412474Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:37.63243447Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=10.021526ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:37.64138033Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:37.642697329Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=1.321599ms policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-02-04T18:14:37.646534435Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:37.647680972Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.146297ms policy-db-migrator | UPDATE pdpstatistics as p JOIN (SELECT name, version, timeStamp, ROW_NUMBER() OVER (ORDER BY timeStamp ASC) AS row_num FROM pdpstatistics GROUP BY name, version, timeStamp) AS t ON (p.name=t.name AND p.version=t.version AND p.timeStamp = t.timeStamp) SET p.id=t.row_num grafana | logger=migrator t=2024-02-04T18:14:37.653197869Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:37.653922834Z level=info msg="Migration successfully executed" id="create alert_image table" duration=725.085µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:37.65928445Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:37.661075612Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.790932ms policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2024-02-04T18:14:37.664060612Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:37.664127032Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=67.22µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:37.666925081Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:37.667852507Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=924.726µs policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-02-04T18:14:37.672401337Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:37.673433264Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.032117ms policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-02-04T18:14:37.676427324Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:37.676903747Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:37.679847596Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:37.680339981Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=492.195µs policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-02-04T18:14:37.684078435Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:37.685244493Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.165878ms policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-02-04T18:14:37.689362981Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:37.695978104Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=6.615103ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:37.729387567Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:37.731032219Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.642082ms policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-02-04T18:14:37.735941321Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:37.737736043Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.794562ms policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-02-04T18:14:37.742259834Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-02-04T18:14:37.743611502Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.352278ms policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-02-04T18:14:37.747509939Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-02-04T18:14:37.748786887Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.278388ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:37.753852371Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:37.755011698Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.159457ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:37.75825021Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-02-04T18:14:37.75828688Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=39.47µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:37.76273781Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2024-02-04T18:14:37.762932981Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=193.441µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:37.767975975Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:37.768574169Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=597.784µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:37.774505109Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-02-04T18:14:37.77617494Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.668782ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:37.780065096Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) grafana | logger=migrator t=2024-02-04T18:14:37.780857821Z level=info msg="Migration successfully executed" id="create secrets table" duration=792.705µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:37.784358515Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:37.830508402Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=46.147237ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:37.836345281Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2024-02-04T18:14:37.842608674Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=6.262783ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:37.845895256Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2024-02-04T18:14:37.846050457Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=154.961µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:37.849146727Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:37.895525976Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=46.379149ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:37.903424479Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-02-04T18:14:37.950499353Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=47.074644ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:37.954890223Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-02-04T18:14:37.955471757Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=579.614µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:37.958550067Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:37.959281722Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=731.275µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:37.962379773Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-02-04T18:14:37.962719615Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=339.802µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:37.967807609Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2024-02-04T18:14:37.969191309Z level=info msg="Migration successfully executed" id="create permission table" duration=1.38128ms policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:37.974381293Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:37.976033014Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.651261ms policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-02-04T18:14:37.979458546Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:37.980557844Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.098788ms policy-db-migrator | ALTER TABLE jpatoscapolicy_targets ADD COLUMN toscaPolicyName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICY_TARGETS PRIMARY KEY (toscaPolicyName, toscaPolicyVersion) grafana | logger=migrator t=2024-02-04T18:14:37.984967883Z level=info msg="Executing migration" id="create role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:37.98580836Z level=info msg="Migration successfully executed" id="create role table" duration=840.307µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:37.989103831Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:37.998348893Z level=info msg="Migration successfully executed" id="add column display_name" duration=9.246082ms policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-02-04T18:14:38.001568234Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.008779593Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.210839ms policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) grafana | logger=migrator t=2024-02-04T18:14:38.013313622Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.014021928Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=708.246µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.016866207Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.017718382Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=850.045µs policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2024-02-04T18:14:38.020841603Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.022559365Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.717382ms policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-02-04T18:14:38.027467027Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.028743966Z level=info msg="Migration successfully executed" id="create team role table" duration=1.275159ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.032269329Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.034167092Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.894743ms policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-02-04T18:14:38.037534284Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.038700933Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.165038ms policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-02-04T18:14:38.212970981Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.21428805Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.321048ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.2479293Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.248715495Z level=info msg="Migration successfully executed" id="create user role table" duration=789.935µs policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-02-04T18:14:38.263714584Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.265847349Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=2.136265ms policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-02-04T18:14:38.307537042Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.308755291Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.218339ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.314334777Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.315503645Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.169918ms policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-02-04T18:14:38.320421287Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.321877667Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.54681ms policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-02-04T18:14:38.327191481Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.32834086Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.147839ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.331206808Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.332263465Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.056417ms policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2024-02-04T18:14:38.362598855Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.374619614Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=12.022899ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.378702021Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.379457656Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=755.385µs policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2024-02-04T18:14:38.41661551Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.418475402Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.859642ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.422111176Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.423129653Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.021017ms policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2024-02-04T18:14:38.427672863Z level=info msg="Executing migration" id="add unique index role.uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.429092912Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.4226ms policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY grafana | logger=migrator t=2024-02-04T18:14:38.432660846Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.433860074Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.201388ms grafana | logger=migrator t=2024-02-04T18:14:38.437425287Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" grafana | logger=migrator t=2024-02-04T18:14:38.438389723Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=967.176µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.442698172Z level=info msg="Executing migration" id="add column hidden to role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.449237995Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=6.540813ms policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.453037569Z level=info msg="Executing migration" id="permission kind migration" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.458827417Z level=info msg="Migration successfully executed" id="permission kind migration" duration=5.786858ms policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2024-02-04T18:14:38.46215455Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.470825627Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=8.667637ms policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-02-04T18:14:38.475378336Z level=info msg="Executing migration" id="permission identifier migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.483784701Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=8.406305ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.487079064Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.487841649Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=762.405µs policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=migrator t=2024-02-04T18:14:38.490997109Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.491626523Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=629.034µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.495721741Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.497700633Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.978652ms policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-02-04T18:14:38.502808357Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.502948418Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=141.051µs policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=migrator t=2024-02-04T18:14:38.508329913Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.508393663Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=44.48µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.512455011Z level=info msg="Executing migration" id="teams permissions migration" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.513260366Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=807.655µs policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=migrator t=2024-02-04T18:14:38.51688258Z level=info msg="Executing migration" id="dashboard permissions" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.517901147Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=1.020097ms policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2024-02-04T18:14:38.52149191Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.522149534Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=656.044µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.525240294Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | msg grafana | logger=migrator t=2024-02-04T18:14:38.525462396Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=223.702µs policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2024-02-04T18:14:38.529373922Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.529897665Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=523.503µs policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2024-02-04T18:14:38.533311567Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.534502045Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.191018ms policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2024-02-04T18:14:38.538024679Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.539095396Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.069647ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.54277825Z level=info msg="Executing migration" id="add column org_id in query_history_star" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.550945073Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.165113ms policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-02-04T18:14:38.555381403Z 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-02-04T18:14:38.555451013Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=70.26µs policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-02-04T18:14:38.624499408Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.626256939Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.759271ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.630158815Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.632124637Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.966702ms policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-02-04T18:14:38.641169227Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.643785145Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=2.615577ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.646883265Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.656203166Z level=info msg="Migration successfully executed" id="add correlation config column" duration=9.320261ms policy-db-migrator | > upgrade 0120-audit_sequence.sql grafana | logger=migrator t=2024-02-04T18:14:38.659632438Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.660659066Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.026258ms policy-db-migrator | CREATE TABLE IF NOT EXISTS audit_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-02-04T18:14:38.664700302Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.665748789Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.043687ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.669136872Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.700267496Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=31.105434ms policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) grafana | logger=migrator t=2024-02-04T18:14:38.70692435Z level=info msg="Executing migration" id="create correlation v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.708018687Z level=info msg="Migration successfully executed" id="create correlation v2" duration=1.093667ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.711630671Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.712918359Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.285878ms policy-db-migrator | > upgrade 0130-statistics_sequence.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.71755843Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-02-04T18:14:38.719585843Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=2.111864ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.724546435Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.726666559Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=2.121174ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.732111246Z level=info msg="Executing migration" id="copy correlation v1 to v2" policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) grafana | logger=migrator t=2024-02-04T18:14:38.732465388Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=348.732µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.735814949Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.736754236Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=933.767µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.739981597Z level=info msg="Executing migration" id="add provisioning column" policy-db-migrator | TRUNCATE TABLE sequence grafana | logger=migrator t=2024-02-04T18:14:38.74960009Z level=info msg="Migration successfully executed" id="add provisioning column" duration=9.617073ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.754798725Z level=info msg="Executing migration" id="create entity_events table" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.75567921Z level=info msg="Migration successfully executed" id="create entity_events table" duration=880.795µs policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.761242837Z level=info msg="Executing migration" id="create dashboard public config v1" policy-db-migrator | > upgrade 0100-pdpstatistics.sql grafana | logger=migrator t=2024-02-04T18:14:38.762285124Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.043207ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.765292764Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-02-04T18:14:38.765863277Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.813977144Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.814945231Z 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-02-04T18:14:38.818343813Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-db-migrator | DROP TABLE pdpstatistics grafana | logger=migrator t=2024-02-04T18:14:38.819716331Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.372658ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.823254025Z level=info msg="Executing migration" id="recreate dashboard public config v1" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.824380142Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.126007ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.829913329Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-02-04T18:14:38.831062156Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.149247ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.833960995Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats grafana | logger=migrator t=2024-02-04T18:14:38.835196374Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.234819ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.838143443Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.83931463Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.170557ms policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.843917981Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | > upgrade 0120-statistics_sequence.sql grafana | logger=migrator t=2024-02-04T18:14:38.845043808Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.125317ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.848056768Z level=info msg="Executing migration" id="Drop public config table" policy-db-migrator | DROP TABLE statistics_sequence grafana | logger=migrator t=2024-02-04T18:14:38.848884644Z level=info msg="Migration successfully executed" id="Drop public config table" duration=829.576µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-02-04T18:14:38.853466494Z level=info msg="Executing migration" id="Recreate dashboard public config v2" policy-db-migrator | grafana | logger=migrator t=2024-02-04T18:14:38.854571711Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.104657ms policy-db-migrator | policyadmin: OK: upgrade (1300) grafana | logger=migrator t=2024-02-04T18:14:38.8573604Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" policy-db-migrator | name version grafana | logger=migrator t=2024-02-04T18:14:38.858622068Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.259498ms policy-db-migrator | policyadmin 1300 grafana | logger=migrator t=2024-02-04T18:14:38.861843039Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | ID script operation from_version to_version tag success atTime grafana | logger=migrator t=2024-02-04T18:14:38.863051577Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.207808ms policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:42 grafana | logger=migrator t=2024-02-04T18:14:38.867642647Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:42 grafana | logger=migrator t=2024-02-04T18:14:38.868610514Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=967.366µs policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:42 grafana | logger=migrator t=2024-02-04T18:14:38.871548933Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:42 grafana | logger=migrator t=2024-02-04T18:14:38.906291291Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=34.734048ms policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:42 grafana | logger=migrator t=2024-02-04T18:14:38.909403671Z level=info msg="Executing migration" id="add annotations_enabled column" policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:43 grafana | logger=migrator t=2024-02-04T18:14:38.916180747Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.776676ms policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:43 grafana | logger=migrator t=2024-02-04T18:14:38.920648286Z level=info msg="Executing migration" id="add time_selection_enabled column" policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:43 grafana | logger=migrator t=2024-02-04T18:14:38.929157751Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.508905ms policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:43 grafana | logger=migrator t=2024-02-04T18:14:38.932253891Z level=info msg="Executing migration" id="delete orphaned public dashboards" policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:43 grafana | logger=migrator t=2024-02-04T18:14:38.932436744Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=182.543µs policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:43 grafana | logger=migrator t=2024-02-04T18:14:38.935494094Z level=info msg="Executing migration" id="add share column" policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:43 grafana | logger=migrator t=2024-02-04T18:14:38.941414603Z level=info msg="Migration successfully executed" id="add share column" duration=5.920189ms policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:43 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:43 grafana | logger=migrator t=2024-02-04T18:14:38.945768971Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:43 grafana | logger=migrator t=2024-02-04T18:14:38.945988492Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=222.711µs policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:43 grafana | logger=migrator t=2024-02-04T18:14:38.949065152Z level=info msg="Executing migration" id="create file table" policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:43 grafana | logger=migrator t=2024-02-04T18:14:38.950033579Z level=info msg="Migration successfully executed" id="create file table" duration=967.417µs policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:43 grafana | logger=migrator t=2024-02-04T18:14:38.953547612Z level=info msg="Executing migration" id="file table idx: path natural pk" policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:43 grafana | logger=migrator t=2024-02-04T18:14:38.955756367Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=2.207895ms policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 grafana | logger=migrator t=2024-02-04T18:14:38.966620488Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 grafana | logger=migrator t=2024-02-04T18:14:38.967715315Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.095397ms policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 grafana | logger=migrator t=2024-02-04T18:14:38.970894176Z level=info msg="Executing migration" id="create file_meta table" policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 grafana | logger=migrator t=2024-02-04T18:14:38.972019824Z level=info msg="Migration successfully executed" id="create file_meta table" duration=1.124428ms policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 grafana | logger=migrator t=2024-02-04T18:14:38.975333555Z level=info msg="Executing migration" id="file table idx: path key" policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 grafana | logger=migrator t=2024-02-04T18:14:38.977404559Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=2.070494ms policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 grafana | logger=migrator t=2024-02-04T18:14:38.983852092Z level=info msg="Executing migration" id="set path collation in file table" policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 grafana | logger=migrator t=2024-02-04T18:14:38.983918422Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=67.53µs policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 grafana | logger=migrator t=2024-02-04T18:14:38.98667413Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 grafana | logger=migrator t=2024-02-04T18:14:38.986737661Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=64.221µs policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 grafana | logger=migrator t=2024-02-04T18:14:38.989077996Z level=info msg="Executing migration" id="managed permissions migration" policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 grafana | logger=migrator t=2024-02-04T18:14:38.989956562Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=878.546µs policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 grafana | logger=migrator t=2024-02-04T18:14:38.995172396Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 grafana | logger=migrator t=2024-02-04T18:14:38.995502888Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=327.792µs policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 grafana | logger=migrator t=2024-02-04T18:14:38.999509204Z level=info msg="Executing migration" id="RBAC action name migrator" policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 grafana | logger=migrator t=2024-02-04T18:14:39.000409731Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=899.147µs policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 grafana | logger=migrator t=2024-02-04T18:14:39.003537341Z level=info msg="Executing migration" id="Add UID column to playlist" policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 grafana | logger=migrator t=2024-02-04T18:14:39.012390678Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.852497ms policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 grafana | logger=migrator t=2024-02-04T18:14:39.015449524Z level=info msg="Executing migration" id="Update uid column values in playlist" policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:44 grafana | logger=migrator t=2024-02-04T18:14:39.015635786Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=185.982µs policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 grafana | logger=migrator t=2024-02-04T18:14:39.020522107Z level=info msg="Executing migration" id="Add index for uid in playlist" policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 grafana | logger=migrator t=2024-02-04T18:14:39.021768448Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.24411ms policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 grafana | logger=migrator t=2024-02-04T18:14:39.024750613Z level=info msg="Executing migration" id="update group index for alert rules" policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 grafana | logger=migrator t=2024-02-04T18:14:39.025445789Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=695.576µs grafana | logger=migrator t=2024-02-04T18:14:39.028932019Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 grafana | logger=migrator t=2024-02-04T18:14:39.029356042Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=421.383µs policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 grafana | logger=migrator t=2024-02-04T18:14:39.03505369Z level=info msg="Executing migration" id="admin only folder/dashboard permission" policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 grafana | logger=migrator t=2024-02-04T18:14:39.035837947Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=784.337µs policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 grafana | logger=migrator t=2024-02-04T18:14:39.039022394Z level=info msg="Executing migration" id="add action column to seed_assignment" policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 grafana | logger=migrator t=2024-02-04T18:14:39.049114409Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=10.092505ms policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 grafana | logger=migrator t=2024-02-04T18:14:39.052371927Z level=info msg="Executing migration" id="add scope column to seed_assignment" policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 grafana | logger=migrator t=2024-02-04T18:14:39.058699111Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.326844ms policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 grafana | logger=migrator t=2024-02-04T18:14:39.061752777Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 grafana | logger=migrator t=2024-02-04T18:14:39.062879386Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.125149ms policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 grafana | logger=migrator t=2024-02-04T18:14:39.068379672Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 grafana | logger=migrator t=2024-02-04T18:14:39.18273943Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=114.341768ms policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 grafana | logger=migrator t=2024-02-04T18:14:39.187754223Z level=info msg="Executing migration" id="add unique index builtin_role_name back" policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 grafana | logger=migrator t=2024-02-04T18:14:39.188789311Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.034868ms policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 grafana | logger=migrator t=2024-02-04T18:14:39.192029829Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 grafana | logger=migrator t=2024-02-04T18:14:39.19330332Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.273241ms policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 grafana | logger=migrator t=2024-02-04T18:14:39.198503834Z level=info msg="Executing migration" id="add primary key to seed_assigment" policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 grafana | logger=migrator t=2024-02-04T18:14:39.235557479Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=37.053015ms policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:45 grafana | logger=migrator t=2024-02-04T18:14:39.239093369Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 grafana | logger=migrator t=2024-02-04T18:14:39.239369351Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=275.722µs policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 grafana | logger=migrator t=2024-02-04T18:14:39.244311623Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 grafana | logger=migrator t=2024-02-04T18:14:39.244570655Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=259.662µs policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 grafana | logger=migrator t=2024-02-04T18:14:39.248508359Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 grafana | logger=migrator t=2024-02-04T18:14:39.248917413Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=412.794µs policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 grafana | logger=migrator t=2024-02-04T18:14:39.252841306Z level=info msg="Executing migration" id="create folder table" policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 grafana | logger=migrator t=2024-02-04T18:14:39.254361498Z level=info msg="Migration successfully executed" id="create folder table" duration=1.514542ms policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 grafana | logger=migrator t=2024-02-04T18:14:39.26034374Z level=info msg="Executing migration" id="Add index for parent_uid" policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 grafana | logger=migrator t=2024-02-04T18:14:39.261629811Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.284241ms policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 grafana | logger=migrator t=2024-02-04T18:14:39.266078579Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 grafana | logger=migrator t=2024-02-04T18:14:39.268049695Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.970396ms policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 grafana | logger=migrator t=2024-02-04T18:14:39.271807998Z level=info msg="Executing migration" id="Update folder title length" policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 grafana | logger=migrator t=2024-02-04T18:14:39.271897579Z level=info msg="Migration successfully executed" id="Update folder title length" duration=90.641µs policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 grafana | logger=migrator t=2024-02-04T18:14:39.276468397Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 grafana | logger=migrator t=2024-02-04T18:14:39.277787659Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.318862ms policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 grafana | logger=migrator t=2024-02-04T18:14:39.281303979Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 grafana | logger=migrator t=2024-02-04T18:14:39.282763822Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.456973ms policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 grafana | logger=migrator t=2024-02-04T18:14:39.328651363Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:46 grafana | logger=migrator t=2024-02-04T18:14:39.329900163Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.24832ms policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:47 grafana | logger=migrator t=2024-02-04T18:14:39.334439912Z level=info msg="Executing migration" id="Sync dashboard and folder table" policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:47 grafana | logger=migrator t=2024-02-04T18:14:39.335162778Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=722.656µs policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:47 grafana | logger=migrator t=2024-02-04T18:14:39.338645048Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:47 grafana | logger=migrator t=2024-02-04T18:14:39.339103542Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=454.144µs policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:47 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:47 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:47 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:47 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:47 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:47 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:47 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:47 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:47 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:47 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0402241814420800u 1 2024-02-04 18:14:47 grafana | logger=migrator t=2024-02-04T18:14:39.342958135Z level=info msg="Executing migration" id="create anon_device table" policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 0402241814420900u 1 2024-02-04 18:14:48 grafana | logger=migrator t=2024-02-04T18:14:39.343870212Z level=info msg="Migration successfully executed" id="create anon_device table" duration=912.327µs policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 0402241814420900u 1 2024-02-04 18:14:48 grafana | logger=migrator t=2024-02-04T18:14:39.348763114Z level=info msg="Executing migration" id="add unique index anon_device.device_id" policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 0402241814420900u 1 2024-02-04 18:14:48 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 0402241814420900u 1 2024-02-04 18:14:48 grafana | logger=migrator t=2024-02-04T18:14:39.350084006Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.320492ms policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 0402241814420900u 1 2024-02-04 18:14:48 grafana | logger=migrator t=2024-02-04T18:14:39.353662786Z level=info msg="Executing migration" id="add index anon_device.updated_at" policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 0402241814420900u 1 2024-02-04 18:14:48 grafana | logger=migrator t=2024-02-04T18:14:39.354823826Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.16014ms policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0402241814420900u 1 2024-02-04 18:14:48 grafana | logger=migrator t=2024-02-04T18:14:39.358281536Z level=info msg="Executing migration" id="create signing_key table" policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0402241814420900u 1 2024-02-04 18:14:48 grafana | logger=migrator t=2024-02-04T18:14:39.359130593Z level=info msg="Migration successfully executed" id="create signing_key table" duration=845.727µs policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0402241814420900u 1 2024-02-04 18:14:48 grafana | logger=migrator t=2024-02-04T18:14:39.363269118Z level=info msg="Executing migration" id="add unique index signing_key.key_id" policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 0402241814420900u 1 2024-02-04 18:14:48 grafana | logger=migrator t=2024-02-04T18:14:39.364441198Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.17166ms policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 0402241814420900u 1 2024-02-04 18:14:48 grafana | logger=migrator t=2024-02-04T18:14:39.367947468Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 0402241814420900u 1 2024-02-04 18:14:48 grafana | logger=migrator t=2024-02-04T18:14:39.369111288Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.16576ms policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 0402241814420900u 1 2024-02-04 18:14:48 grafana | logger=migrator t=2024-02-04T18:14:39.372482217Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 0402241814421000u 1 2024-02-04 18:14:48 grafana | logger=migrator t=2024-02-04T18:14:39.372783589Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=301.942µs policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 0402241814421000u 1 2024-02-04 18:14:48 grafana | logger=migrator t=2024-02-04T18:14:39.377206567Z level=info msg="Executing migration" id="Add folder_uid for dashboard" policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 0402241814421000u 1 2024-02-04 18:14:48 grafana | logger=migrator t=2024-02-04T18:14:39.386564717Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=9.35645ms policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 0402241814421000u 1 2024-02-04 18:14:48 grafana | logger=migrator t=2024-02-04T18:14:39.389960336Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 0402241814421000u 1 2024-02-04 18:14:48 grafana | logger=migrator t=2024-02-04T18:14:39.390659052Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=699.126µs policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 0402241814421000u 1 2024-02-04 18:14:48 grafana | logger=migrator t=2024-02-04T18:14:39.394450604Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 0402241814421000u 1 2024-02-04 18:14:49 grafana | logger=migrator t=2024-02-04T18:14:39.395632134Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.18036ms policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 0402241814421000u 1 2024-02-04 18:14:49 grafana | logger=migrator t=2024-02-04T18:14:39.399105814Z level=info msg="Executing migration" id="create sso_setting table" policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 0402241814421000u 1 2024-02-04 18:14:49 grafana | logger=migrator t=2024-02-04T18:14:39.400079272Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=973.248µs policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 0402241814421100u 1 2024-02-04 18:14:49 grafana | logger=migrator t=2024-02-04T18:14:39.405666809Z level=info msg="Executing migration" id="copy kvstore migration status to each org" policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 0402241814421200u 1 2024-02-04 18:14:49 grafana | logger=migrator t=2024-02-04T18:14:39.406705249Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=1.07647ms policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 0402241814421200u 1 2024-02-04 18:14:49 grafana | logger=migrator t=2024-02-04T18:14:39.411388589Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 0402241814421200u 1 2024-02-04 18:14:49 grafana | logger=migrator t=2024-02-04T18:14:39.411884203Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=496.414µs policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 0402241814421200u 1 2024-02-04 18:14:49 grafana | logger=migrator t=2024-02-04T18:14:39.415435573Z level=info msg="migrations completed" performed=526 skipped=0 duration=5.245555926s policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 0402241814421300u 1 2024-02-04 18:14:49 grafana | logger=sqlstore t=2024-02-04T18:14:39.424917524Z level=info msg="Created default admin" user=admin policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 0402241814421300u 1 2024-02-04 18:14:49 grafana | logger=sqlstore t=2024-02-04T18:14:39.425222526Z level=info msg="Created default organization" policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 0402241814421300u 1 2024-02-04 18:14:49 grafana | logger=secrets t=2024-02-04T18:14:39.430260239Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 policy-db-migrator | policyadmin: OK @ 1300 grafana | logger=plugin.store t=2024-02-04T18:14:39.446968292Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2024-02-04T18:14:39.484244671Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-02-04T18:14:39.484322301Z level=info msg="Plugins loaded" count=55 duration=37.354979ms grafana | logger=query_data t=2024-02-04T18:14:39.48664919Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-02-04T18:14:39.490268962Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2024-02-04T18:14:39.503520644Z level=info msg=Starting grafana | logger=ngalert.migration orgID=1 t=2024-02-04T18:14:39.504439733Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-02-04T18:14:39.505263979Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-02-04T18:14:39.507871502Z level=info msg="Completed legacy migration" grafana | logger=infra.usagestats.collector t=2024-02-04T18:14:39.545777755Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-02-04T18:14:39.548847452Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-02-04T18:14:39.56388142Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-02-04T18:14:39.56390045Z level=info msg="finished to provision alerting" grafana | logger=ngalert.state.manager t=2024-02-04T18:14:39.564134282Z level=info msg="Warming state cache for startup" grafana | logger=grafanaStorageLogger t=2024-02-04T18:14:39.564141392Z level=info msg="Storage starting" grafana | logger=ngalert.multiorg.alertmanager t=2024-02-04T18:14:39.564399994Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=ngalert.state.manager t=2024-02-04T18:14:39.564577475Z level=info msg="State cache has been initialized" states=0 duration=440.293µs grafana | logger=ngalert.scheduler t=2024-02-04T18:14:39.564622146Z level=info msg="Starting scheduler" tickInterval=10s grafana | logger=ticker t=2024-02-04T18:14:39.564673686Z level=info msg=starting first_tick=2024-02-04T18:14:40Z grafana | logger=http.server t=2024-02-04T18:14:39.566603533Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=grafana-apiserver t=2024-02-04T18:14:39.569265945Z level=info msg="Authentication is disabled" grafana | logger=grafana-apiserver t=2024-02-04T18:14:39.571456515Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" grafana | logger=sqlstore.transactions t=2024-02-04T18:14:39.637234545Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2024-02-04T18:14:39.64834414Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" grafana | logger=plugins.update.checker t=2024-02-04T18:14:39.668647033Z level=info msg="Update check succeeded" duration=104.601482ms grafana | logger=sqlstore.transactions t=2024-02-04T18:14:39.945243063Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=sqlstore.transactions t=2024-02-04T18:14:39.95660979Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=1 code="database is locked" grafana | logger=grafana.update.checker t=2024-02-04T18:14:49.570750472Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": net/http: TLS handshake timeout" duration=10.005980635s grafana | logger=infra.usagestats t=2024-02-04T18:15:40.576943036Z level=info msg="Usage stats are ready to report" ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping mariadb ... Stopping prometheus ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing mariadb ... Removing prometheus ... Removing grafana ... done Removing prometheus ... done Removing policy-db-migrator ... done Removing policy-api ... done Removing mariadb ... 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.ahTZ3KsRwY ]] + rsync -av /tmp/tmp.ahTZ3KsRwY/ /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,201 bytes received 95 bytes 2,690,592.00 bytes/sec total size is 1,344,551 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 2075 killed; [ssh-agent] Stopped. Robot results publisher started... INFO: Checking test criticality is deprecated and will be dropped in a future release! -Parsing output xml: Done! WARNING! Could not find file: **/log.html WARNING! Could not find file: **/report.html -Copying log files to build dir: Done! -Assigning results to build: Done! -Checking thresholds: Done! Done publishing Robot results. [PostBuildScript] - [INFO] Executing post build scripts. [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins13865086516697832197.sh ---> sysstat.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins18089492484087276281.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/jenkins13911672159547323367.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-YuXk from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-YuXk/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins6949844744369628612.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-montreal-project-csit-api@tmp/config8830788044041411608tmp 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/jenkins11084203284771032284.sh ---> create-netrc.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins6968437243473470577.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-YuXk from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-YuXk/bin to PATH [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins6646280525365779541.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins4963807514050704423.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-YuXk 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.1.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-YuXk/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/jenkins9302617042432685190.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-YuXk 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.5.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-YuXk/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-montreal-project-csit-api/85 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-2624 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 835 27333 0 3997 30875 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:da:70:71 brd ff:ff:ff:ff:ff:ff inet 10.30.106.228/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86044sec preferred_lft 86044sec inet6 fe80::f816:3eff:feda:7071/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:9f:03:5b:24 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-2624) 02/04/24 _x86_64_ (8 CPU) 18:11:24 LINUX RESTART (8 CPU) 18:12:02 tps rtps wtps bread/s bwrtn/s 18:13:01 128.08 36.74 91.34 1716.32 52906.83 18:14:01 132.69 22.93 109.77 2756.47 57092.08 18:15:01 402.20 13.36 388.84 819.06 101031.34 18:16:01 4.80 0.55 4.25 26.00 105.15 18:17:01 43.24 1.45 41.79 108.25 2616.86 Average: 142.25 14.93 127.32 1083.11 42716.49 18:12:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:13:01 30072280 31678212 2866932 8.70 69312 1847620 1417428 4.17 895508 1681820 166948 18:14:01 29537984 31699280 3401228 10.33 92420 2357300 1346600 3.96 957324 2108044 340220 18:15:01 27311572 30966168 5627640 17.08 127732 3751684 3919600 11.53 1780196 3398764 272 18:16:01 26902636 30559436 6036576 18.33 127856 3753180 4281716 12.60 2187860 3396624 100 18:17:01 27988692 31613084 4950520 15.03 130652 3728080 1453204 4.28 1168136 3355836 44808 Average: 28362633 31303236 4576579 13.89 109594 3087573 2483710 7.31 1397805 2788218 110470 18:12:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:13:01 lo 1.63 1.63 0.18 0.18 0.00 0.00 0.00 0.00 18:13:01 ens3 87.48 59.07 1042.99 10.96 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:14:01 lo 5.53 5.53 0.52 0.52 0.00 0.00 0.00 0.00 18:14:01 ens3 124.50 87.87 2781.40 11.04 0.00 0.00 0.00 0.00 18:14:01 br-6d32c85e478b 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:15:01 veth67306f1 26.68 24.66 11.55 16.24 0.00 0.00 0.00 0.00 18:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:15:01 lo 4.83 4.83 0.43 0.43 0.00 0.00 0.00 0.00 18:15:01 vethcdcfc71 0.05 0.35 0.00 0.02 0.00 0.00 0.00 0.00 18:16:01 veth67306f1 98.20 80.79 29.84 97.68 0.00 0.00 0.00 0.01 18:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:16:01 lo 10.08 10.08 8.51 8.51 0.00 0.00 0.00 0.00 18:16:01 vethcdcfc71 0.18 0.20 0.02 0.77 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 18:17:01 lo 7.70 7.70 0.67 0.67 0.00 0.00 0.00 0.00 18:17:01 ens3 827.98 569.64 11897.57 130.46 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: lo 5.97 5.97 2.07 2.07 0.00 0.00 0.00 0.00 Average: ens3 102.88 69.12 2236.82 15.51 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-2624) 02/04/24 _x86_64_ (8 CPU) 18:11:24 LINUX RESTART (8 CPU) 18:12:02 CPU %user %nice %system %iowait %steal %idle 18:13:01 all 9.92 0.00 0.83 3.84 0.04 85.37 18:13:01 0 25.89 0.00 1.62 1.36 0.05 71.08 18:13:01 1 0.48 0.00 0.37 10.27 0.02 88.86 18:13:01 2 4.72 0.00 0.36 14.38 0.03 80.51 18:13:01 3 5.91 0.00 0.88 0.37 0.02 92.81 18:13:01 4 4.05 0.00 0.31 0.22 0.05 95.37 18:13:01 5 1.45 0.00 0.55 0.43 0.02 97.56 18:13:01 6 1.24 0.00 0.47 0.51 0.00 97.78 18:13:01 7 35.71 0.00 2.09 3.18 0.07 58.95 18:14:01 all 9.93 0.00 1.17 4.05 0.04 84.81 18:14:01 0 14.05 0.00 1.60 0.95 0.05 83.34 18:14:01 1 4.70 0.00 0.90 5.95 0.02 88.43 18:14:01 2 21.55 0.00 1.57 3.29 0.05 73.53 18:14:01 3 8.03 0.00 1.22 0.28 0.03 90.43 18:14:01 4 1.90 0.00 0.84 12.44 0.05 84.77 18:14:01 5 1.24 0.00 0.52 2.18 0.03 96.03 18:14:01 6 4.77 0.00 0.72 0.67 0.03 93.81 18:14:01 7 23.14 0.00 1.97 6.68 0.05 68.15 18:15:01 all 15.34 0.00 4.32 6.82 0.10 73.43 18:15:01 0 17.46 0.00 4.70 1.79 0.08 75.96 18:15:01 1 16.77 0.00 4.80 10.24 0.10 68.09 18:15:01 2 18.14 0.00 3.78 3.55 0.12 74.41 18:15:01 3 16.03 0.00 3.82 1.22 0.08 78.85 18:15:01 4 12.20 0.00 4.46 0.98 0.08 82.27 18:15:01 5 14.87 0.00 4.26 3.19 0.12 77.56 18:15:01 6 13.97 0.00 3.74 7.71 0.07 74.51 18:15:01 7 13.22 0.00 4.95 25.99 0.10 55.74 18:16:01 all 5.41 0.00 0.44 0.01 0.03 94.11 18:16:01 0 3.80 0.00 0.37 0.00 0.05 95.78 18:16:01 1 4.09 0.00 0.33 0.00 0.02 95.56 18:16:01 2 5.02 0.00 0.43 0.03 0.02 94.49 18:16:01 3 4.85 0.00 0.42 0.02 0.05 94.66 18:16:01 4 7.70 0.00 0.70 0.03 0.03 91.53 18:16:01 5 4.79 0.00 0.45 0.00 0.00 94.76 18:16:01 6 5.81 0.00 0.28 0.00 0.05 93.86 18:16:01 7 7.19 0.00 0.53 0.05 0.02 92.21 18:17:01 all 6.25 0.00 0.63 0.52 0.03 92.57 18:17:01 0 1.02 0.00 0.49 0.03 0.05 98.41 18:17:01 1 3.12 0.00 0.43 0.12 0.02 96.32 18:17:01 2 1.75 0.00 0.65 0.68 0.02 96.90 18:17:01 3 2.03 0.00 0.50 0.23 0.03 97.20 18:17:01 4 3.14 0.00 0.60 0.25 0.03 95.98 18:17:01 5 28.15 0.00 1.24 0.53 0.05 70.03 18:17:01 6 3.30 0.00 0.45 0.02 0.03 96.20 18:17:01 7 7.49 0.00 0.70 2.24 0.03 89.53 Average: all 9.35 0.00 1.47 3.04 0.05 86.09 Average: 0 12.39 0.00 1.75 0.82 0.06 84.97 Average: 1 5.82 0.00 1.36 5.28 0.03 87.50 Average: 2 10.24 0.00 1.36 4.35 0.05 84.01 Average: 3 7.35 0.00 1.36 0.42 0.04 90.82 Average: 4 5.79 0.00 1.38 2.79 0.05 89.99 Average: 5 10.13 0.00 1.40 1.26 0.04 87.17 Average: 6 5.82 0.00 1.13 1.77 0.04 91.24 Average: 7 17.30 0.00 2.04 7.58 0.05 73.02