Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-13374 (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-tt62051W6hBe/agent.2071 SSH_AGENT_PID=2073 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_9415612387552730763.key (/w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_9415612387552730763.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/jenkins14238605754633238963.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-Qvhw 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-Qvhw/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-Qvhw/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.3 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.63 botocore==1.34.63 bs4==0.0.2 cachetools==5.3.3 certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.6.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.6.1 docker==4.2.2 dogpile.cache==1.3.2 email_validator==2.1.1 filelock==3.13.1 future==1.0.0 gitdb==4.0.11 GitPython==3.1.42 google-auth==2.28.2 httplib2==0.22.0 identify==2.5.35 idna==3.6 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.6.0 kubernetes==29.0.0 lftools==0.37.10 lxml==5.1.0 MarkupSafe==2.1.5 msgpack==1.0.8 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.2.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==3.0.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.1 oslo.config==9.4.0 oslo.context==5.5.0 oslo.i18n==6.3.0 oslo.log==5.5.0 oslo.serialization==5.4.0 oslo.utils==7.1.0 packaging==24.0 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.10.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.2.0 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.5.0 python-dateutil==2.9.0.post0 python-heatclient==3.5.0 python-jenkins==1.8.2 python-keystoneclient==5.4.0 python-magnumclient==4.4.0 python-novaclient==18.6.0 python-openstackclient==6.5.0 python-swiftclient==4.5.0 PyYAML==6.0.1 referencing==0.33.0 requests==2.31.0 requests-oauthlib==1.4.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.18.0 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.1 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.2.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.4 tqdm==4.66.2 typing_extensions==4.10.0 tzdata==2024.1 urllib3==1.26.18 virtualenv==20.25.1 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-api-montreal-project-csit-api] $ /bin/sh /tmp/jenkins11282246892778668494.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/jenkins1661976132258196647.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.HKi7lNVItS ++ echo ROBOT_VENV=/tmp/tmp.HKi7lNVItS +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.HKi7lNVItS ++ source /tmp/tmp.HKi7lNVItS/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.HKi7lNVItS +++ 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.HKi7lNVItS/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.HKi7lNVItS) ' '!=' x ']' +++ PS1='(tmp.HKi7lNVItS) ' +++ 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.2 python-dateutil==2.9.0.post0 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.HKi7lNVItS/src/onap ++ rm -rf /tmp/tmp.HKi7lNVItS/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==1.0.0 idna==3.6 importlib-resources==5.4.0 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.0.3 jmespath==0.10.0 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpointer==2.3 kafka-python==2.0.2 lxml==5.1.0 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.2 python-dateutil==2.9.0.post0 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.HKi7lNVItS/bin/activate + '[' -z /tmp/tmp.HKi7lNVItS/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.HKi7lNVItS/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.HKi7lNVItS ++ 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.HKi7lNVItS/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.HKi7lNVItS) ' ++ '[' 'x(tmp.HKi7lNVItS) ' '!=' x ']' ++ PS1='(tmp.HKi7lNVItS) (tmp.HKi7lNVItS) ' ++ 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.T8D1khZakZ + cd /tmp/tmp.T8D1khZakZ + 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:bc1794e85c9e00293351b967efa267ce6af1c824ac875a9d0c7ac84700a8b53e 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:f9811e4e687ffecf1a43adb9b64096c50bc0d7a782f8608530f478b6542de7d5 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating mariadb ... Creating prometheus ... Creating prometheus ... done Creating grafana ... Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done Creating grafana ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-montreal-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 10 seconds policy-db-migrator Up 11 seconds grafana Up 10 seconds prometheus Up 13 seconds mariadb Up 12 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 15 seconds prometheus Up 18 seconds mariadb Up 17 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 20 seconds prometheus Up 23 seconds mariadb Up 22 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 25 seconds prometheus Up 28 seconds mariadb Up 27 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ tr : ' ' ++ echo braceexpand:hashall:interactive-comments:xtrace + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 18:15:44 up 4 min, 0 users, load average: 2.95, 1.27, 0.51 Tasks: 179 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.8 us, 1.8 sy, 0.0 ni, 83.4 id, 6.0 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.4G 26G 1.0M 4.0G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 25 seconds grafana Up 25 seconds prometheus Up 28 seconds mariadb Up 27 seconds + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 084d134e0452 policy-api 0.67% 486.3MiB / 31.41GiB 1.51% 999kB / 710kB 0B / 0B 53 724bcd5669a8 grafana 0.03% 58.39MiB / 31.41GiB 0.18% 18.7kB / 3.25kB 0B / 24.8MB 17 bc1e6beb5f63 prometheus 0.06% 18.98MiB / 31.41GiB 0.06% 1.45kB / 158B 233kB / 0B 13 638bca4a104f mariadb 0.02% 99.47MiB / 31.41GiB 0.31% 985kB / 1.18MB 11MB / 68.2MB 27 + echo + cd /tmp/tmp.T8D1khZakZ + echo 'Reading the testplan:' Reading the testplan: + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + echo 'api-test.robot api-slas.robot' + 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.T8D1khZakZ/output.xml Log: /tmp/tmp.T8D1khZakZ/log.html Report: /tmp/tmp.T8D1khZakZ/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 prometheus Up About a minute mariadb Up About a minute + docker_stats ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 18:16:55 up 5 min, 0 users, load average: 1.05, 1.07, 0.49 Tasks: 171 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 7.8 us, 1.5 sy, 0.0 ni, 85.8 id, 4.9 wa, 0.0 hi, 0.0 si, 0.0 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.7G 25G 1.0M 4.0G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute prometheus Up About a minute mariadb Up About a minute + echo + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 084d134e0452 policy-api 0.08% 737.2MiB / 31.41GiB 2.29% 7MB / 2.55MB 0B / 0B 54 724bcd5669a8 grafana 0.03% 58.52MiB / 31.41GiB 0.18% 19.6kB / 4.43kB 0B / 24.8MB 17 bc1e6beb5f63 prometheus 0.00% 25.33MiB / 31.41GiB 0.08% 55.4kB / 6.51kB 233kB / 0B 13 638bca4a104f mariadb 0.02% 100.6MiB / 31.41GiB 0.31% 2.39MB / 7.04MB 11MB / 68.5MB 18 + echo + source_safely /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh + '[' -z /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh ++ echo 'Shut down started!' Shut down started! ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' ++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose ++ cd /w/workspace/policy-api-montreal-project-csit-api/compose ++ source export-ports.sh ++ source get-versions.sh ++ echo 'Collecting logs from docker compose containers...' Collecting logs from docker compose containers... ++ docker-compose logs ++ cat docker_compose.log Attaching to policy-api, policy-db-migrator, grafana, prometheus, mariadb grafana | logger=settings t=2024-03-15T18:15:18.737279546Z level=info msg="Starting Grafana" version=10.4.0 commit=03f502a94d17f7dc4e6c34acdf8428aedd986e4c branch=HEAD compiled=2024-03-15T18:15:18Z grafana | logger=settings t=2024-03-15T18:15:18.737488055Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-03-15T18:15:18.737494836Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-03-15T18:15:18.737499046Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-03-15T18:15:18.737502056Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-03-15T18:15:18.737506186Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-03-15T18:15:18.737511046Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-03-15T18:15:18.737513986Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-03-15T18:15:18.737519027Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-03-15T18:15:18.737522057Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-03-15T18:15:18.737524727Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-03-15T18:15:18.737528147Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-03-15T18:15:18.737531057Z level=info msg=Target target=[all] grafana | logger=settings t=2024-03-15T18:15:18.737535737Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-03-15T18:15:18.737538337Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-03-15T18:15:18.737540848Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-03-15T18:15:18.737543338Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-03-15T18:15:18.737545918Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-03-15T18:15:18.737548508Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-03-15T18:15:18.737893713Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-03-15T18:15:18.737916834Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-03-15T18:15:18.73851464Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-03-15T18:15:18.739354427Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-03-15T18:15:18.740200314Z level=info msg="Migration successfully executed" id="create migration_log table" duration=845.557µs grafana | logger=migrator t=2024-03-15T18:15:18.744988225Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-03-15T18:15:18.745523068Z level=info msg="Migration successfully executed" id="create user table" duration=534.743µs grafana | logger=migrator t=2024-03-15T18:15:18.749608517Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-03-15T18:15:18.750188062Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=579.806µs grafana | logger=migrator t=2024-03-15T18:15:18.755923824Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-03-15T18:15:18.757014062Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.089358ms grafana | logger=migrator t=2024-03-15T18:15:18.76109063Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-03-15T18:15:18.762158418Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.072078ms grafana | logger=migrator t=2024-03-15T18:15:18.766469476Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-03-15T18:15:18.767473161Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.003445ms grafana | logger=migrator t=2024-03-15T18:15:18.77337634Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-03-15T18:15:18.775585497Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.208577ms grafana | logger=migrator t=2024-03-15T18:15:18.779840753Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-03-15T18:15:18.780671589Z level=info msg="Migration successfully executed" id="create user table v2" duration=830.426µs grafana | logger=migrator t=2024-03-15T18:15:18.785060532Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-03-15T18:15:18.78616572Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.103288ms grafana | logger=migrator t=2024-03-15T18:15:18.790596945Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-03-15T18:15:18.791679022Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.076667ms grafana | logger=migrator t=2024-03-15T18:15:18.796959734Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-03-15T18:15:18.79732562Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=365.876µs grafana | logger=migrator t=2024-03-15T18:15:18.801160219Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-03-15T18:15:18.801625509Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=466.591µs grafana | logger=migrator t=2024-03-15T18:15:18.806011421Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-03-15T18:15:18.807618142Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.60631ms grafana | logger=migrator t=2024-03-15T18:15:18.812946295Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-03-15T18:15:18.812989447Z level=info msg="Migration successfully executed" id="Update user table charset" duration=44.462µs grafana | logger=migrator t=2024-03-15T18:15:18.817551018Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-03-15T18:15:18.819299154Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.747246ms grafana | logger=migrator t=2024-03-15T18:15:18.827374608Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-03-15T18:15:18.827576157Z level=info msg="Migration successfully executed" id="Add missing user data" duration=201.489µs grafana | logger=migrator t=2024-03-15T18:15:18.83173278Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-03-15T18:15:18.833430534Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.692953ms grafana | logger=migrator t=2024-03-15T18:15:18.83881267Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-03-15T18:15:18.839487809Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=674.879µs grafana | logger=migrator t=2024-03-15T18:15:18.84383157Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-03-15T18:15:18.845997475Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=2.175705ms grafana | logger=migrator t=2024-03-15T18:15:18.852433157Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-03-15T18:15:18.865408687Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=12.97339ms grafana | logger=migrator t=2024-03-15T18:15:18.886739802Z level=info msg="Executing migration" id="Add uid column to user" grafana | logger=migrator t=2024-03-15T18:15:18.888796643Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=2.05643ms grafana | logger=migrator t=2024-03-15T18:15:18.897505455Z level=info msg="Executing migration" id="Update uid column values for users" grafana | logger=migrator t=2024-03-15T18:15:18.897702983Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=203.339µs grafana | logger=migrator t=2024-03-15T18:15:18.902664671Z level=info msg="Executing migration" id="Add unique index user_uid" grafana | logger=migrator t=2024-03-15T18:15:18.903534229Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=866.227µs grafana | logger=migrator t=2024-03-15T18:15:18.948130815Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-03-15T18:15:18.949401521Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.270456ms grafana | logger=migrator t=2024-03-15T18:15:18.955946288Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-03-15T18:15:18.957116389Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.169491ms grafana | logger=migrator t=2024-03-15T18:15:18.96122652Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-03-15T18:15:18.962416872Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.189632ms grafana | logger=migrator t=2024-03-15T18:15:18.967400381Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-03-15T18:15:18.968937679Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.535167ms grafana | logger=migrator t=2024-03-15T18:15:18.976378564Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-03-15T18:15:18.97764481Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.266216ms grafana | logger=migrator t=2024-03-15T18:15:18.981678487Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-03-15T18:15:18.9817486Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=71.743µs grafana | logger=migrator t=2024-03-15T18:15:18.985746006Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-03-15T18:15:18.986583722Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=837.356µs grafana | logger=migrator t=2024-03-15T18:15:18.992990683Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-03-15T18:15:18.993743896Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=753.133µs grafana | logger=migrator t=2024-03-15T18:15:18.997570244Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-03-15T18:15:18.998741775Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=1.171541ms grafana | logger=migrator t=2024-03-15T18:15:19.002959751Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-03-15T18:15:19.004036158Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=1.076406ms grafana | logger=migrator t=2024-03-15T18:15:19.01089412Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-03-15T18:15:19.015204211Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=4.312651ms grafana | logger=migrator t=2024-03-15T18:15:19.019060094Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-03-15T18:15:19.020028804Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=968.9µs grafana | logger=migrator t=2024-03-15T18:15:19.028263592Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-03-15T18:15:19.029082254Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=818.473µs grafana | logger=migrator t=2024-03-15T18:15:19.035407065Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-03-15T18:15:19.036684567Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.279492ms grafana | logger=migrator t=2024-03-15T18:15:19.042621373Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-03-15T18:15:19.043858982Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=1.237529ms grafana | logger=migrator t=2024-03-15T18:15:19.048669344Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-03-15T18:15:19.050117852Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.447418ms grafana | logger=migrator t=2024-03-15T18:15:19.057013616Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-03-15T18:15:19.057751615Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=737.229µs grafana | logger=migrator t=2024-03-15T18:15:19.061670622Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-03-15T18:15:19.062486154Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=815.372µs grafana | logger=migrator t=2024-03-15T18:15:19.104638602Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-03-15T18:15:19.105269897Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=631.475µs grafana | logger=migrator t=2024-03-15T18:15:19.109030947Z level=info msg="Executing migration" id="create star table" mariadb | 2024-03-15 18:15:16+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-03-15 18:15:16+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-03-15 18:15:16+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-03-15 18:15:16+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-03-15 18:15:16 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-03-15 18:15:16 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-03-15 18:15:16 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-03-15 18:15:18+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-03-15 18:15:18+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-03-15 18:15:18+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-03-15 18:15:18 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 95 ... mariadb | 2024-03-15 18:15:18 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-03-15 18:15:18 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-03-15 18:15:18 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-03-15 18:15:18 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-03-15 18:15:18 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) grafana | logger=migrator t=2024-03-15T18:15:19.11011418Z level=info msg="Migration successfully executed" id="create star table" duration=1.077953ms grafana | logger=migrator t=2024-03-15T18:15:19.116039376Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-03-15T18:15:19.117283606Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.243479ms grafana | logger=migrator t=2024-03-15T18:15:19.121846837Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-03-15T18:15:19.123184681Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.336684ms grafana | logger=migrator t=2024-03-15T18:15:19.127634887Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-03-15T18:15:19.128328885Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=693.668µs grafana | logger=migrator t=2024-03-15T18:15:19.133916477Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-03-15T18:15:19.135085304Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.168527ms grafana | logger=migrator t=2024-03-15T18:15:19.143197207Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-03-15T18:15:19.144460437Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.26311ms grafana | logger=migrator t=2024-03-15T18:15:19.14779653Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-03-15T18:15:19.14904417Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.2466ms grafana | logger=migrator t=2024-03-15T18:15:19.152285839Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-03-15T18:15:19.153034619Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=752.26µs grafana | logger=migrator t=2024-03-15T18:15:19.156115801Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-03-15T18:15:19.156143532Z level=info msg="Migration successfully executed" id="Update org table charset" duration=28.801µs grafana | logger=migrator t=2024-03-15T18:15:19.161673902Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-03-15T18:15:19.161742635Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=70.263µs grafana | logger=migrator t=2024-03-15T18:15:19.167020575Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-03-15T18:15:19.167271905Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=251.65µs grafana | logger=migrator t=2024-03-15T18:15:19.170768765Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-03-15T18:15:19.172028175Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.25871ms grafana | logger=migrator t=2024-03-15T18:15:19.1756657Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-03-15T18:15:19.176977162Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.310733ms grafana | logger=migrator t=2024-03-15T18:15:19.182632977Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-03-15T18:15:19.183408698Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=777.911µs grafana | logger=migrator t=2024-03-15T18:15:19.187538253Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-03-15T18:15:19.188570404Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.031961ms grafana | logger=migrator t=2024-03-15T18:15:19.192149776Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-03-15T18:15:19.193383466Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.23313ms grafana | logger=migrator t=2024-03-15T18:15:19.201754659Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-03-15T18:15:19.202469137Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=714.258µs grafana | logger=migrator t=2024-03-15T18:15:19.206106882Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-03-15T18:15:19.214166693Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=8.05466ms grafana | logger=migrator t=2024-03-15T18:15:19.218950423Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-03-15T18:15:19.219649801Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=699.308µs grafana | logger=migrator t=2024-03-15T18:15:19.225528295Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-03-15T18:15:19.226694242Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=1.165807ms grafana | logger=migrator t=2024-03-15T18:15:19.239799413Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-03-15T18:15:19.241181209Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.381285ms grafana | logger=migrator t=2024-03-15T18:15:19.244889646Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-03-15T18:15:19.245224659Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=334.803µs grafana | logger=migrator t=2024-03-15T18:15:19.251207387Z level=info msg="Executing migration" id="drop table dashboard_v1" mariadb | 2024-03-15 18:15:18 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF grafana | logger=migrator t=2024-03-15T18:15:19.252485439Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.277451ms policy-api | Waiting for mariadb port 3306... prometheus | ts=2024-03-15T18:15:15.362Z caller=main.go:564 level=info msg="No time or size retention was set so using the default time retention" duration=15d mariadb | 2024-03-15 18:15:18 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB grafana | logger=migrator t=2024-03-15T18:15:19.256265749Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" policy-api | mariadb (172.17.0.2:3306) open prometheus | ts=2024-03-15T18:15:15.362Z caller=main.go:608 level=info msg="Starting Prometheus Server" mode=server version="(version=2.50.1, branch=HEAD, revision=8c9b0285360a0b6288d76214a75ce3025bce4050)" mariadb | 2024-03-15 18:15:18 0 [Note] InnoDB: Completed initialization of buffer pool policy-db-migrator | Waiting for mariadb port 3306... grafana | logger=migrator t=2024-03-15T18:15:19.256367133Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=102.234µs policy-api | Waiting for policy-db-migrator port 6824... prometheus | ts=2024-03-15T18:15:15.362Z caller=main.go:613 level=info build_context="(go=go1.21.7, platform=linux/amd64, user=root@6213bb3ee580, date=20240226-11:36:26, tags=netgo,builtinassets,stringlabels)" mariadb | 2024-03-15 18:15:18 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused grafana | logger=migrator t=2024-03-15T18:15:19.260107221Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" policy-api | policy-db-migrator (172.17.0.5:6824) open prometheus | ts=2024-03-15T18:15:15.362Z caller=main.go:614 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" mariadb | 2024-03-15 18:15:18 0 [Note] InnoDB: 128 rollback segments are active. policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused grafana | logger=migrator t=2024-03-15T18:15:19.261861062Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.75338ms policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml prometheus | ts=2024-03-15T18:15:15.362Z caller=main.go:615 level=info fd_limits="(soft=1048576, hard=1048576)" mariadb | 2024-03-15 18:15:18 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused grafana | logger=migrator t=2024-03-15T18:15:19.26810457Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" policy-api | prometheus | ts=2024-03-15T18:15:15.362Z caller=main.go:616 level=info vm_limits="(soft=unlimited, hard=unlimited)" mariadb | 2024-03-15 18:15:18 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused grafana | logger=migrator t=2024-03-15T18:15:19.270943213Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.830072ms policy-api | . ____ _ __ _ _ prometheus | ts=2024-03-15T18:15:15.365Z caller=web.go:565 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 mariadb | 2024-03-15 18:15:18 0 [Note] InnoDB: log sequence number 46590; transaction id 14 policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused grafana | logger=migrator t=2024-03-15T18:15:19.275480124Z level=info msg="Executing migration" id="Add column gnetId in dashboard" policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ prometheus | ts=2024-03-15T18:15:15.365Z caller=main.go:1118 level=info msg="Starting TSDB ..." mariadb | 2024-03-15 18:15:18 0 [Note] Plugin 'FEEDBACK' is disabled. policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused grafana | logger=migrator t=2024-03-15T18:15:19.277491944Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=2.01263ms policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ prometheus | ts=2024-03-15T18:15:15.373Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 mariadb | 2024-03-15 18:15:18 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. policy-db-migrator | Connection to mariadb (172.17.0.2) 3306 port [tcp/mysql] succeeded! policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) grafana | logger=migrator t=2024-03-15T18:15:19.28316332Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" prometheus | ts=2024-03-15T18:15:15.373Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 mariadb | 2024-03-15 18:15:18 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. policy-db-migrator | 321 blocks policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / grafana | logger=migrator t=2024-03-15T18:15:19.283890809Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=722.438µs prometheus | ts=2024-03-15T18:15:15.374Z caller=head.go:610 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" mariadb | 2024-03-15 18:15:18 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. policy-db-migrator | Preparing upgrade release version: 0800 policy-api | =========|_|==============|___/=/_/_/_/ grafana | logger=migrator t=2024-03-15T18:15:19.289805474Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" prometheus | ts=2024-03-15T18:15:15.374Z caller=head.go:692 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=3.66µs mariadb | 2024-03-15 18:15:18 0 [Note] mariadbd: ready for connections. policy-db-migrator | Preparing upgrade release version: 0900 policy-api | :: Spring Boot :: (v3.1.4) grafana | logger=migrator t=2024-03-15T18:15:19.291592226Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.786522ms prometheus | ts=2024-03-15T18:15:15.374Z caller=head.go:700 level=info component=tsdb msg="Replaying WAL, this may take a while" 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 | Preparing upgrade release version: 1000 policy-api | grafana | logger=migrator t=2024-03-15T18:15:19.296525421Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" prometheus | ts=2024-03-15T18:15:15.375Z caller=head.go:771 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 mariadb | 2024-03-15 18:15:19+00:00 [Note] [Entrypoint]: Temporary server started. policy-db-migrator | Preparing upgrade release version: 1100 policy-api | [2024-03-15T18:15:31.459+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) grafana | logger=migrator t=2024-03-15T18:15:19.297763021Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.23198ms prometheus | ts=2024-03-15T18:15:15.375Z caller=head.go:808 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=30.121µs wal_replay_duration=344.543µs wbl_replay_duration=160ns total_replay_duration=398.545µs mariadb | 2024-03-15 18:15:21+00:00 [Note] [Entrypoint]: Creating user policy_user policy-db-migrator | Preparing upgrade release version: 1200 policy-api | [2024-03-15T18:15:31.461+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" grafana | logger=migrator t=2024-03-15T18:15:19.302830163Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" prometheus | ts=2024-03-15T18:15:15.377Z caller=main.go:1139 level=info fs_type=EXT4_SUPER_MAGIC mariadb | 2024-03-15 18:15:21+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) policy-db-migrator | Preparing upgrade release version: 1300 policy-api | [2024-03-15T18:15:33.098+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. grafana | logger=migrator t=2024-03-15T18:15:19.30402694Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.201137ms prometheus | ts=2024-03-15T18:15:15.377Z caller=main.go:1142 level=info msg="TSDB started" mariadb | policy-db-migrator | Done policy-api | [2024-03-15T18:15:33.183+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 75 ms. Found 6 JPA repository interfaces. grafana | logger=migrator t=2024-03-15T18:15:19.31307138Z level=info msg="Executing migration" id="Update dashboard table charset" prometheus | ts=2024-03-15T18:15:15.377Z caller=main.go:1324 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml mariadb | 2024-03-15 18:15:21+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf policy-db-migrator | name version policy-api | [2024-03-15T18:15:33.570+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 grafana | logger=migrator t=2024-03-15T18:15:19.313107622Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=37.531µs prometheus | ts=2024-03-15T18:15:15.377Z caller=main.go:1361 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=883.534µs db_storage=1.55µs remote_storage=2.48µs web_handler=840ns query_engine=1.16µs scrape=266.27µs scrape_sd=121.455µs notify=26.101µs notify_sd=19.73µs rules=1.84µs tracing=5.021µs mariadb | policy-db-migrator | policyadmin 0 policy-api | [2024-03-15T18:15:33.570+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 grafana | logger=migrator t=2024-03-15T18:15:19.316963846Z level=info msg="Executing migration" id="Update dashboard_tag table charset" prometheus | ts=2024-03-15T18:15:15.377Z caller=main.go:1103 level=info msg="Server is ready to receive web requests." mariadb | 2024-03-15 18:15:21+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 policy-api | [2024-03-15T18:15:34.314+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) grafana | logger=migrator t=2024-03-15T18:15:19.316997317Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=34.861µs prometheus | ts=2024-03-15T18:15:15.377Z caller=manager.go:146 level=info component="rule manager" msg="Starting rule manager..." mariadb | #!/bin/bash -xv policy-db-migrator | upgrade: 0 -> 1300 policy-api | [2024-03-15T18:15:34.324+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] grafana | logger=migrator t=2024-03-15T18:15:19.372805609Z level=info msg="Executing migration" id="Add column folder_id in dashboard" mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved policy-db-migrator | policy-api | [2024-03-15T18:15:34.327+00:00|INFO|StandardService|main] Starting service [Tomcat] grafana | logger=migrator t=2024-03-15T18:15:19.375879821Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.074142ms mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-api | [2024-03-15T18:15:34.327+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] grafana | logger=migrator t=2024-03-15T18:15:19.379440123Z level=info msg="Executing migration" id="Add column isFolder in dashboard" mariadb | # policy-db-migrator | -------------- policy-api | [2024-03-15T18:15:34.422+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext grafana | logger=migrator t=2024-03-15T18:15:19.382328798Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.889315ms mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-api | [2024-03-15T18:15:34.422+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2897 ms grafana | logger=migrator t=2024-03-15T18:15:19.389269795Z level=info msg="Executing migration" id="Add column has_acl in dashboard" mariadb | # you may not use this file except in compliance with the License. policy-db-migrator | -------------- policy-api | [2024-03-15T18:15:34.866+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] grafana | logger=migrator t=2024-03-15T18:15:19.391809995Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=2.531259ms mariadb | # You may obtain a copy of the License at policy-db-migrator | policy-api | [2024-03-15T18:15:34.947+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 grafana | logger=migrator t=2024-03-15T18:15:19.395996032Z level=info msg="Executing migration" id="Add column uid in dashboard" mariadb | # policy-db-migrator | policy-api | [2024-03-15T18:15:34.951+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer grafana | logger=migrator t=2024-03-15T18:15:19.39870388Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.708738ms mariadb | # http://www.apache.org/licenses/LICENSE-2.0 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-api | [2024-03-15T18:15:34.993+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled grafana | logger=migrator t=2024-03-15T18:15:19.402374446Z level=info msg="Executing migration" id="Update uid column values in dashboard" mariadb | # policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:19.402561973Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=187.657µs mariadb | # Unless required by applicable law or agreed to in writing, software policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-api | [2024-03-15T18:15:35.331+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer grafana | logger=migrator t=2024-03-15T18:15:19.409651946Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" mariadb | # distributed under the License is distributed on an "AS IS" BASIS, policy-db-migrator | -------------- policy-api | [2024-03-15T18:15:35.355+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... grafana | logger=migrator t=2024-03-15T18:15:19.410938327Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.295281ms mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. policy-db-migrator | policy-api | [2024-03-15T18:15:35.463+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@2620e717 grafana | logger=migrator t=2024-03-15T18:15:19.414634314Z level=info msg="Executing migration" id="Remove unique index org_id_slug" mariadb | # See the License for the specific language governing permissions and policy-db-migrator | policy-api | [2024-03-15T18:15:35.466+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. grafana | logger=migrator t=2024-03-15T18:15:19.415709477Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.075023ms mariadb | # limitations under the License. policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-api | [2024-03-15T18:15:35.500+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) grafana | logger=migrator t=2024-03-15T18:15:19.419368872Z level=info msg="Executing migration" id="Update dashboard title length" mariadb | policy-db-migrator | -------------- policy-api | [2024-03-15T18:15:35.501+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead grafana | logger=migrator t=2024-03-15T18:15:19.419390543Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=21.141µs mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-api | [2024-03-15T18:15:37.318+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) grafana | logger=migrator t=2024-03-15T18:15:19.426188714Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" mariadb | do policy-db-migrator | -------------- mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" policy-db-migrator | policy-api | [2024-03-15T18:15:37.321+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' grafana | logger=migrator t=2024-03-15T18:15:19.427465735Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.276321ms mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" policy-db-migrator | policy-api | [2024-03-15T18:15:38.763+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml grafana | logger=migrator t=2024-03-15T18:15:19.431466265Z level=info msg="Executing migration" id="create dashboard_provisioning" mariadb | done policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-api | [2024-03-15T18:15:39.586+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] grafana | logger=migrator t=2024-03-15T18:15:19.432494185Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.027591ms mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | -------------- policy-api | [2024-03-15T18:15:40.655+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 grafana | logger=migrator t=2024-03-15T18:15:19.436207913Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-api | [2024-03-15T18:15:40.852+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@543d242e, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@5f967ad3, org.springframework.security.web.context.SecurityContextHolderFilter@19bd1f98, org.springframework.security.web.header.HeaderWriterFilter@7b3d759f, org.springframework.security.web.authentication.logout.LogoutFilter@276961df, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@c7a7d3, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@69cf9acb, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@5f160f9c, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@5c1348c6, org.springframework.security.web.access.ExceptionTranslationFilter@15200332, org.springframework.security.web.access.intercept.AuthorizationFilter@607c7f58] grafana | logger=migrator t=2024-03-15T18:15:19.441305396Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=5.096753ms mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | -------------- policy-api | [2024-03-15T18:15:41.744+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' grafana | logger=migrator t=2024-03-15T18:15:19.447891769Z level=info msg="Executing migration" id="create dashboard_provisioning v2" mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | policy-api | [2024-03-15T18:15:41.810+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] grafana | logger=migrator t=2024-03-15T18:15:19.448568345Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=676.296µs mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' policy-db-migrator | policy-api | [2024-03-15T18:15:41.828+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' grafana | logger=migrator t=2024-03-15T18:15:19.452318744Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-api | [2024-03-15T18:15:41.851+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 11.086 seconds (process running for 11.638) grafana | logger=migrator t=2024-03-15T18:15:19.453597686Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.278462ms mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | -------------- policy-api | [2024-03-15T18:15:47.051+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' grafana | logger=migrator t=2024-03-15T18:15:19.457026442Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-api | [2024-03-15T18:15:47.051+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' grafana | logger=migrator t=2024-03-15T18:15:19.45823727Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.214578ms mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | -------------- policy-api | [2024-03-15T18:15:47.053+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 2 ms grafana | logger=migrator t=2024-03-15T18:15:19.465902105Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | policy-api | [2024-03-15T18:15:49.762+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: grafana | logger=migrator t=2024-03-15T18:15:19.466187407Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=285.212µs mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' policy-db-migrator | policy-api | [] grafana | logger=migrator t=2024-03-15T18:15:19.46978591Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-api | [2024-03-15T18:15:49.889+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes grafana | logger=migrator t=2024-03-15T18:15:19.470608193Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=819.554µs mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | -------------- policy-api | [2024-03-15T18:15:50.139+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes grafana | logger=migrator t=2024-03-15T18:15:19.474223537Z level=info msg="Executing migration" id="Add check_sum column" mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-api | [2024-03-15T18:15:51.278+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies grafana | logger=migrator t=2024-03-15T18:15:19.477813609Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.585392ms mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | -------------- policy-api | [2024-03-15T18:15:53.432+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 grafana | logger=migrator t=2024-03-15T18:15:19.481466245Z level=info msg="Executing migration" id="Add index for dashboard_title" mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp policy-db-migrator | policy-api | [2024-03-15T18:15:53.755+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policies/onap.restart.tca/versions/1.0.0 grafana | logger=migrator t=2024-03-15T18:15:19.482312019Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=845.505µs mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' policy-db-migrator | policy-api | [2024-03-15T18:15:53.983+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 grafana | logger=migrator t=2024-03-15T18:15:19.488035667Z level=info msg="Executing migration" id="delete tags for deleted dashboards" mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-api | [2024-03-15T18:15:54.231+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 grafana | logger=migrator t=2024-03-15T18:15:19.488260586Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=226.829µs mariadb | policy-db-migrator | -------------- policy-api | [2024-03-15T18:15:54.470+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 grafana | logger=migrator t=2024-03-15T18:15:19.491998334Z level=info msg="Executing migration" id="delete stars for deleted dashboards" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-api | [2024-03-15T18:15:54.707+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:19.492286765Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=288.001µs mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:19.496026435Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:19.497351937Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.325702ms mariadb | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql grafana | logger=migrator t=2024-03-15T18:15:19.503037084Z level=info msg="Executing migration" id="Add isPublic for dashboard" mariadb | 2024-03-15 18:15:22+00:00 [Note] [Entrypoint]: Stopping temporary server policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:19.505313314Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.275891ms mariadb | 2024-03-15 18:15:22 0 [Note] mariadbd (initiated by: unknown): Normal shutdown policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) grafana | logger=migrator t=2024-03-15T18:15:19.508913287Z level=info msg="Executing migration" id="create data_source table" mariadb | 2024-03-15 18:15:22 0 [Note] InnoDB: FTS optimize thread exiting. policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:19.509864946Z level=info msg="Migration successfully executed" id="create data_source table" duration=951.369µs mariadb | 2024-03-15 18:15:22 0 [Note] InnoDB: Starting shutdown... policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:19.514543672Z level=info msg="Executing migration" id="add index data_source.account_id" mariadb | 2024-03-15 18:15:22 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:19.515882555Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.338524ms mariadb | 2024-03-15 18:15:22 0 [Note] InnoDB: Buffer pool(s) dump completed at 240315 18:15:22 policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql grafana | logger=migrator t=2024-03-15T18:15:19.523236638Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" mariadb | 2024-03-15 18:15:22 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:19.524750488Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.513211ms mariadb | 2024-03-15 18:15:22 0 [Note] InnoDB: Shutdown completed; log sequence number 330529; transaction id 298 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-03-15T18:15:19.530942815Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" mariadb | 2024-03-15 18:15:22 0 [Note] mariadbd: Shutdown complete policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:19.532786788Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=1.844064ms mariadb | policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:19.537194683Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" mariadb | 2024-03-15 18:15:22+00:00 [Note] [Entrypoint]: Temporary server stopped policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:19.538578429Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.384626ms mariadb | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql grafana | logger=migrator t=2024-03-15T18:15:19.544943952Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" mariadb | 2024-03-15 18:15:22+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:19.551396489Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=6.446906ms mariadb | 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-03-15T18:15:19.555326006Z level=info msg="Executing migration" id="create data_source table v2" mariadb | 2024-03-15 18:15:22 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:19.556278093Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=948.207µs mariadb | 2024-03-15 18:15:22 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:19.561301243Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" mariadb | 2024-03-15 18:15:22 0 [Note] InnoDB: Number of transaction pools: 1 policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:19.562392387Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.090823ms mariadb | 2024-03-15 18:15:22 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql grafana | logger=migrator t=2024-03-15T18:15:19.566036312Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" mariadb | 2024-03-15 18:15:22 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:19.566874025Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=837.633µs mariadb | 2024-03-15 18:15:22 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 | 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-03-15T18:15:19.571635705Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" mariadb | 2024-03-15 18:15:22 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:19.572153926Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=518.321µs mariadb | 2024-03-15 18:15:22 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:19.577154935Z level=info msg="Executing migration" id="Add column with_credentials" mariadb | 2024-03-15 18:15:22 0 [Note] InnoDB: Completed initialization of buffer pool policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:19.580877283Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.721648ms mariadb | 2024-03-15 18:15:22 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql grafana | logger=migrator t=2024-03-15T18:15:19.584935324Z level=info msg="Executing migration" id="Add secure json data column" mariadb | 2024-03-15 18:15:22 0 [Note] InnoDB: 128 rollback segments are active. policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:19.587376001Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=2.441947ms mariadb | 2024-03-15 18:15:22 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-15T18:15:19.591764686Z level=info msg="Executing migration" id="Update data_source table charset" mariadb | 2024-03-15 18:15:22 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:19.591791157Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=27.671µs mariadb | 2024-03-15 18:15:22 0 [Note] InnoDB: log sequence number 330529; transaction id 299 policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:19.597146191Z level=info msg="Executing migration" id="Update initial version to 1" mariadb | 2024-03-15 18:15:22 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:19.597472064Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=336.653µs mariadb | 2024-03-15 18:15:22 0 [Note] Plugin 'FEEDBACK' is disabled. policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql grafana | logger=migrator t=2024-03-15T18:15:19.60191091Z level=info msg="Executing migration" id="Add read_only data column" mariadb | 2024-03-15 18:15:22 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-03-15T18:15:19.606226862Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=4.316822ms mariadb | 2024-03-15 18:15:22 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-15T18:15:19.61042331Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" mariadb | 2024-03-15 18:15:22 0 [Note] Server socket created on IP: '0.0.0.0'. policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:19.610622137Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=199.057µs mariadb | 2024-03-15 18:15:22 0 [Note] Server socket created on IP: '::'. policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:19.61445829Z level=info msg="Executing migration" id="Update json_data with nulls" mariadb | 2024-03-15 18:15:22 0 [Note] mariadbd: ready for connections. policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:19.614871246Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=413.306µs 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 | > upgrade 0230-jpatoscadatatype_properties.sql grafana | logger=migrator t=2024-03-15T18:15:19.619915057Z level=info msg="Executing migration" id="Add uid column" mariadb | 2024-03-15 18:15:23 0 [Note] InnoDB: Buffer pool(s) load completed at 240315 18:15:23 policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:19.624242799Z level=info msg="Migration successfully executed" id="Add uid column" duration=4.327322ms mariadb | 2024-03-15 18:15:23 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-15T18:15:19.629377834Z level=info msg="Executing migration" id="Update uid value" mariadb | 2024-03-15 18:15:23 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:19.629580452Z level=info msg="Migration successfully executed" id="Update uid value" duration=201.028µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:19.633821651Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:19.634895853Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.067992ms policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-03-15T18:15:19.640449714Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:19.642207585Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.758011ms 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-03-15T18:15:19.646425972Z level=info msg="Executing migration" id="create api_key table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:19.647183763Z level=info msg="Migration successfully executed" id="create api_key table" duration=757.471µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:19.650776596Z level=info msg="Executing migration" id="add index api_key.account_id" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:19.65163761Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=860.464µs policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql grafana | logger=migrator t=2024-03-15T18:15:19.656465792Z level=info msg="Executing migration" id="add index api_key.key" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:19.657209642Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=746.84µ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-03-15T18:15:19.661197651Z level=info msg="Executing migration" id="add index api_key.account_id_name" policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:19.662558505Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.359554ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:19.667154598Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql grafana | logger=migrator t=2024-03-15T18:15:19.668807873Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.646205ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:19.67374656Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" 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-03-15T18:15:19.674488769Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=742.619µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:19.678205558Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:19.678927617Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=721.969µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:19.683142184Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql grafana | logger=migrator t=2024-03-15T18:15:19.690006328Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=6.860464ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:19.695663943Z level=info msg="Executing migration" id="create api_key table v2" 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-03-15T18:15:19.696553678Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=889.445µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:19.700654202Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:19.701447083Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=792.821µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:19.706661381Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql grafana | logger=migrator t=2024-03-15T18:15:19.707385349Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=776.03µs grafana | logger=migrator t=2024-03-15T18:15:19.711150529Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-03-15T18:15:19.71192134Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=770.411µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:19.715714391Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-03-15T18:15:19.716220541Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=500.33µ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-03-15T18:15:19.720798994Z level=info msg="Executing migration" id="Drop old table api_key_v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:19.72196407Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=1.164716ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:19.727469229Z level=info msg="Executing migration" id="Update api_key table charset" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:19.72749558Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=21.561µs policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql grafana | logger=migrator t=2024-03-15T18:15:19.731111955Z level=info msg="Executing migration" id="Add expires to api_key table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:19.733574792Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.462607ms 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-03-15T18:15:19.738614093Z level=info msg="Executing migration" id="Add service account foreign key" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:19.741111862Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.497269ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:19.746595071Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:19.746805139Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=209.369µs policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-03-15T18:15:19.750618751Z level=info msg="Executing migration" id="Add last_used_at to api_key table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:19.753229925Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.610744ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-03-15T18:15:19.756987655Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:19.759557527Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.565052ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:19.765964462Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:19.766695361Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=730.519µs policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql grafana | logger=migrator t=2024-03-15T18:15:19.853058529Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:19.854294809Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=1.23695ms 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-03-15T18:15:19.882335285Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:19.883370116Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.034781ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:19.888575324Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:19.889374285Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=805.232µs policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql grafana | logger=migrator t=2024-03-15T18:15:19.893302222Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:19.894633795Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.327322ms 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-03-15T18:15:19.899807231Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:19.900570741Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=763.5µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:19.905421074Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:19.905485427Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=66.873µs policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-03-15T18:15:19.909250396Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:19.909306269Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=56.753µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) grafana | logger=migrator t=2024-03-15T18:15:19.913782507Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:19.918060617Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.27742ms policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-03-15T18:15:19.922059477Z level=info msg="Executing migration" id="Add encrypted dashboard json column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:19.923941991Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=1.880734ms 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-03-15T18:15:19.928537734Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:19.928615277Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=77.853µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:19.932174059Z level=info msg="Executing migration" id="create quota table v1" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:19.932902589Z level=info msg="Migration successfully executed" id="create quota table v1" duration=728.42µs policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql grafana | logger=migrator t=2024-03-15T18:15:19.93672298Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:19.938374857Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.651246ms policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-15T18:15:19.979202651Z level=info msg="Executing migration" id="Update quota table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:19.979239613Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=38.332µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.017152231Z level=info msg="Executing migration" id="create plugin_setting table" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.018936112Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.757059ms policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql grafana | logger=migrator t=2024-03-15T18:15:20.023440451Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.024852316Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.411945ms 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-03-15T18:15:20.030077564Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.032927747Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=2.849823ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.036400196Z level=info msg="Executing migration" id="Update plugin_setting table charset" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.036422836Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=23.301µs policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql grafana | logger=migrator t=2024-03-15T18:15:20.040179665Z level=info msg="Executing migration" id="create session table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.040989337Z level=info msg="Migration successfully executed" id="create session table" duration=809.742µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-15T18:15:20.046274577Z level=info msg="Executing migration" id="Drop old table playlist table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.046445474Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=171.187µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.050810167Z level=info msg="Executing migration" id="Drop old table playlist_item table" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.05088451Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=74.723µs policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql grafana | logger=migrator t=2024-03-15T18:15:20.054290425Z level=info msg="Executing migration" id="create playlist table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.054963482Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=676.137µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-15T18:15:20.058573786Z level=info msg="Executing migration" id="create playlist item table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.059249102Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=673.166µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.064373526Z level=info msg="Executing migration" id="Update playlist table charset" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.064402367Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=28.501µs policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql grafana | logger=migrator t=2024-03-15T18:15:20.068185587Z level=info msg="Executing migration" id="Update playlist_item table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.068226878Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=42.561µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-15T18:15:20.072164154Z level=info msg="Executing migration" id="Add playlist column created_at" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.078179584Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=6.01526ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.082064398Z level=info msg="Executing migration" id="Add playlist column updated_at" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.087255654Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=5.190656ms policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql grafana | logger=migrator t=2024-03-15T18:15:20.092620447Z level=info msg="Executing migration" id="drop preferences table v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.092716001Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=96.354µs 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-03-15T18:15:20.097954939Z level=info msg="Executing migration" id="drop preferences table v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.098131036Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=176.027µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.103456377Z level=info msg="Executing migration" id="create preferences table v3" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.10478911Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.332083ms policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql grafana | logger=migrator t=2024-03-15T18:15:20.11033278Z level=info msg="Executing migration" id="Update preferences table charset" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.110354581Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=22.611µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-15T18:15:20.115175572Z level=info msg="Executing migration" id="Add column team_id in preferences" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.119065446Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.881864ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.122998123Z level=info msg="Executing migration" id="Update team_id column values in preferences" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.123225732Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=230.299µs policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql grafana | logger=migrator t=2024-03-15T18:15:20.126659118Z level=info msg="Executing migration" id="Add column week_start in preferences" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.129832214Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.172656ms 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-03-15T18:15:20.135552661Z level=info msg="Executing migration" id="Add column preferences.json_data" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.138685005Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=3.131984ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.142257257Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" policy-db-migrator | policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL, INPUTS_KEY VARCHAR(255) NULL) grafana | logger=migrator t=2024-03-15T18:15:20.142355531Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=97.853µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.145781567Z level=info msg="Executing migration" id="Add preferences index org_id" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.146752946Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=970.928µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.153113788Z level=info msg="Executing migration" id="Add preferences index user_id" policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2024-03-15T18:15:20.154050386Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=936.337µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.157724231Z level=info msg="Executing migration" id="create alert table v1" 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-03-15T18:15:20.15944652Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.7417ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.16323703Z level=info msg="Executing migration" id="add index alert org_id & id " policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.164741619Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.504049ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.170988498Z level=info msg="Executing migration" id="add index alert state" policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2024-03-15T18:15:20.17181683Z level=info msg="Migration successfully executed" id="add index alert state" duration=828.372µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.175915833Z 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-03-15T18:15:20.177296168Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.380265ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.181077428Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.182247505Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=1.170987ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.187889189Z 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-03-15T18:15:20.189547124Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.658155ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.193346655Z 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-03-15T18:15:20.194562353Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=1.217838ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.198309332Z 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-03-15T18:15:20.207625172Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=9.31601ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.213791807Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2024-03-15T18:15:20.214754125Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=962.147µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.261439448Z 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-03-15T18:15:20.262891565Z 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.451757ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.267159235Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.267743588Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=579.053µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.273930733Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2024-03-15T18:15:20.274856261Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=924.968µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.278559337Z 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-03-15T18:15:20.279976524Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.421167ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.283494744Z level=info msg="Executing migration" id="Add column is_default" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.287020363Z level=info msg="Migration successfully executed" id="Add column is_default" duration=3.525209ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.292680978Z level=info msg="Executing migration" id="Add column frequency" policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2024-03-15T18:15:20.296155536Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.475568ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.299840673Z level=info msg="Executing migration" id="Add column send_reminder" grafana | logger=migrator t=2024-03-15T18:15:20.303371693Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.528799ms grafana | logger=migrator t=2024-03-15T18:15:20.307157352Z 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-03-15T18:15:20.310662381Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.504569ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.317083637Z level=info msg="Executing migration" id="add index alert_notification org_id & name" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.317974182Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=893.625µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.321327755Z level=info msg="Executing migration" id="Update alert table charset" policy-db-migrator | > upgrade 0500-pdpsubgroup.sql grafana | logger=migrator t=2024-03-15T18:15:20.321354056Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=27.051µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.324740321Z 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-03-15T18:15:20.324764522Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=24.801µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.33229419Z level=info msg="Executing migration" id="create notification_journal table v1" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.333582652Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.288332ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.337540009Z 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-03-15T18:15:20.339034948Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.4945ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.342736715Z 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-03-15T18:15:20.343542977Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=805.802µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.349632068Z level=info msg="Executing migration" id="create alert_notification_state table v1" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.351062596Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.429897ms policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql grafana | logger=migrator t=2024-03-15T18:15:20.355079585Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.35670685Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.632185ms 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-03-15T18:15:20.36101666Z level=info msg="Executing migration" id="Add for to alert table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.364887964Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.870044ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.370638093Z level=info msg="Executing migration" id="Add column uid in alert_notification" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.374517696Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.878973ms policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql grafana | logger=migrator t=2024-03-15T18:15:20.37812446Z level=info msg="Executing migration" id="Update uid column values in alert_notification" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.378398561Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=273.791µ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-03-15T18:15:20.382237733Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.383154939Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=916.866µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.38944927Z level=info msg="Executing migration" id="Remove unique index org_id_name" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.39048882Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.03583ms policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql grafana | logger=migrator t=2024-03-15T18:15:20.393799812Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.400637414Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=6.835621ms 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-03-15T18:15:20.403984416Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.40408527Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=100.514µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.407900991Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.408789697Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=889.166µs policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql grafana | logger=migrator t=2024-03-15T18:15:20.414610838Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.416104987Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.493659ms 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-03-15T18:15:20.419993812Z level=info msg="Executing migration" id="Drop old annotation table v4" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.420115557Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=120.205µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.426786111Z level=info msg="Executing migration" id="create annotation table v5" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.428098333Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.311062ms policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql grafana | logger=migrator t=2024-03-15T18:15:20.431762519Z level=info msg="Executing migration" id="add index annotation 0 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.433288569Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.52548ms 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-03-15T18:15:20.436910504Z level=info msg="Executing migration" id="add index annotation 1 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.437821929Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=912.696µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.442095259Z level=info msg="Executing migration" id="add index annotation 2 v3" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.443835478Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.73952ms policy-db-migrator | > upgrade 0570-toscadatatype.sql grafana | logger=migrator t=2024-03-15T18:15:20.450157999Z level=info msg="Executing migration" id="add index annotation 3 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.451144699Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=984.519µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCADATATYPE (name, version)) grafana | logger=migrator t=2024-03-15T18:15:20.454915608Z level=info msg="Executing migration" id="add index annotation 4 v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.456056803Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.140775ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.462536061Z level=info msg="Executing migration" id="Update annotation table charset" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.462561962Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=26.011µs grafana | logger=migrator t=2024-03-15T18:15:20.466454506Z level=info msg="Executing migration" id="Add column region_id to annotation table" policy-db-migrator | > upgrade 0580-toscadatatypes.sql grafana | logger=migrator t=2024-03-15T18:15:20.472836849Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=6.380133ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.477247484Z level=info msg="Executing migration" id="Drop category_id index" 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-03-15T18:15:20.478129159Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=881.325µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.483229762Z level=info msg="Executing migration" id="Add column tags to annotation table" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.487384747Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=4.149215ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.491948028Z level=info msg="Executing migration" id="Create annotation_tag table v2" policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql grafana | logger=migrator t=2024-03-15T18:15:20.492707818Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=758.949µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.499238857Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" 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-03-15T18:15:20.500130333Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=890.945µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.504989986Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.506508675Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.51925ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.511511644Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=migrator t=2024-03-15T18:15:20.523972229Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=12.461675ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.528766929Z level=info msg="Executing migration" id="Create annotation_tag table v3" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.529355513Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=588.474µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.533294699Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" policy-db-migrator | > upgrade 0610-toscanodetemplates.sql grafana | logger=migrator t=2024-03-15T18:15:20.534843831Z 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.551802ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.538999516Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCANODETEMPLATES (name, version)) grafana | logger=migrator t=2024-03-15T18:15:20.539570348Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=570.663µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.543582768Z level=info msg="Executing migration" id="drop table annotation_tag_v2" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.544201212Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=617.694µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.549378628Z 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-03-15T18:15:20.549645618Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=267.12µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.553376216Z 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-03-15T18:15:20.559302051Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=5.926295ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.798659973Z level=info msg="Executing migration" id="Add updated time to annotation table" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.80539906Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=6.737497ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.815157568Z 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-03-15T18:15:20.816705579Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.546931ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.821881534Z 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-03-15T18:15:20.823428226Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.547702ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.828359301Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.828710095Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=350.334µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.834468734Z level=info msg="Executing migration" id="Add epoch_end column" policy-db-migrator | > upgrade 0640-toscanodetypes.sql grafana | logger=migrator t=2024-03-15T18:15:20.841050745Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=6.581672ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.845624606Z 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-03-15T18:15:20.846681299Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.055383ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.850703848Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.850955838Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=251.08µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.856309491Z level=info msg="Executing migration" id="Move region to single row" policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2024-03-15T18:15:20.857099013Z level=info msg="Migration successfully executed" id="Move region to single row" duration=789.542µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.861523198Z 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-03-15T18:15:20.862989736Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.465808ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.86787757Z 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-03-15T18:15:20.869273036Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.393345ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.875055325Z 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-03-15T18:15:20.875993242Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=937.557µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.880039763Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" grafana | logger=migrator t=2024-03-15T18:15:20.88149608Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.453587ms 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-03-15T18:15:20.885771471Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.88677424Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.002619ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.891497518Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.892373292Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=875.344µs policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2024-03-15T18:15:20.896345401Z level=info msg="Executing migration" id="Increase tags column to length 4096" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.896545378Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=200.418µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCAPOLICIES (name, version)) grafana | logger=migrator t=2024-03-15T18:15:20.901190212Z level=info msg="Executing migration" id="create test_data table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.903010845Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.818803ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.907972452Z level=info msg="Executing migration" id="create dashboard_version table v1" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.908856317Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=883.735µs policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2024-03-15T18:15:20.912308564Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.913248492Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=935.917µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAPOLICIES_TOSCAPOLICY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-03-15T18:15:20.917235299Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.918797462Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.558723ms policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.923882333Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2024-03-15T18:15:20.924115702Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=232.979µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.928033428Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, PRIMARY KEY PK_TOSCAPOLICY (name, version)) grafana | logger=migrator t=2024-03-15T18:15:20.928439504Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=406.566µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.933206354Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.933406142Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=200.448µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.938463252Z level=info msg="Executing migration" id="create team table" policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2024-03-15T18:15:20.939656429Z level=info msg="Migration successfully executed" id="create team table" duration=1.192397ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.984108354Z level=info msg="Executing migration" id="add index team.org_id" 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-03-15T18:15:20.985750119Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.641524ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:20.990108092Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.991572371Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.463798ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:20.995555688Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2024-03-15T18:15:21.002511154Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=6.954386ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.00745121Z level=info msg="Executing migration" id="Update uid column values in team" 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-03-15T18:15:21.007621867Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=170.227µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.011283433Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.01197308Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=688.637µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.015543492Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2024-03-15T18:15:21.016814443Z level=info msg="Migration successfully executed" id="create team member table" duration=1.270041ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.022642064Z level=info msg="Executing migration" id="add index team_member.org_id" 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-03-15T18:15:21.024050489Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.408645ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.058140442Z 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-03-15T18:15:21.059629392Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.48834ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.066035856Z level=info msg="Executing migration" id="add index team_member.team_id" policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2024-03-15T18:15:21.066942912Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=907.265µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.187140883Z level=info msg="Executing migration" id="Add column email to team table" 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-03-15T18:15:21.19513988Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=7.998067ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.200742153Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.204130197Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=3.387794ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.210095425Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2024-03-15T18:15:21.214677176Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.581341ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.218606643Z level=info msg="Executing migration" id="create dashboard acl table" 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-03-15T18:15:21.219575991Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=968.899µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.225001756Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.225929883Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=927.927µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.229974664Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2024-03-15T18:15:21.230983623Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.007209ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.241580264Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" 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-03-15T18:15:21.243121505Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.540721ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.249331932Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.250784199Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.452277ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.259707073Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2024-03-15T18:15:21.261221884Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.514261ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.26918808Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" 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-03-15T18:15:21.271146997Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.955667ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.277092753Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.278610394Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.517181ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.283414385Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2024-03-15T18:15:21.284228067Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=813.062µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.291045207Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" 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-03-15T18:15:21.291382851Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=335.274µs policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.295588518Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2024-03-15T18:15:21.296919181Z level=info msg="Migration successfully executed" id="create tag table" duration=1.329973ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.307419337Z level=info msg="Executing migration" id="add index tag.key_value" 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-03-15T18:15:21.308931938Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.512661ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.313746469Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.314503129Z level=info msg="Migration successfully executed" id="create login attempt table" duration=756.15µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.319134772Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2024-03-15T18:15:21.320668003Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=1.532071ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.324697683Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" 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-03-15T18:15:21.326176812Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.479669ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.332396799Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.347059451Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=14.661991ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.352242536Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2024-03-15T18:15:21.352852301Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=609.155µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.358450184Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" 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-03-15T18:15:21.359903501Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.453517ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.363440581Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.364064857Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=626.095µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.368566325Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2024-03-15T18:15:21.369226281Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=659.675µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.372537403Z level=info msg="Executing migration" id="create user auth table" 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-03-15T18:15:21.373320034Z level=info msg="Migration successfully executed" id="create user auth table" duration=781.901µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.37952069Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.381054941Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.533922ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.385606311Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" grafana | logger=migrator t=2024-03-15T18:15:21.385667393Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=61.802µs grafana | logger=migrator t=2024-03-15T18:15:21.390257016Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2024-03-15T18:15:21.397575526Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=7.31433ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.402519722Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" 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-03-15T18:15:21.406115706Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=3.594664ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.411156915Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.417894623Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=6.738668ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.424669092Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-03-15T18:15:21.430127708Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.456847ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.434917169Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2024-03-15T18:15:21.435881737Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=965.268µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.439568823Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.445701837Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=6.132414ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.449244817Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-03-15T18:15:21.450219916Z level=info msg="Migration successfully executed" id="create server_lock table" duration=975.409µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.456280656Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-03-15T18:15:21.457338959Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.057643ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.461517944Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.462456852Z level=info msg="Migration successfully executed" id="create user auth token table" duration=938.008µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.472689378Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-03-15T18:15:21.474897185Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=2.205738ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.483208615Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-03-15T18:15:21.485189704Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.988879ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.492778635Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.494330137Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.549212ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.502693909Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-03-15T18:15:21.509549691Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=6.854361ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.51455988Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2024-03-15T18:15:21.516209716Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=1.649725ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.524417571Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.525874029Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.454498ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.5354525Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-03-15T18:15:21.537761231Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=2.274191ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.54704717Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2024-03-15T18:15:21.548044789Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=997.109µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.557109798Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.559596017Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=2.485829ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.597872777Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-03-15T18:15:21.598037203Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=164.396µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.6029904Z level=info msg="Executing migration" id="delete alert_definition table" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2024-03-15T18:15:21.603283572Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=292.032µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.612722216Z level=info msg="Executing migration" id="recreate alert_definition table" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.614304649Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.582763ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.620569778Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-03-15T18:15:21.622356939Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.786931ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.631876887Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2024-03-15T18:15:21.633665088Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.787242ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.64052082Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.640646205Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=126.595µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.644949456Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-03-15T18:15:21.646285718Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.335292ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.653677512Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2024-03-15T18:15:21.655518976Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.841463ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.662746422Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.664359016Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.612204ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.668286622Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-03-15T18:15:21.6700008Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.713418ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.676185086Z level=info msg="Executing migration" id="Add column paused in alert_definition" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2024-03-15T18:15:21.682019227Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.833552ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.689280556Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.690706382Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.423786ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.69445555Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-03-15T18:15:21.694532683Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=77.363µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.70047349Z level=info msg="Executing migration" id="recreate alert_definition_version table" policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2024-03-15T18:15:21.702011851Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.53753ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.708258568Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.709900344Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.641446ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.717635081Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2024-03-15T18:15:21.719763155Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=2.128224ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.725535945Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2024-03-15T18:15:21.725631649Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=95.614µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.732531222Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.734131406Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=1.599984ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.739671926Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-03-15T18:15:21.741280789Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.609723ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.748500356Z 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 | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2024-03-15T18:15:21.749525157Z 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.024481ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.756867788Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.758575006Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.706447ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.764811094Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-03-15T18:15:21.772744178Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=7.932574ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.779307889Z 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-03-15T18:15:21.780225035Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=917.086µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.78462797Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.785559277Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=931.437µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.795085215Z 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-03-15T18:15:21.823381198Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=28.296123ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.82896972Z 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-03-15T18:15:21.853942341Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=24.972331ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.859340045Z 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-03-15T18:15:21.860340996Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=1.000211ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.868166076Z 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-03-15T18:15:21.869842243Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.673116ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.876980366Z 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-03-15T18:15:21.886097958Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=9.094581ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.892073645Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.897837344Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=5.762759ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.904722108Z level=info msg="Executing migration" id="create alert_rule table" policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-03-15T18:15:21.905775589Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.051971ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.910643763Z 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-03-15T18:15:21.911902972Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.257389ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.918994214Z 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-03-15T18:15:21.920624308Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.629554ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.925665629Z 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-03-15T18:15:21.927425389Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.759011ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.934904595Z 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-03-15T18:15:21.935002489Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=97.684µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.940395943Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.948709303Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=8.31371ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:21.95896346Z 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-03-15T18:15:21.967601413Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=8.638513ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:21.973018768Z 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-03-15T18:15:21.978894521Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.875343ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.032439387Z 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-03-15T18:15:22.033994089Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.568473ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.042544808Z 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-03-15T18:15:22.044297217Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.751099ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.051080717Z 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-03-15T18:15:22.057031183Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=5.949746ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.065956337Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.07408871Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=8.133173ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.078548738Z 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-03-15T18:15:22.079649251Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.099954ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.087071406Z 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 policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.097621754Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=10.550308ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.104643883Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-03-15T18:15:22.114243784Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=9.59293ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.118180411Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-03-15T18:15:22.118223722Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=43.381µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.124752121Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.126848945Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=2.095233ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.134474568Z 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-03-15T18:15:22.136459616Z 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.985088ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.142148921Z 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-03-15T18:15:22.14334554Z 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.196618ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.151522394Z 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-03-15T18:15:22.151757603Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=235.129µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.15973862Z level=info msg="Executing migration" id="add column for to alert_rule_version" grafana | logger=migrator t=2024-03-15T18:15:22.171433104Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=11.697924ms policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-03-15T18:15:22.178655131Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.186642118Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=7.985538ms 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-03-15T18:15:22.19301209Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.200108952Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=7.091532ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.205044569Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.211687472Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.642363ms policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-03-15T18:15:22.215525074Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.225270941Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=9.744147ms policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-03-15T18:15:22.233407844Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.233525249Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=119.575µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.239934753Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.241141452Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.205278ms policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-03-15T18:15:22.247091488Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.255760182Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=8.667284ms policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-03-15T18:15:22.265600022Z 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-03-15T18:15:22.265663714Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=64.622µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.279208672Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.288679559Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=9.471346ms policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-03-15T18:15:22.292486739Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.293583202Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.095393ms policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-03-15T18:15:22.298415265Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.30534455Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.928806ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.308976164Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.309872029Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=894.415µs policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2024-03-15T18:15:22.31389498Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.315078986Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.182767ms 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-03-15T18:15:22.319384207Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.327254659Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=7.860842ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.332439115Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.333450366Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=1.010291ms policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-03-15T18:15:22.33759396Z 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-03-15T18:15:22.338713494Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.119574ms 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-03-15T18:15:22.342836758Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.343768615Z level=info msg="Migration successfully executed" id="create alert_image table" duration=929.486µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.348986252Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.351000962Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=2.01378ms policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2024-03-15T18:15:22.35549888Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.355604494Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=103.614µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.359239919Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.360470088Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.229899ms policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-03-15T18:15:22.365083031Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.366129662Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=1.046451ms policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-03-15T18:15:22.369450484Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.369944714Z 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-03-15T18:15:22.373304718Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.37386856Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=563.253µs policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-03-15T18:15:22.379047955Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.380132488Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.084493ms policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-03-15T18:15:22.384005992Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.391439937Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=7.433175ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.395096893Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.396012349Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=914.516µs policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-03-15T18:15:22.400453555Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.40133925Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=885.266µs policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-03-15T18:15:22.40485417Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-03-15T18:15:22.40635912Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.505991ms policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-03-15T18:15:22.409939672Z 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-03-15T18:15:22.411074476Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.133694ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.415588956Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.416731401Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.142285ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.420360306Z 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-03-15T18:15:22.420390717Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=32.922µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.423992999Z 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-03-15T18:15:22.424070463Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=79.063µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.46002512Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.460583692Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=559.512µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.46557298Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-03-15T18:15:22.467239846Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.667816ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.471205634Z 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-03-15T18:15:22.4721251Z level=info msg="Migration successfully executed" id="create secrets table" duration=917.326µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.47590489Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.505978504Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=30.055364ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.517942658Z 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-03-15T18:15:22.528524939Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=10.58349ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.539766325Z 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-03-15T18:15:22.540029725Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=259.16µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.550509851Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.584267381Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=33.75946ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.599471845Z 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-03-15T18:15:22.632119791Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=32.649596ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.637588768Z 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-03-15T18:15:22.638555186Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=965.718µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.643559575Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-03-15T18:15:22.645635267Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=2.078213ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.650927848Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" 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-03-15T18:15:22.651373595Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=449.428µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.655984928Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.65754877Z level=info msg="Migration successfully executed" id="create permission table" duration=1.563482ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.663296838Z level=info msg="Executing migration" id="add unique index permission.role_id" policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-03-15T18:15:22.664888522Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.591934ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.669413501Z level=info msg="Executing migration" id="add unique index role_id_action_scope" 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-03-15T18:15:22.670454553Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.040612ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.676214761Z level=info msg="Executing migration" id="create role table" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.677607876Z level=info msg="Migration successfully executed" id="create role table" duration=1.392245ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.683122735Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-03-15T18:15:22.6935753Z level=info msg="Migration successfully executed" id="add column display_name" duration=10.451795ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.724838111Z level=info msg="Executing migration" id="add column group_name" 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-03-15T18:15:22.736484153Z level=info msg="Migration successfully executed" id="add column group_name" duration=11.643702ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.752190877Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.753781271Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.593943ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.758954215Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2024-03-15T18:15:22.760629732Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.676527ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.765443573Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-03-15T18:15:22.766675172Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.231629ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.772463341Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.77392226Z level=info msg="Migration successfully executed" id="create team role table" duration=1.455859ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.781162497Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-03-15T18:15:22.78250324Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.351674ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.787711997Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-03-15T18:15:22.788952376Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.240059ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.796432993Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.797525536Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.090403ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.803258334Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-03-15T18:15:22.804711192Z level=info msg="Migration successfully executed" id="create user role table" duration=1.452768ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.813505791Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-03-15T18:15:22.815278612Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.772661ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.821011989Z 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-03-15T18:15:22.82230571Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.294811ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.826671584Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | > upgrade 0150-toscaproperty.sql grafana | logger=migrator t=2024-03-15T18:15:22.827917043Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.244939ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.833596918Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-03-15T18:15:22.835116939Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.519321ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.882634775Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.884512239Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.877164ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.889956495Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2024-03-15T18:15:22.891243967Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.288192ms grafana | logger=migrator t=2024-03-15T18:15:22.897448643Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" grafana | logger=migrator t=2024-03-15T18:15:22.908140048Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=10.693425ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.91576358Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.916917166Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.153117ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.921628063Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2024-03-15T18:15:22.923509887Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.879884ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.930280057Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.931362819Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.084213ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.939318545Z level=info msg="Executing migration" id="add unique index role.uid" policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2024-03-15T18:15:22.941145847Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.826912ms policy-db-migrator | -------------- policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.94699492Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.947955288Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=960.978µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.9530431Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2024-03-15T18:15:22.95506949Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=2.02699ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.961269807Z level=info msg="Executing migration" id="add column hidden to role table" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.97144402Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=10.175274ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:22.977823974Z level=info msg="Executing migration" id="permission kind migration" policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2024-03-15T18:15:22.986127543Z level=info msg="Migration successfully executed" id="permission kind migration" duration=8.302679ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:22.994479125Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-03-15T18:15:23.002462481Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=7.983726ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:23.011848364Z level=info msg="Executing migration" id="permission identifier migration" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:23.02359439Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=11.747706ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:23.027263406Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=migrator t=2024-03-15T18:15:23.028154832Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=889.236µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:23.031782335Z level=info msg="Executing migration" id="add permission action scope role_id index" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:23.033034665Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=1.2522ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:23.037777253Z level=info msg="Executing migration" id="remove permission role_id action scope index" policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-03-15T18:15:23.038834195Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.057302ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:23.042597995Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=migrator t=2024-03-15T18:15:23.043589034Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=990.709µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:23.047466027Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:23.048799401Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.331574ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:23.054526088Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=migrator t=2024-03-15T18:15:23.054758967Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=230.419µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:23.058827468Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2024-03-15T18:15:23.058955044Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=127.396µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:23.063293826Z level=info msg="Executing migration" id="teams permissions migration" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:23.063846758Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=553.112µs policy-db-migrator | msg grafana | logger=migrator t=2024-03-15T18:15:23.069299774Z level=info msg="Executing migration" id="dashboard permissions" policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2024-03-15T18:15:23.070272844Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=974.759µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:23.076039652Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2024-03-15T18:15:23.07724974Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=1.210488ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:23.081663416Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2024-03-15T18:15:23.082132934Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=468.689µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:23.086187345Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:23.087013938Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=826.964µs policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:23.092422302Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-03-15T18:15:23.094145151Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.723078ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:23.098995313Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-03-15T18:15:23.100983753Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.987009ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:23.105234121Z level=info msg="Executing migration" id="add column org_id in query_history_star" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:23.113599863Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.364682ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:23.117498037Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-03-15T18:15:23.117641363Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=143.056µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:23.122252746Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:23.123449204Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=1.196058ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:23.127481984Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | > upgrade 0120-audit_sequence.sql grafana | logger=migrator t=2024-03-15T18:15:23.129028296Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.545272ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:23.133575256Z level=info msg="Executing migration" id="add index correlations.source_uid" 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-03-15T18:15:23.135403469Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.830793ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:23.140454109Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:23.148908125Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.452846ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:23.152772538Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" 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-03-15T18:15:23.153870421Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.098493ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:23.157881961Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:23.159013165Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.129624ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:23.164483873Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" policy-db-migrator | > upgrade 0130-statistics_sequence.sql grafana | logger=migrator t=2024-03-15T18:15:23.188400762Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=23.9192ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:23.191996855Z level=info msg="Executing migration" id="create correlation 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-03-15T18:15:23.192914451Z level=info msg="Migration successfully executed" id="create correlation v2" duration=916.556µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:23.198450151Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:23.199556055Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.105844ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:23.203031043Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - 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-03-15T18:15:23.204844805Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.811952ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:23.209187027Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:23.210996319Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.808862ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:23.21656655Z level=info msg="Executing migration" id="copy correlation v1 to v2" policy-db-migrator | TRUNCATE TABLE sequence grafana | logger=migrator t=2024-03-15T18:15:23.217166774Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=597.114µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:23.221220774Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:23.222739025Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.517201ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:23.226565997Z level=info msg="Executing migration" id="add provisioning column" policy-db-migrator | > upgrade 0100-pdpstatistics.sql grafana | logger=migrator t=2024-03-15T18:15:23.235085845Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.519108ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:23.239560803Z level=info msg="Executing migration" id="create entity_events table" policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-03-15T18:15:23.240466359Z level=info msg="Migration successfully executed" id="create entity_events table" duration=905.015µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:23.243878025Z level=info msg="Executing migration" id="create dashboard public config v1" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:23.24603459Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=2.149304ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:23.250373992Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | DROP TABLE pdpstatistics grafana | logger=migrator t=2024-03-15T18:15:23.251264367Z 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-03-15T18:15:23.254975244Z 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-03-15T18:15:23.255503196Z 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-03-15T18:15:23.259112759Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-03-15T18:15:23.259990784Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=877.344µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:23.30045296Z level=info msg="Executing migration" id="recreate dashboard public config v1" policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats grafana | logger=migrator t=2024-03-15T18:15:23.302320404Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.863513ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:23.306119615Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:23.307796921Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.677326ms policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:23.313009568Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | > upgrade 0120-statistics_sequence.sql grafana | logger=migrator t=2024-03-15T18:15:23.314166775Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.156767ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:23.318479495Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" policy-db-migrator | DROP TABLE statistics_sequence grafana | logger=migrator t=2024-03-15T18:15:23.319525478Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.046282ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-03-15T18:15:23.324230154Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | grafana | logger=migrator t=2024-03-15T18:15:23.325230024Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.000271ms policy-db-migrator | policyadmin: OK: upgrade (1300) grafana | logger=migrator t=2024-03-15T18:15:23.330021353Z level=info msg="Executing migration" id="Drop public config table" policy-db-migrator | name version grafana | logger=migrator t=2024-03-15T18:15:23.331289024Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.268411ms policy-db-migrator | policyadmin 1300 grafana | logger=migrator t=2024-03-15T18:15:23.335050383Z level=info msg="Executing migration" id="Recreate dashboard public config v2" policy-db-migrator | ID script operation from_version to_version tag success atTime grafana | logger=migrator t=2024-03-15T18:15:23.336812024Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.76133ms policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:23 grafana | logger=migrator t=2024-03-15T18:15:23.340198068Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:23 grafana | logger=migrator t=2024-03-15T18:15:23.341330112Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.131914ms policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:23 grafana | logger=migrator t=2024-03-15T18:15:23.344710977Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:23 grafana | logger=migrator t=2024-03-15T18:15:23.345931935Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.220518ms policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:23 grafana | logger=migrator t=2024-03-15T18:15:23.349654433Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:23 grafana | logger=migrator t=2024-03-15T18:15:23.350798839Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.144226ms policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:24 grafana | logger=migrator t=2024-03-15T18:15:23.354395501Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:24 grafana | logger=migrator t=2024-03-15T18:15:23.376942646Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=22.546835ms policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:24 grafana | logger=migrator t=2024-03-15T18:15:23.379890663Z level=info msg="Executing migration" id="add annotations_enabled column" policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:24 grafana | logger=migrator t=2024-03-15T18:15:23.386065078Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.176825ms policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:24 grafana | logger=migrator t=2024-03-15T18:15:23.389521786Z level=info msg="Executing migration" id="add time_selection_enabled column" policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:24 grafana | logger=migrator t=2024-03-15T18:15:23.39794692Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.420364ms policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:24 grafana | logger=migrator t=2024-03-15T18:15:23.404795262Z level=info msg="Executing migration" id="delete orphaned public dashboards" policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:24 grafana | logger=migrator t=2024-03-15T18:15:23.405056842Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=261.3µs policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:24 grafana | logger=migrator t=2024-03-15T18:15:23.4115746Z level=info msg="Executing migration" id="add share column" policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:24 grafana | logger=migrator t=2024-03-15T18:15:23.422808096Z level=info msg="Migration successfully executed" id="add share column" duration=11.233686ms policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:24 grafana | logger=migrator t=2024-03-15T18:15:23.425976973Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:24 grafana | logger=migrator t=2024-03-15T18:15:23.426176541Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=199.698µs policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:24 grafana | logger=migrator t=2024-03-15T18:15:23.429641458Z level=info msg="Executing migration" id="create file table" policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:24 grafana | logger=migrator t=2024-03-15T18:15:23.430609206Z level=info msg="Migration successfully executed" id="create file table" duration=967.568µs policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:24 grafana | logger=migrator t=2024-03-15T18:15:23.43423574Z level=info msg="Executing migration" id="file table idx: path natural pk" policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:24 grafana | logger=migrator t=2024-03-15T18:15:23.435266361Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.030041ms policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:24 grafana | logger=migrator t=2024-03-15T18:15:23.439039161Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:24 grafana | logger=migrator t=2024-03-15T18:15:23.440066402Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.027171ms policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:24 grafana | logger=migrator t=2024-03-15T18:15:23.443330912Z level=info msg="Executing migration" id="create file_meta table" policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:24 grafana | logger=migrator t=2024-03-15T18:15:23.444089212Z level=info msg="Migration successfully executed" id="create file_meta table" duration=758.089µs policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:24 grafana | logger=migrator t=2024-03-15T18:15:23.447288568Z level=info msg="Executing migration" id="file table idx: path key" policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:24 grafana | logger=migrator t=2024-03-15T18:15:23.448477106Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.187208ms policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:24 grafana | logger=migrator t=2024-03-15T18:15:23.452341349Z level=info msg="Executing migration" id="set path collation in file table" policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:25 grafana | logger=migrator t=2024-03-15T18:15:23.452508626Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=166.867µs policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:25 grafana | logger=migrator t=2024-03-15T18:15:23.456344158Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:25 grafana | logger=migrator t=2024-03-15T18:15:23.456437281Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=93.224µs policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:25 grafana | logger=migrator t=2024-03-15T18:15:23.460530364Z level=info msg="Executing migration" id="managed permissions migration" policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:25 grafana | logger=migrator t=2024-03-15T18:15:23.461362407Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=832.543µs policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:25 grafana | logger=migrator t=2024-03-15T18:15:23.466011842Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:25 grafana | logger=migrator t=2024-03-15T18:15:23.466329194Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=318.142µs policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:25 grafana | logger=migrator t=2024-03-15T18:15:23.470057152Z level=info msg="Executing migration" id="RBAC action name migrator" policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:25 grafana | logger=migrator t=2024-03-15T18:15:23.472032981Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=1.975539ms policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:25 grafana | logger=migrator t=2024-03-15T18:15:23.475510879Z level=info msg="Executing migration" id="Add UID column to playlist" grafana | logger=migrator t=2024-03-15T18:15:23.484418852Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=8.907283ms policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:25 grafana | logger=migrator t=2024-03-15T18:15:23.488196533Z level=info msg="Executing migration" id="Update uid column values in playlist" policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:25 grafana | logger=migrator t=2024-03-15T18:15:23.488429242Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=232.579µs policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:25 grafana | logger=migrator t=2024-03-15T18:15:23.491881599Z level=info msg="Executing migration" id="Add index for uid in playlist" policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:25 grafana | logger=migrator t=2024-03-15T18:15:23.493254784Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.372405ms policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:25 grafana | logger=migrator t=2024-03-15T18:15:23.500182428Z level=info msg="Executing migration" id="update group index for alert rules" policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:25 grafana | logger=migrator t=2024-03-15T18:15:23.500964179Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=786.831µs policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:25 grafana | logger=migrator t=2024-03-15T18:15:23.504583593Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:25 grafana | logger=migrator t=2024-03-15T18:15:23.504951798Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=368.775µs policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:25 grafana | logger=migrator t=2024-03-15T18:15:23.508369973Z level=info msg="Executing migration" id="admin only folder/dashboard permission" policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:25 grafana | logger=migrator t=2024-03-15T18:15:23.508873943Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=507.15µs policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:25 grafana | logger=migrator t=2024-03-15T18:15:23.515724025Z level=info msg="Executing migration" id="add action column to seed_assignment" policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:25 grafana | logger=migrator t=2024-03-15T18:15:23.528364777Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=12.640722ms policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:25 grafana | logger=migrator t=2024-03-15T18:15:23.531621646Z level=info msg="Executing migration" id="add scope column to seed_assignment" policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:26 grafana | logger=migrator t=2024-03-15T18:15:23.539570162Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=7.947975ms policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:26 grafana | logger=migrator t=2024-03-15T18:15:23.543030759Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:26 grafana | logger=migrator t=2024-03-15T18:15:23.544835711Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.805493ms policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:26 grafana | logger=migrator t=2024-03-15T18:15:23.55060865Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:26 grafana | logger=migrator t=2024-03-15T18:15:23.621806005Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=71.197235ms policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:26 grafana | logger=migrator t=2024-03-15T18:15:23.625123238Z level=info msg="Executing migration" id="add unique index builtin_role_name back" policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:26 grafana | logger=migrator t=2024-03-15T18:15:23.6259408Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=818.022µs policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:26 grafana | logger=migrator t=2024-03-15T18:15:23.629343035Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:26 grafana | logger=migrator t=2024-03-15T18:15:23.631371806Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=2.027721ms policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:26 grafana | logger=migrator t=2024-03-15T18:15:23.638218137Z level=info msg="Executing migration" id="add primary key to seed_assigment" policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:26 grafana | logger=migrator t=2024-03-15T18:15:23.662261272Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=24.043085ms policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:26 grafana | logger=migrator t=2024-03-15T18:15:23.665662997Z level=info msg="Executing migration" id="add origin column to seed_assignment" policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:26 grafana | logger=migrator t=2024-03-15T18:15:23.675479147Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=9.80927ms policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:26 grafana | logger=migrator t=2024-03-15T18:15:23.775759377Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:26 grafana | logger=migrator t=2024-03-15T18:15:23.77608273Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=326.474µs policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:26 grafana | logger=migrator t=2024-03-15T18:15:23.783185212Z level=info msg="Executing migration" id="prevent seeding OnCall access" policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:26 grafana | logger=migrator t=2024-03-15T18:15:23.783331327Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=146.595µs policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:26 grafana | logger=migrator t=2024-03-15T18:15:23.788637668Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:26 grafana | logger=migrator t=2024-03-15T18:15:23.788963651Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=326.363µs policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:26 grafana | logger=migrator t=2024-03-15T18:15:23.79247245Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:26 grafana | logger=migrator t=2024-03-15T18:15:23.792830454Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=357.784µs policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:26 grafana | logger=migrator t=2024-03-15T18:15:23.796001821Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:26 grafana | logger=migrator t=2024-03-15T18:15:23.796194318Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=195.157µs policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:26 grafana | logger=migrator t=2024-03-15T18:15:23.802565351Z level=info msg="Executing migration" id="create folder table" policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:27 grafana | logger=migrator t=2024-03-15T18:15:23.80354457Z level=info msg="Migration successfully executed" id="create folder table" duration=979.529µs policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:27 grafana | logger=migrator t=2024-03-15T18:15:23.806462015Z level=info msg="Executing migration" id="Add index for parent_uid" policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:27 grafana | logger=migrator t=2024-03-15T18:15:23.808465585Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=2.00269ms policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:27 grafana | logger=migrator t=2024-03-15T18:15:23.81186105Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:27 grafana | logger=migrator t=2024-03-15T18:15:23.813637791Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.776371ms policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:27 grafana | logger=migrator t=2024-03-15T18:15:23.819256974Z level=info msg="Executing migration" id="Update folder title length" policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:27 grafana | logger=migrator t=2024-03-15T18:15:23.819281905Z level=info msg="Migration successfully executed" id="Update folder title length" duration=28.351µs policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:27 grafana | logger=migrator t=2024-03-15T18:15:23.824654238Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:27 grafana | logger=migrator t=2024-03-15T18:15:23.826433658Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.77909ms policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:27 grafana | logger=migrator t=2024-03-15T18:15:23.829584654Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:27 grafana | logger=migrator t=2024-03-15T18:15:23.831236089Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.651225ms policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:27 grafana | logger=migrator t=2024-03-15T18:15:23.838033439Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:27 grafana | logger=migrator t=2024-03-15T18:15:23.839150043Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.116204ms policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:27 grafana | logger=migrator t=2024-03-15T18:15:23.842517017Z level=info msg="Executing migration" id="Sync dashboard and folder table" policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:27 grafana | logger=migrator t=2024-03-15T18:15:23.843197593Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=680.546µs policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:27 grafana | logger=migrator t=2024-03-15T18:15:23.84661291Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:28 grafana | logger=migrator t=2024-03-15T18:15:23.846991335Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=378.385µs policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:28 grafana | logger=migrator t=2024-03-15T18:15:23.856178639Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:28 grafana | logger=migrator t=2024-03-15T18:15:23.857324805Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.145966ms policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1503241815230800u 1 2024-03-15 18:15:28 grafana | logger=migrator t=2024-03-15T18:15:23.861763191Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 1503241815230900u 1 2024-03-15 18:15:28 grafana | logger=migrator t=2024-03-15T18:15:23.863597504Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=1.833713ms policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 1503241815230900u 1 2024-03-15 18:15:28 grafana | logger=migrator t=2024-03-15T18:15:23.867624383Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 1503241815230900u 1 2024-03-15 18:15:28 grafana | logger=migrator t=2024-03-15T18:15:23.868640554Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.016451ms policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 1503241815230900u 1 2024-03-15 18:15:28 grafana | logger=migrator t=2024-03-15T18:15:23.87333758Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 1503241815230900u 1 2024-03-15 18:15:28 grafana | logger=migrator t=2024-03-15T18:15:23.874490786Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.152566ms policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 1503241815230900u 1 2024-03-15 18:15:28 grafana | logger=migrator t=2024-03-15T18:15:23.877972764Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1503241815230900u 1 2024-03-15 18:15:28 grafana | logger=migrator t=2024-03-15T18:15:23.878995035Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.022121ms policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1503241815230900u 1 2024-03-15 18:15:28 grafana | logger=migrator t=2024-03-15T18:15:23.883067527Z level=info msg="Executing migration" id="create anon_device table" policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 1503241815230900u 1 2024-03-15 18:15:28 grafana | logger=migrator t=2024-03-15T18:15:23.88389832Z level=info msg="Migration successfully executed" id="create anon_device table" duration=830.632µs policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 1503241815230900u 1 2024-03-15 18:15:28 grafana | logger=migrator t=2024-03-15T18:15:23.888490102Z level=info msg="Executing migration" id="add unique index anon_device.device_id" policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1503241815230900u 1 2024-03-15 18:15:28 grafana | logger=migrator t=2024-03-15T18:15:23.889687859Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.196467ms policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 1503241815230900u 1 2024-03-15 18:15:28 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 1503241815230900u 1 2024-03-15 18:15:28 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 1503241815231000u 1 2024-03-15 18:15:28 grafana | logger=migrator t=2024-03-15T18:15:23.89323531Z level=info msg="Executing migration" id="add index anon_device.updated_at" policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 1503241815231000u 1 2024-03-15 18:15:29 grafana | logger=migrator t=2024-03-15T18:15:23.894405907Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.169987ms policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 1503241815231000u 1 2024-03-15 18:15:29 grafana | logger=migrator t=2024-03-15T18:15:23.902521969Z level=info msg="Executing migration" id="create signing_key table" policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 1503241815231000u 1 2024-03-15 18:15:29 grafana | logger=migrator t=2024-03-15T18:15:23.904002127Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.479598ms policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 1503241815231000u 1 2024-03-15 18:15:29 grafana | logger=migrator t=2024-03-15T18:15:23.909293688Z level=info msg="Executing migration" id="add unique index signing_key.key_id" policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 1503241815231000u 1 2024-03-15 18:15:29 grafana | logger=migrator t=2024-03-15T18:15:23.910403171Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.108264ms grafana | logger=migrator t=2024-03-15T18:15:23.914277916Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 1503241815231000u 1 2024-03-15 18:15:29 grafana | logger=migrator t=2024-03-15T18:15:23.915321507Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.044752ms policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 1503241815231000u 1 2024-03-15 18:15:29 grafana | logger=migrator t=2024-03-15T18:15:23.920311955Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 1503241815231000u 1 2024-03-15 18:15:29 grafana | logger=migrator t=2024-03-15T18:15:23.920573715Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=261.77µs policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 1503241815231100u 1 2024-03-15 18:15:29 grafana | logger=migrator t=2024-03-15T18:15:23.927277301Z level=info msg="Executing migration" id="Add folder_uid for dashboard" policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 1503241815231200u 1 2024-03-15 18:15:29 grafana | logger=migrator t=2024-03-15T18:15:23.938298539Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=11.022307ms policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 1503241815231200u 1 2024-03-15 18:15:29 grafana | logger=migrator t=2024-03-15T18:15:23.941783978Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 1503241815231200u 1 2024-03-15 18:15:29 grafana | logger=migrator t=2024-03-15T18:15:23.942304298Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=520.64µs policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 1503241815231200u 1 2024-03-15 18:15:29 grafana | logger=migrator t=2024-03-15T18:15:23.948290496Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 1503241815231300u 1 2024-03-15 18:15:29 grafana | logger=migrator t=2024-03-15T18:15:23.949506483Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.215708ms policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 1503241815231300u 1 2024-03-15 18:15:29 grafana | logger=migrator t=2024-03-15T18:15:23.956004672Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 1503241815231300u 1 2024-03-15 18:15:29 grafana | logger=migrator t=2024-03-15T18:15:23.957703929Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.699467ms policy-db-migrator | policyadmin: OK @ 1300 grafana | logger=migrator t=2024-03-15T18:15:23.961702808Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-03-15T18:15:23.96275823Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=1.053022ms grafana | logger=migrator t=2024-03-15T18:15:23.966918905Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" grafana | logger=migrator t=2024-03-15T18:15:23.968124963Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=1.204878ms grafana | logger=migrator t=2024-03-15T18:15:23.971603201Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-03-15T18:15:23.972769298Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.165316ms grafana | logger=migrator t=2024-03-15T18:15:23.976923592Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-03-15T18:15:23.977984885Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.061083ms grafana | logger=migrator t=2024-03-15T18:15:23.986738102Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-03-15T18:15:23.987988391Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=1.251559ms grafana | logger=migrator t=2024-03-15T18:15:23.994318842Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-03-15T18:15:23.994612805Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=296.133µs grafana | logger=migrator t=2024-03-15T18:15:23.998069872Z level=info msg="Executing migration" id="alter kv_store.value to longtext" grafana | logger=migrator t=2024-03-15T18:15:23.998134444Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=65.622µs grafana | logger=migrator t=2024-03-15T18:15:24.003108222Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" grafana | logger=migrator t=2024-03-15T18:15:24.013088728Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=9.979865ms grafana | logger=migrator t=2024-03-15T18:15:24.016360857Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" grafana | logger=migrator t=2024-03-15T18:15:24.023328554Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=6.966677ms grafana | logger=migrator t=2024-03-15T18:15:24.028304142Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" grafana | logger=migrator t=2024-03-15T18:15:24.028642035Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=337.443µs grafana | logger=migrator t=2024-03-15T18:15:24.031853173Z level=info msg="migrations completed" performed=547 skipped=0 duration=5.292528847s grafana | logger=sqlstore t=2024-03-15T18:15:24.040939873Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-03-15T18:15:24.041280417Z level=info msg="Created default organization" grafana | logger=secrets t=2024-03-15T18:15:24.045987894Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2024-03-15T18:15:24.065933335Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2024-03-15T18:15:24.108690232Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-03-15T18:15:24.108716363Z level=info msg="Plugins loaded" count=55 duration=42.783818ms grafana | logger=query_data t=2024-03-15T18:15:24.111060067Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-03-15T18:15:24.122164007Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2024-03-15T18:15:24.129823642Z level=info msg=Starting grafana | logger=ngalert.migration t=2024-03-15T18:15:24.130349802Z level=info msg="Applying transition" currentType=Legacy desiredType=UnifiedAlerting cleanOnDowngrade=false cleanOnUpgrade=false grafana | logger=ngalert.migration orgID=1 t=2024-03-15T18:15:24.130856352Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-03-15T18:15:24.131635643Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration t=2024-03-15T18:15:24.133480626Z level=info msg="Completed alerting migration" grafana | logger=ngalert.state.manager t=2024-03-15T18:15:24.198964695Z level=info msg="Running in alternative execution of Error/NoData mode" grafana | logger=infra.usagestats.collector t=2024-03-15T18:15:24.202240786Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-03-15T18:15:24.204735915Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-03-15T18:15:24.222169677Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-03-15T18:15:24.222182708Z level=info msg="finished to provision alerting" grafana | logger=ngalert.multiorg.alertmanager t=2024-03-15T18:15:24.222373355Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=grafanaStorageLogger t=2024-03-15T18:15:24.222576273Z level=info msg="Storage starting" grafana | logger=ngalert.state.manager t=2024-03-15T18:15:24.222311043Z level=info msg="Warming state cache for startup" grafana | logger=http.server t=2024-03-15T18:15:24.227107274Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=ngalert.state.manager t=2024-03-15T18:15:24.348837945Z level=info msg="State cache has been initialized" states=0 duration=126.526082ms grafana | logger=ngalert.scheduler t=2024-03-15T18:15:24.348889137Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 grafana | logger=ticker t=2024-03-15T18:15:24.348940659Z level=info msg=starting first_tick=2024-03-15T18:15:30Z grafana | logger=provisioning.dashboard t=2024-03-15T18:15:24.357209747Z level=info msg="starting to provision dashboards" grafana | logger=plugins.update.checker t=2024-03-15T18:15:24.362590821Z level=info msg="Update check succeeded" duration=124.516813ms grafana | logger=grafana.update.checker t=2024-03-15T18:15:24.36457879Z level=info msg="Update check succeeded" duration=126.314245ms grafana | logger=sqlstore.transactions t=2024-03-15T18:15:24.3940625Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=grafana-apiserver t=2024-03-15T18:15:24.528567419Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" grafana | logger=grafana-apiserver t=2024-03-15T18:15:24.529164513Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" grafana | logger=provisioning.dashboard t=2024-03-15T18:15:24.644920658Z level=info msg="finished to provision dashboards" ++ echo 'Tearing down containers...' Tearing down containers... ++ docker-compose down -v --remove-orphans Stopping policy-api ... Stopping grafana ... Stopping prometheus ... Stopping mariadb ... Stopping grafana ... done Stopping prometheus ... done Stopping mariadb ... done Stopping policy-api ... done Removing policy-api ... Removing policy-db-migrator ... Removing grafana ... Removing prometheus ... Removing mariadb ... Removing policy-db-migrator ... done Removing grafana ... done Removing policy-api ... done Removing prometheus ... 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.T8D1khZakZ ]] + rsync -av /tmp/tmp.T8D1khZakZ/ /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,362 bytes received 95 bytes 2,690,914.00 bytes/sec total size is 1,344,711 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 2073 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/jenkins5689745269972916636.sh ---> sysstat.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins117859430841563567.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/jenkins8731053026199129047.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-Qvhw from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-Qvhw/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins13059494119909563630.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-montreal-project-csit-api@tmp/config18227532972133383006tmp 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/jenkins2254078621010090554.sh ---> create-netrc.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins15798010830037875634.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-Qvhw from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-Qvhw/bin to PATH [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins11328842760463281744.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins417883960012463538.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-Qvhw from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 lf-activate-venv(): INFO: Adding /tmp/venv-Qvhw/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/jenkins7114274244271842464.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-Qvhw from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-Qvhw/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-montreal-project-csit-api/125 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-13374 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 852 27302 0 4012 30859 Swap: 1023 0 1023 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 link/ether fa:16:3e:6d:61:fc brd ff:ff:ff:ff:ff:ff inet 10.30.106.181/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86006sec preferred_lft 86006sec inet6 fe80::f816:3eff:fe6d:61fc/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:e9:2a:f3:10 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-13374) 03/15/24 _x86_64_ (8 CPU) 18:11:25 LINUX RESTART (8 CPU) 18:12:02 tps rtps wtps bread/s bwrtn/s 18:13:01 139.68 72.38 67.30 4688.44 25759.81 18:14:01 90.72 13.63 77.09 1102.22 27125.61 18:15:01 146.45 9.50 136.95 1677.57 52460.11 18:16:01 312.68 12.88 299.80 795.70 50354.82 18:17:01 13.76 0.05 13.71 6.93 19270.79 Average: 140.66 21.52 119.14 1644.13 35025.38 18:12:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:13:01 30054220 31638284 2885000 8.76 64084 1833120 1528004 4.50 973376 1632180 167588 18:14:01 29870232 31678820 3068988 9.32 81556 2027788 1470236 4.33 914012 1849284 163160 18:15:01 28015888 31655240 4923332 14.95 114520 3757456 1444548 4.25 1010464 3494956 750728 18:16:01 27018764 30701980 5920456 17.97 128980 3777472 4204116 12.37 2048560 3422268 76 18:17:01 26973872 30684948 5965348 18.11 129104 3804184 4181568 12.30 2077524 3437384 25840 Average: 28386595 31271854 4552625 13.82 103649 3040004 2565694 7.55 1404787 2767214 221478 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.49 1.49 0.16 0.16 0.00 0.00 0.00 0.00 18:13:01 ens3 307.54 226.89 1496.56 58.46 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 1.33 1.33 0.13 0.13 0.00 0.00 0.00 0.00 18:14:01 ens3 48.76 35.81 697.38 7.06 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 br-25299d883376 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:15:01 lo 8.60 8.60 0.79 0.79 0.00 0.00 0.00 0.00 18:15:01 ens3 302.42 190.95 9581.28 15.36 0.00 0.00 0.00 0.00 18:16:01 vethe4b0836 0.05 0.37 0.00 0.02 0.00 0.00 0.00 0.00 18:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:16:01 br-25299d883376 3.60 4.10 6.17 2.52 0.00 0.00 0.00 0.00 18:16:01 veth2902cb0 124.75 105.33 40.62 113.91 0.00 0.00 0.00 0.01 18:17:01 vethe4b0836 0.73 1.00 0.10 0.88 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 br-25299d883376 1.73 1.92 0.14 0.18 0.00 0.00 0.00 0.00 18:17:01 veth2902cb0 1.12 1.17 0.82 0.08 0.00 0.00 0.00 0.00 Average: vethe4b0836 0.16 0.27 0.02 0.18 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: br-25299d883376 1.07 1.21 1.27 0.54 0.00 0.00 0.00 0.00 Average: veth2902cb0 25.25 21.37 8.32 22.87 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-13374) 03/15/24 _x86_64_ (8 CPU) 18:11:25 LINUX RESTART (8 CPU) 18:12:02 CPU %user %nice %system %iowait %steal %idle 18:13:01 all 9.79 0.00 1.00 4.61 0.04 84.56 18:13:01 0 5.69 0.00 0.48 0.85 0.02 92.97 18:13:01 1 8.33 0.00 1.16 11.33 0.05 79.13 18:13:01 2 5.33 0.00 0.95 10.39 0.05 83.27 18:13:01 3 8.18 0.00 1.24 0.97 0.03 89.59 18:13:01 4 5.40 0.00 0.56 7.32 0.03 86.68 18:13:01 5 2.16 0.00 0.54 0.24 0.03 97.03 18:13:01 6 27.42 0.00 1.71 3.76 0.07 67.03 18:13:01 7 15.77 0.00 1.36 2.04 0.03 80.80 18:14:01 all 8.98 0.00 0.53 4.45 0.03 86.01 18:14:01 0 21.72 0.00 0.75 2.48 0.03 75.01 18:14:01 1 14.09 0.00 1.04 4.68 0.03 80.16 18:14:01 2 1.60 0.00 0.30 10.06 0.02 88.02 18:14:01 3 2.02 0.00 0.27 1.07 0.02 96.63 18:14:01 4 0.15 0.00 0.03 1.64 0.05 98.13 18:14:01 5 5.44 0.00 0.15 1.14 0.02 93.25 18:14:01 6 15.47 0.00 0.85 1.37 0.03 82.27 18:14:01 7 11.31 0.00 0.89 13.21 0.03 74.56 18:15:01 all 8.52 0.00 2.89 6.74 0.05 81.81 18:15:01 0 9.76 0.00 3.04 0.87 0.03 86.29 18:15:01 1 18.07 0.00 4.47 2.24 0.07 75.15 18:15:01 2 4.86 0.00 2.14 10.89 0.03 82.07 18:15:01 3 8.62 0.00 2.49 0.35 0.03 88.50 18:15:01 4 6.96 0.00 2.75 11.38 0.03 78.88 18:15:01 5 7.78 0.00 2.84 0.72 0.03 88.62 18:15:01 6 6.57 0.00 2.62 0.74 0.05 90.02 18:15:01 7 5.54 0.00 2.70 26.86 0.07 64.82 18:16:01 all 15.38 0.00 2.18 5.28 0.06 77.10 18:16:01 0 18.19 0.00 2.48 2.05 0.08 77.20 18:16:01 1 16.82 0.00 2.24 1.59 0.07 79.28 18:16:01 2 16.67 0.00 2.38 1.49 0.05 79.41 18:16:01 3 15.20 0.00 2.23 1.73 0.05 80.80 18:16:01 4 15.95 0.00 2.26 3.83 0.05 77.91 18:16:01 5 11.03 0.00 1.69 1.00 0.05 86.22 18:16:01 6 11.79 0.00 1.69 2.39 0.05 84.08 18:16:01 7 17.42 0.00 2.46 28.27 0.07 51.78 18:17:01 all 0.45 0.00 0.16 1.04 0.02 98.34 18:17:01 0 0.83 0.00 0.15 0.00 0.02 99.00 18:17:01 1 0.50 0.00 0.25 0.00 0.08 99.17 18:17:01 2 0.32 0.00 0.17 0.02 0.03 99.47 18:17:01 3 0.30 0.00 0.13 0.00 0.02 99.55 18:17:01 4 0.17 0.00 0.12 0.07 0.00 99.65 18:17:01 5 0.62 0.00 0.15 0.00 0.00 99.23 18:17:01 6 0.25 0.00 0.17 0.03 0.02 99.53 18:17:01 7 0.55 0.00 0.18 8.21 0.03 91.02 Average: all 8.61 0.00 1.35 4.42 0.04 85.58 Average: 0 11.25 0.00 1.38 1.25 0.04 86.08 Average: 1 11.56 0.00 1.83 3.94 0.06 82.61 Average: 2 5.75 0.00 1.19 6.56 0.04 86.47 Average: 3 6.84 0.00 1.27 0.82 0.03 91.04 Average: 4 5.72 0.00 1.14 4.83 0.03 88.28 Average: 5 5.41 0.00 1.07 0.62 0.03 92.87 Average: 6 12.26 0.00 1.40 1.65 0.04 84.64 Average: 7 10.11 0.00 1.52 15.72 0.05 72.61