Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-36026 (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-9MUiBNGBt3VE/agent.2077 SSH_AGENT_PID=2079 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_18033645679564255389.key (/w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_18033645679564255389.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/jenkins17783885486289265166.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-Jgj9 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-Jgj9/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-Jgj9/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.3.0 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.93 botocore==1.34.93 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.4 future==1.0.0 gitdb==4.0.11 GitPython==3.1.43 google-auth==2.29.0 httplib2==0.22.0 identify==2.5.36 idna==3.7 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.2.1 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.1.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.1 oslo.serialization==5.4.0 oslo.utils==7.1.0 packaging==24.0 pbr==6.0.0 platformdirs==4.2.1 prettytable==3.10.0 pyasn1==0.6.0 pyasn1_modules==0.4.0 pycparser==2.22 pygerrit2==2.0.15 PyGithub==2.3.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.6.0 python-swiftclient==4.5.0 PyYAML==6.0.1 referencing==0.35.0 requests==2.31.0 requests-oauthlib==2.0.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.11.0 tzdata==2024.1 urllib3==1.26.18 virtualenv==20.26.0 wcwidth==0.2.13 websocket-client==1.8.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.4.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/jenkins11261550790781636768.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/jenkins878447551270271460.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.8Y6aQOlyAP ++ echo ROBOT_VENV=/tmp/tmp.8Y6aQOlyAP +++ python3 --version ++ echo 'Python version is: Python 3.6.9' Python version is: Python 3.6.9 ++ python3 -m venv --clear /tmp/tmp.8Y6aQOlyAP ++ source /tmp/tmp.8Y6aQOlyAP/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/tmp.8Y6aQOlyAP +++ 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.8Y6aQOlyAP/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.8Y6aQOlyAP) ' '!=' x ']' +++ PS1='(tmp.8Y6aQOlyAP) ' +++ 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.7 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.2.1 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 paramiko==3.4.0 pkg_resources==0.0.0 ply==3.11 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.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.8Y6aQOlyAP/src/onap ++ rm -rf /tmp/tmp.8Y6aQOlyAP/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.7 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.2.1 MarkupSafe==2.0.1 more-itertools==5.0.0 netaddr==0.8.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.0.2 paramiko==3.4.0 pbr==6.0.0 pkg_resources==0.0.0 ply==3.11 protobuf==3.19.6 pyang==2.6.0 pyangbind==0.8.1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.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.8Y6aQOlyAP/bin/activate + '[' -z /tmp/tmp.8Y6aQOlyAP/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/tmp.8Y6aQOlyAP/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.8Y6aQOlyAP ++ 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.8Y6aQOlyAP/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.8Y6aQOlyAP) ' ++ '[' 'x(tmp.8Y6aQOlyAP) ' '!=' x ']' ++ PS1='(tmp.8Y6aQOlyAP) (tmp.8Y6aQOlyAP) ' ++ 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.VAjE3muVHJ + cd /tmp/tmp.VAjE3muVHJ + 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:4f6c47e39a9064028766e8c95890ed15690c30f00c4ba14e7ce6ae1ded0295b1 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:7d5faae481a4c6f436c99e98af11534f7fd5e8d3e35213552dd1dd02bc393d2e Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest Creating mariadb ... Creating prometheus ... Creating prometheus ... done Creating grafana ... Creating grafana ... done Creating mariadb ... done Creating policy-db-migrator ... Creating policy-db-migrator ... done Creating policy-api ... Creating policy-api ... done +++ echo 'Prometheus server: http://localhost:30259' Prometheus server: http://localhost:30259 +++ echo 'Grafana server: http://localhost:30269' Grafana server: http://localhost:30269 +++ cd /w/workspace/policy-api-montreal-project-csit-api ++ sleep 10 ++ unset http_proxy https_proxy ++ bash /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 Waiting for REST to come up on localhost port 30002... NAMES STATUS policy-api Up 10 seconds policy-db-migrator Up 11 seconds grafana Up 13 seconds prometheus Up 14 seconds mariadb Up 11 seconds NAMES STATUS policy-api Up 15 seconds grafana Up 18 seconds prometheus Up 19 seconds mariadb Up 17 seconds NAMES STATUS policy-api Up 20 seconds grafana Up 23 seconds prometheus Up 24 seconds mariadb Up 22 seconds NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds prometheus Up 29 seconds mariadb Up 27 seconds ++ export 'SUITES=api-test.robot api-slas.robot' ++ SUITES='api-test.robot api-slas.robot' ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 -v DATA:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies -v NODETEMPLATES:/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates' + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o braceexpand + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o hashall + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt ++ uname -s + '[' Linux == Darwin ']' + sh -c 'top -bn1 | head -3' top - 18:14:50 up 3 min, 0 users, load average: 2.22, 0.93, 0.36 Tasks: 180 total, 1 running, 102 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.7 us, 2.2 sy, 0.0 ni, 83.7 id, 3.3 wa, 0.0 hi, 0.0 si, 0.1 st + echo + sh -c 'free -h' total used free shared buff/cache available Mem: 31G 1.4G 26G 1.0M 3.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up 25 seconds grafana Up 28 seconds prometheus Up 29 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 12157fa9438e policy-api 0.10% 429.2MiB / 31.41GiB 1.33% 998kB / 710kB 0B / 0B 55 5b49d1656eaa grafana 0.04% 62.18MiB / 31.41GiB 0.19% 18.9kB / 3.25kB 0B / 24.6MB 17 278c57e25a63 prometheus 0.00% 18.03MiB / 31.41GiB 0.06% 1.52kB / 158B 229kB / 0B 13 c3026d5d5128 mariadb 0.01% 100.8MiB / 31.41GiB 0.31% 985kB / 1.18MB 10.8MB / 67.8MB 27 + echo + cd /tmp/tmp.VAjE3muVHJ + echo 'Reading the testplan:' Reading the testplan: + echo 'api-test.robot api-slas.robot' + sed 's|^|/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/|' + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' + 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.VAjE3muVHJ/output.xml Log: /tmp/tmp.VAjE3muVHJ/log.html Report: /tmp/tmp.VAjE3muVHJ/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:01 up 4 min, 0 users, load average: 0.90, 0.83, 0.37 Tasks: 178 total, 1 running, 100 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.1 us, 1.7 sy, 0.0 ni, 86.4 id, 2.7 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.6G 25G 1.0M 3.9G 29G Swap: 1.0G 0B 1.0G + echo + docker ps --format 'table {{ .Names }}\t{{ .Status }}' NAMES STATUS policy-api Up About a minute grafana Up About a minute 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 12157fa9438e policy-api 0.21% 696.1MiB / 31.41GiB 2.16% 7MB / 2.55MB 0B / 0B 54 5b49d1656eaa grafana 0.04% 63.06MiB / 31.41GiB 0.20% 19.8kB / 4.43kB 0B / 24.6MB 17 278c57e25a63 prometheus 0.00% 24.3MiB / 31.41GiB 0.08% 55.5kB / 6.58kB 229kB / 0B 13 c3026d5d5128 mariadb 0.01% 101.9MiB / 31.41GiB 0.32% 2.39MB / 7.04MB 10.8MB / 68.1MB 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-04-28T18:14:22.398632039Z level=info msg="Starting Grafana" version=10.4.2 commit=701c851be7a930e04fbc6ebb1cd4254da80edd4c branch=v10.4.x compiled=2024-04-28T18:14:22Z grafana | logger=settings t=2024-04-28T18:14:22.39883352Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini grafana | logger=settings t=2024-04-28T18:14:22.39883992Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini grafana | logger=settings t=2024-04-28T18:14:22.39884355Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" grafana | logger=settings t=2024-04-28T18:14:22.3988474Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" grafana | logger=settings t=2024-04-28T18:14:22.39885076Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" grafana | logger=settings t=2024-04-28T18:14:22.398854281Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" grafana | logger=settings t=2024-04-28T18:14:22.398857711Z level=info msg="Config overridden from command line" arg="default.log.mode=console" grafana | logger=settings t=2024-04-28T18:14:22.398861431Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" grafana | logger=settings t=2024-04-28T18:14:22.398864851Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" grafana | logger=settings t=2024-04-28T18:14:22.398868211Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" grafana | logger=settings t=2024-04-28T18:14:22.398871631Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" grafana | logger=settings t=2024-04-28T18:14:22.398876121Z level=info msg=Target target=[all] grafana | logger=settings t=2024-04-28T18:14:22.398881591Z level=info msg="Path Home" path=/usr/share/grafana grafana | logger=settings t=2024-04-28T18:14:22.398885991Z level=info msg="Path Data" path=/var/lib/grafana grafana | logger=settings t=2024-04-28T18:14:22.398890171Z level=info msg="Path Logs" path=/var/log/grafana grafana | logger=settings t=2024-04-28T18:14:22.398893891Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins grafana | logger=settings t=2024-04-28T18:14:22.398897241Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning grafana | logger=settings t=2024-04-28T18:14:22.398900481Z level=info msg="App mode production" grafana | logger=sqlstore t=2024-04-28T18:14:22.399187853Z level=info msg="Connecting to DB" dbtype=sqlite3 grafana | logger=sqlstore t=2024-04-28T18:14:22.399207313Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db grafana | logger=migrator t=2024-04-28T18:14:22.399797216Z level=info msg="Starting DB migrations" grafana | logger=migrator t=2024-04-28T18:14:22.400668992Z level=info msg="Executing migration" id="create migration_log table" grafana | logger=migrator t=2024-04-28T18:14:22.401453636Z level=info msg="Migration successfully executed" id="create migration_log table" duration=784.464µs grafana | logger=migrator t=2024-04-28T18:14:22.405795383Z level=info msg="Executing migration" id="create user table" grafana | logger=migrator t=2024-04-28T18:14:22.406341506Z level=info msg="Migration successfully executed" id="create user table" duration=546.133µs grafana | logger=migrator t=2024-04-28T18:14:22.411419057Z level=info msg="Executing migration" id="add unique index user.login" grafana | logger=migrator t=2024-04-28T18:14:22.41194284Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=523.633µs grafana | logger=migrator t=2024-04-28T18:14:22.417512154Z level=info msg="Executing migration" id="add unique index user.email" grafana | logger=migrator t=2024-04-28T18:14:22.418034917Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=522.733µs grafana | logger=migrator t=2024-04-28T18:14:22.422327183Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" grafana | logger=migrator t=2024-04-28T18:14:22.422798346Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=471.013µs grafana | logger=migrator t=2024-04-28T18:14:22.429250935Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" grafana | logger=migrator t=2024-04-28T18:14:22.429700978Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=447.263µs grafana | logger=migrator t=2024-04-28T18:14:22.433073689Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" grafana | logger=migrator t=2024-04-28T18:14:22.434721189Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=1.64709ms grafana | logger=migrator t=2024-04-28T18:14:22.438419991Z level=info msg="Executing migration" id="create user table v2" grafana | logger=migrator t=2024-04-28T18:14:22.439013385Z level=info msg="Migration successfully executed" id="create user table v2" duration=593.284µs grafana | logger=migrator t=2024-04-28T18:14:22.442578476Z level=info msg="Executing migration" id="create index UQE_user_login - v2" grafana | logger=migrator t=2024-04-28T18:14:22.443061019Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=481.953µs grafana | logger=migrator t=2024-04-28T18:14:22.449051836Z level=info msg="Executing migration" id="create index UQE_user_email - v2" grafana | logger=migrator t=2024-04-28T18:14:22.450096802Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.044296ms grafana | logger=migrator t=2024-04-28T18:14:22.454286598Z level=info msg="Executing migration" id="copy data_source v1 to v2" grafana | logger=migrator t=2024-04-28T18:14:22.454902811Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=616.053µs grafana | logger=migrator t=2024-04-28T18:14:22.459440569Z level=info msg="Executing migration" id="Drop old table user_v1" grafana | logger=migrator t=2024-04-28T18:14:22.460170483Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=729.524µs grafana | logger=migrator t=2024-04-28T18:14:22.464959742Z level=info msg="Executing migration" id="Add column help_flags1 to user table" grafana | logger=migrator t=2024-04-28T18:14:22.465989889Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.033177ms grafana | logger=migrator t=2024-04-28T18:14:22.469705961Z level=info msg="Executing migration" id="Update user table charset" grafana | logger=migrator t=2024-04-28T18:14:22.469744852Z level=info msg="Migration successfully executed" id="Update user table charset" duration=40.23µs grafana | logger=migrator t=2024-04-28T18:14:22.474268319Z level=info msg="Executing migration" id="Add last_seen_at column to user" grafana | logger=migrator t=2024-04-28T18:14:22.475947339Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.67856ms grafana | logger=migrator t=2024-04-28T18:14:22.479673532Z level=info msg="Executing migration" id="Add missing user data" grafana | logger=migrator t=2024-04-28T18:14:22.479879803Z level=info msg="Migration successfully executed" id="Add missing user data" duration=206.251µs grafana | logger=migrator t=2024-04-28T18:14:22.486465893Z level=info msg="Executing migration" id="Add is_disabled column to user" grafana | logger=migrator t=2024-04-28T18:14:22.488136303Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.6662ms grafana | logger=migrator t=2024-04-28T18:14:22.492925692Z level=info msg="Executing migration" id="Add index user.login/user.email" grafana | logger=migrator t=2024-04-28T18:14:22.493994579Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=1.068077ms grafana | logger=migrator t=2024-04-28T18:14:22.499238861Z level=info msg="Executing migration" id="Add is_service_account column to user" grafana | logger=migrator t=2024-04-28T18:14:22.500340748Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.101447ms grafana | logger=migrator t=2024-04-28T18:14:22.505391068Z level=info msg="Executing migration" id="Update is_service_account column to nullable" grafana | logger=migrator t=2024-04-28T18:14:22.516070463Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=10.678195ms grafana | logger=migrator t=2024-04-28T18:14:22.520570951Z level=info msg="Executing migration" id="Add uid column to user" grafana | logger=migrator t=2024-04-28T18:14:22.521656687Z level=info msg="Migration successfully executed" id="Add uid column to user" duration=1.087717ms grafana | logger=migrator t=2024-04-28T18:14:22.525273419Z level=info msg="Executing migration" id="Update uid column values for users" grafana | logger=migrator t=2024-04-28T18:14:22.52545263Z level=info msg="Migration successfully executed" id="Update uid column values for users" duration=178.991µs grafana | logger=migrator t=2024-04-28T18:14:22.529493405Z level=info msg="Executing migration" id="Add unique index user_uid" grafana | logger=migrator t=2024-04-28T18:14:22.530159479Z level=info msg="Migration successfully executed" id="Add unique index user_uid" duration=665.584µs grafana | logger=migrator t=2024-04-28T18:14:22.535026678Z level=info msg="Executing migration" id="update login field with orgid to allow for multiple service accounts with same name across orgs" grafana | logger=migrator t=2024-04-28T18:14:22.535478941Z level=info msg="Migration successfully executed" id="update login field with orgid to allow for multiple service accounts with same name across orgs" duration=452.123µs grafana | logger=migrator t=2024-04-28T18:14:22.539466075Z level=info msg="Executing migration" id="create temp user table v1-7" grafana | logger=migrator t=2024-04-28T18:14:22.540698803Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=1.232148ms grafana | logger=migrator t=2024-04-28T18:14:22.545797774Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" grafana | logger=migrator t=2024-04-28T18:14:22.546901681Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=1.108327ms grafana | logger=migrator t=2024-04-28T18:14:22.551930571Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" grafana | logger=migrator t=2024-04-28T18:14:22.552610215Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=679.324µs grafana | logger=migrator t=2024-04-28T18:14:22.556566499Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" grafana | logger=migrator t=2024-04-28T18:14:22.557336244Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=768.415µs grafana | logger=migrator t=2024-04-28T18:14:22.562903198Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" grafana | logger=migrator t=2024-04-28T18:14:22.563963574Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.059916ms grafana | logger=migrator t=2024-04-28T18:14:22.56824233Z level=info msg="Executing migration" id="Update temp_user table charset" grafana | logger=migrator t=2024-04-28T18:14:22.568273741Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=32.001µs grafana | logger=migrator t=2024-04-28T18:14:22.572853768Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" grafana | logger=migrator t=2024-04-28T18:14:22.573762454Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=907.516µs grafana | logger=migrator t=2024-04-28T18:14:22.578790684Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" grafana | logger=migrator t=2024-04-28T18:14:22.579798271Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.007697ms grafana | logger=migrator t=2024-04-28T18:14:22.583732395Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" grafana | logger=migrator t=2024-04-28T18:14:22.584338958Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=606.504µs grafana | logger=migrator t=2024-04-28T18:14:22.589084797Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" grafana | logger=migrator t=2024-04-28T18:14:22.589691191Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=606.554µs grafana | logger=migrator t=2024-04-28T18:14:22.592974071Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" grafana | logger=migrator t=2024-04-28T18:14:22.597697009Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=4.727658ms grafana | logger=migrator t=2024-04-28T18:14:22.602126976Z level=info msg="Executing migration" id="create temp_user v2" grafana | logger=migrator t=2024-04-28T18:14:22.602950281Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=822.425µs grafana | logger=migrator t=2024-04-28T18:14:22.609610262Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" grafana | logger=migrator t=2024-04-28T18:14:22.610731919Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=1.121177ms grafana | logger=migrator t=2024-04-28T18:14:22.614534352Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" grafana | logger=migrator t=2024-04-28T18:14:22.615633858Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=1.101316ms grafana | logger=migrator t=2024-04-28T18:14:22.621078682Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" grafana | logger=migrator t=2024-04-28T18:14:22.621767406Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=689.694µs grafana | logger=migrator t=2024-04-28T18:14:22.629566423Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" grafana | logger=migrator t=2024-04-28T18:14:22.63070175Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=1.134747ms grafana | logger=migrator t=2024-04-28T18:14:22.636122393Z level=info msg="Executing migration" id="copy temp_user v1 to v2" grafana | logger=migrator t=2024-04-28T18:14:22.636710927Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=588.534µs grafana | logger=migrator t=2024-04-28T18:14:22.640748211Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" grafana | logger=migrator t=2024-04-28T18:14:22.641491356Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=747.545µs grafana | logger=migrator t=2024-04-28T18:14:22.64721191Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" grafana | logger=migrator t=2024-04-28T18:14:22.647732934Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=521.374µs grafana | logger=migrator t=2024-04-28T18:14:22.651949119Z level=info msg="Executing migration" id="create star table" grafana | logger=migrator t=2024-04-28T18:14:22.652567923Z level=info msg="Migration successfully executed" id="create star table" duration=618.884µs grafana | logger=migrator t=2024-04-28T18:14:22.656299126Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" grafana | logger=migrator t=2024-04-28T18:14:22.65701524Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=717.734µs grafana | logger=migrator t=2024-04-28T18:14:22.660824293Z level=info msg="Executing migration" id="create org table v1" grafana | logger=migrator t=2024-04-28T18:14:22.661976Z level=info msg="Migration successfully executed" id="create org table v1" duration=1.151257ms grafana | logger=migrator t=2024-04-28T18:14:22.66683026Z level=info msg="Executing migration" id="create index UQE_org_name - v1" grafana | logger=migrator t=2024-04-28T18:14:22.667911656Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=1.081096ms grafana | logger=migrator t=2024-04-28T18:14:22.671536868Z level=info msg="Executing migration" id="create org_user table v1" grafana | logger=migrator t=2024-04-28T18:14:22.672640415Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=1.099797ms grafana | logger=migrator t=2024-04-28T18:14:22.676643339Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" grafana | logger=migrator t=2024-04-28T18:14:22.677336764Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=692.985µs grafana | logger=migrator t=2024-04-28T18:14:22.681179437Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" grafana | logger=migrator t=2024-04-28T18:14:22.681899621Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=719.694µs grafana | logger=migrator t=2024-04-28T18:14:22.687903048Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" grafana | logger=migrator t=2024-04-28T18:14:22.689057985Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=1.154547ms grafana | logger=migrator t=2024-04-28T18:14:22.747173568Z level=info msg="Executing migration" id="Update org table charset" grafana | logger=migrator t=2024-04-28T18:14:22.747210758Z level=info msg="Migration successfully executed" id="Update org table charset" duration=40.97µs grafana | logger=migrator t=2024-04-28T18:14:22.753506247Z level=info msg="Executing migration" id="Update org_user table charset" grafana | logger=migrator t=2024-04-28T18:14:22.753545147Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=40.04µs grafana | logger=migrator t=2024-04-28T18:14:22.758385426Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" grafana | logger=migrator t=2024-04-28T18:14:22.758691338Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=306.192µs grafana | logger=migrator t=2024-04-28T18:14:22.763470597Z level=info msg="Executing migration" id="create dashboard table" grafana | logger=migrator t=2024-04-28T18:14:22.764624254Z level=info msg="Migration successfully executed" id="create dashboard table" duration=1.153247ms grafana | logger=migrator t=2024-04-28T18:14:22.769643205Z level=info msg="Executing migration" id="add index dashboard.account_id" grafana | logger=migrator t=2024-04-28T18:14:22.770390199Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=746.504µs grafana | logger=migrator t=2024-04-28T18:14:22.774031031Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" grafana | logger=migrator t=2024-04-28T18:14:22.774819636Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=787.915µs grafana | logger=migrator t=2024-04-28T18:14:22.780027228Z level=info msg="Executing migration" id="create dashboard_tag table" grafana | logger=migrator t=2024-04-28T18:14:22.781069534Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=1.045086ms grafana | logger=migrator t=2024-04-28T18:14:22.785894164Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" grafana | logger=migrator t=2024-04-28T18:14:22.787117051Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.218747ms grafana | logger=migrator t=2024-04-28T18:14:22.793730991Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" grafana | logger=migrator t=2024-04-28T18:14:22.794796678Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.065457ms grafana | logger=migrator t=2024-04-28T18:14:22.801643899Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" grafana | logger=migrator t=2024-04-28T18:14:22.809564697Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=7.920108ms grafana | logger=migrator t=2024-04-28T18:14:22.814009275Z level=info msg="Executing migration" id="create dashboard v2" grafana | logger=migrator t=2024-04-28T18:14:22.814527078Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=517.783µs grafana | logger=migrator t=2024-04-28T18:14:22.818085309Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" grafana | logger=migrator t=2024-04-28T18:14:22.818608662Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=523.173µs grafana | logger=migrator t=2024-04-28T18:14:22.823013699Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" grafana | logger=migrator t=2024-04-28T18:14:22.824244447Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=1.230288ms grafana | logger=migrator t=2024-04-28T18:14:22.831912223Z level=info msg="Executing migration" id="copy dashboard v1 to v2" grafana | logger=migrator t=2024-04-28T18:14:22.832401296Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=488.973µs grafana | logger=migrator t=2024-04-28T18:14:22.836124839Z level=info msg="Executing migration" id="drop table dashboard_v1" grafana | logger=migrator t=2024-04-28T18:14:22.837347996Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.222747ms grafana | logger=migrator t=2024-04-28T18:14:22.8428438Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" grafana | logger=migrator t=2024-04-28T18:14:22.8429427Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=99.56µs grafana | logger=migrator t=2024-04-28T18:14:22.84774538Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" grafana | logger=migrator t=2024-04-28T18:14:22.849517Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=1.77135ms grafana | logger=migrator t=2024-04-28T18:14:22.853891637Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" policy-api | Waiting for mariadb port 3306... policy-api | mariadb (172.17.0.2:3306) open policy-api | Waiting for policy-db-migrator port 6824... policy-api | policy-db-migrator (172.17.0.5:6824) open policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml policy-api | policy-api | . ____ _ __ _ _ policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / policy-api | =========|_|==============|___/=/_/_/_/ policy-api | :: Spring Boot :: (v3.1.4) policy-api | policy-api | [2024-04-28T18:14:37.778+00:00|INFO|PolicyApiApplication|main] Starting PolicyApiApplication using Java 17.0.9 with PID 22 (/app/api.jar started by policy in /opt/app/policy/api/bin) policy-api | [2024-04-28T18:14:37.780+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" policy-api | [2024-04-28T18:14:39.484+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. policy-api | [2024-04-28T18:14:39.569+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 75 ms. Found 6 JPA repository interfaces. policy-api | [2024-04-28T18:14:39.973+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler policy-api | [2024-04-28T18:14:39.974+00:00|WARN|LocalVariableTableParameterNameDiscoverer|main] Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.api.main.exception.ServiceExceptionHandler policy-api | [2024-04-28T18:14:40.577+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) policy-api | [2024-04-28T18:14:40.586+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] policy-api | [2024-04-28T18:14:40.587+00:00|INFO|StandardService|main] Starting service [Tomcat] policy-api | [2024-04-28T18:14:40.588+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] policy-api | [2024-04-28T18:14:40.668+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext policy-api | [2024-04-28T18:14:40.668+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2821 ms policy-api | [2024-04-28T18:14:41.065+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] policy-api | [2024-04-28T18:14:41.128+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 policy-api | [2024-04-28T18:14:41.130+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer policy-api | [2024-04-28T18:14:41.177+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled policy-api | [2024-04-28T18:14:41.506+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer policy-api | [2024-04-28T18:14:41.527+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... policy-api | [2024-04-28T18:14:41.632+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@2620e717 policy-api | [2024-04-28T18:14:41.634+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. policy-api | [2024-04-28T18:14:41.666+00:00|WARN|deprecation|main] HHH90000025: MariaDB103Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) policy-api | [2024-04-28T18:14:41.668+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead policy-api | [2024-04-28T18:14:43.411+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) policy-api | [2024-04-28T18:14:43.414+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' policy-api | [2024-04-28T18:14:44.615+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml policy-api | [2024-04-28T18:14:45.376+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] policy-api | [2024-04-28T18:14:46.333+00:00|WARN|JpaBaseConfiguration$JpaWebConfiguration|main] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning policy-api | [2024-04-28T18:14:46.521+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@1692d173, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@32c503d3, org.springframework.security.web.context.SecurityContextHolderFilter@45fa7f1a, org.springframework.security.web.header.HeaderWriterFilter@3770dd80, org.springframework.security.web.authentication.logout.LogoutFilter@69765d94, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@285bee4e, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@44264fb6, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@1f9a472e, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@5626cb89, org.springframework.security.web.access.ExceptionTranslationFilter@453ef145, org.springframework.security.web.access.intercept.AuthorizationFilter@c0d114b] policy-api | [2024-04-28T18:14:47.352+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' policy-api | [2024-04-28T18:14:47.409+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] policy-api | [2024-04-28T18:14:47.428+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' policy-api | [2024-04-28T18:14:47.444+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.4 seconds (process running for 10.998) policy-api | [2024-04-28T18:14:53.834+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-2] Initializing Spring DispatcherServlet 'dispatcherServlet' policy-api | [2024-04-28T18:14:53.834+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Initializing Servlet 'dispatcherServlet' policy-api | [2024-04-28T18:14:53.835+00:00|INFO|DispatcherServlet|http-nio-6969-exec-2] Completed initialization in 1 ms policy-api | [2024-04-28T18:14:56.464+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: policy-api | [] policy-api | [2024-04-28T18:14:56.580+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes policy-api | [2024-04-28T18:14:56.812+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes policy-api | [2024-04-28T18:14:57.922+00:00|WARN|CommonRestController|http-nio-6969-exec-9] POST /policies policy-api | [2024-04-28T18:14:59.834+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 policy-api | [2024-04-28T18:15:00.156+00:00|WARN|CommonRestController|http-nio-6969-exec-10] DELETE /policies/onap.restart.tca/versions/1.0.0 policy-api | [2024-04-28T18:15:00.398+00:00|WARN|CommonRestController|http-nio-6969-exec-2] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 policy-api | [2024-04-28T18:15:00.626+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 policy-api | [2024-04-28T18:15:00.855+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 policy-api | [2024-04-28T18:15:01.085+00:00|WARN|CommonRestController|http-nio-6969-exec-8] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 grafana | logger=migrator t=2024-04-28T18:14:22.856792955Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=2.899918ms grafana | logger=migrator t=2024-04-28T18:14:22.861961266Z level=info msg="Executing migration" id="Add column gnetId in dashboard" grafana | logger=migrator t=2024-04-28T18:14:22.863762047Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=1.796521ms grafana | logger=migrator t=2024-04-28T18:14:22.868260944Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" grafana | logger=migrator t=2024-04-28T18:14:22.869029009Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=767.825µs grafana | logger=migrator t=2024-04-28T18:14:22.873842218Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" grafana | logger=migrator t=2024-04-28T18:14:22.875619069Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=1.776401ms grafana | logger=migrator t=2024-04-28T18:14:22.879145011Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" grafana | logger=migrator t=2024-04-28T18:14:22.879883795Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=738.374µs grafana | logger=migrator t=2024-04-28T18:14:22.886545196Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" grafana | logger=migrator t=2024-04-28T18:14:22.887748743Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=1.195318ms grafana | logger=migrator t=2024-04-28T18:14:22.890986613Z level=info msg="Executing migration" id="Update dashboard table charset" grafana | logger=migrator t=2024-04-28T18:14:22.891010573Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=24.611µs grafana | logger=migrator t=2024-04-28T18:14:22.894131992Z level=info msg="Executing migration" id="Update dashboard_tag table charset" grafana | logger=migrator t=2024-04-28T18:14:22.894161262Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=30.06µs grafana | logger=migrator t=2024-04-28T18:14:22.900026007Z level=info msg="Executing migration" id="Add column folder_id in dashboard" grafana | logger=migrator t=2024-04-28T18:14:22.903024386Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.006319ms grafana | logger=migrator t=2024-04-28T18:14:22.906832919Z level=info msg="Executing migration" id="Add column isFolder in dashboard" grafana | logger=migrator t=2024-04-28T18:14:22.9087033Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=1.869891ms grafana | logger=migrator t=2024-04-28T18:14:22.911756999Z level=info msg="Executing migration" id="Add column has_acl in dashboard" grafana | logger=migrator t=2024-04-28T18:14:22.9136468Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=1.889311ms grafana | logger=migrator t=2024-04-28T18:14:22.917659765Z level=info msg="Executing migration" id="Add column uid in dashboard" grafana | logger=migrator t=2024-04-28T18:14:22.919554506Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=1.894601ms grafana | logger=migrator t=2024-04-28T18:14:22.924741338Z level=info msg="Executing migration" id="Update uid column values in dashboard" grafana | logger=migrator t=2024-04-28T18:14:22.92505798Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=316.572µs grafana | logger=migrator t=2024-04-28T18:14:22.929104074Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" grafana | logger=migrator t=2024-04-28T18:14:22.930250651Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=1.141567ms grafana | logger=migrator t=2024-04-28T18:14:22.934781839Z level=info msg="Executing migration" id="Remove unique index org_id_slug" grafana | logger=migrator t=2024-04-28T18:14:22.935474563Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=689.154µs grafana | logger=migrator t=2024-04-28T18:14:22.940340953Z level=info msg="Executing migration" id="Update dashboard title length" grafana | logger=migrator t=2024-04-28T18:14:22.940366783Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=26.71µs grafana | logger=migrator t=2024-04-28T18:14:22.943331471Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" grafana | logger=migrator t=2024-04-28T18:14:22.944536308Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.204467ms grafana | logger=migrator t=2024-04-28T18:14:22.948617743Z level=info msg="Executing migration" id="create dashboard_provisioning" grafana | logger=migrator t=2024-04-28T18:14:22.949696649Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.078456ms grafana | logger=migrator t=2024-04-28T18:14:22.955950517Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" grafana | logger=migrator t=2024-04-28T18:14:22.964161517Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=8.21043ms grafana | logger=migrator t=2024-04-28T18:14:22.967752119Z level=info msg="Executing migration" id="create dashboard_provisioning v2" grafana | logger=migrator t=2024-04-28T18:14:22.968250692Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=498.213µs grafana | logger=migrator t=2024-04-28T18:14:22.973566655Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" grafana | logger=migrator t=2024-04-28T18:14:22.974227349Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=658.134µs grafana | logger=migrator t=2024-04-28T18:14:22.979117998Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" grafana | logger=migrator t=2024-04-28T18:14:22.980298125Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=1.181897ms grafana | logger=migrator t=2024-04-28T18:14:22.984995034Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" grafana | logger=migrator t=2024-04-28T18:14:22.985280356Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=285.182µs grafana | logger=migrator t=2024-04-28T18:14:22.989045159Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" grafana | logger=migrator t=2024-04-28T18:14:22.989543082Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=494.103µs grafana | logger=migrator t=2024-04-28T18:14:22.994432421Z level=info msg="Executing migration" id="Add check_sum column" grafana | logger=migrator t=2024-04-28T18:14:22.997672281Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=3.2364ms grafana | logger=migrator t=2024-04-28T18:14:23.002182919Z level=info msg="Executing migration" id="Add index for dashboard_title" grafana | logger=migrator t=2024-04-28T18:14:23.002954423Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=771.174µs grafana | logger=migrator t=2024-04-28T18:14:23.007948444Z level=info msg="Executing migration" id="delete tags for deleted dashboards" grafana | logger=migrator t=2024-04-28T18:14:23.008111455Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=162.931µs grafana | logger=migrator t=2024-04-28T18:14:23.011897108Z level=info msg="Executing migration" id="delete stars for deleted dashboards" grafana | logger=migrator t=2024-04-28T18:14:23.012164769Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=267.551µs grafana | logger=migrator t=2024-04-28T18:14:23.017874904Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" grafana | logger=migrator t=2024-04-28T18:14:23.019104601Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.223867ms grafana | logger=migrator t=2024-04-28T18:14:23.023194516Z level=info msg="Executing migration" id="Add isPublic for dashboard" grafana | logger=migrator t=2024-04-28T18:14:23.026090224Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=2.895068ms grafana | logger=migrator t=2024-04-28T18:14:23.029995378Z level=info msg="Executing migration" id="create data_source table" grafana | logger=migrator t=2024-04-28T18:14:23.030895813Z level=info msg="Migration successfully executed" id="create data_source table" duration=900.245µs grafana | logger=migrator t=2024-04-28T18:14:23.035660272Z level=info msg="Executing migration" id="add index data_source.account_id" grafana | logger=migrator t=2024-04-28T18:14:23.036471577Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=810.945µs grafana | logger=migrator t=2024-04-28T18:14:23.040064848Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" grafana | logger=migrator t=2024-04-28T18:14:23.041312706Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.247248ms grafana | logger=migrator t=2024-04-28T18:14:23.044675066Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" grafana | logger=migrator t=2024-04-28T18:14:23.045479861Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=805.505µs grafana | logger=migrator t=2024-04-28T18:14:23.050601301Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" grafana | logger=migrator t=2024-04-28T18:14:23.051282576Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=681.175µs grafana | logger=migrator t=2024-04-28T18:14:23.055436481Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" grafana | logger=migrator t=2024-04-28T18:14:23.064834107Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=9.397136ms grafana | logger=migrator t=2024-04-28T18:14:23.069976318Z level=info msg="Executing migration" id="create data_source table v2" grafana | logger=migrator t=2024-04-28T18:14:23.070648462Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=670.264µs grafana | logger=migrator t=2024-04-28T18:14:23.074371484Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" grafana | logger=migrator t=2024-04-28T18:14:23.075633092Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.261328ms grafana | logger=migrator t=2024-04-28T18:14:23.079292734Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" grafana | logger=migrator t=2024-04-28T18:14:23.080577771Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.286738ms grafana | logger=migrator t=2024-04-28T18:14:23.085572131Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" grafana | logger=migrator t=2024-04-28T18:14:23.086074274Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=502.013µs grafana | logger=migrator t=2024-04-28T18:14:23.091101854Z level=info msg="Executing migration" id="Add column with_credentials" grafana | logger=migrator t=2024-04-28T18:14:23.094796817Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.694373ms grafana | logger=migrator t=2024-04-28T18:14:23.099954088Z level=info msg="Executing migration" id="Add secure json data column" grafana | logger=migrator t=2024-04-28T18:14:23.104777677Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=4.823069ms grafana | logger=migrator t=2024-04-28T18:14:23.109681566Z level=info msg="Executing migration" id="Update data_source table charset" grafana | logger=migrator t=2024-04-28T18:14:23.109714726Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=33.9µs grafana | logger=migrator t=2024-04-28T18:14:23.114663616Z level=info msg="Executing migration" id="Update initial version to 1" grafana | logger=migrator t=2024-04-28T18:14:23.114997098Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=333.902µs grafana | logger=migrator t=2024-04-28T18:14:23.11859952Z level=info msg="Executing migration" id="Add read_only data column" grafana | logger=migrator t=2024-04-28T18:14:23.122278342Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.672191ms grafana | logger=migrator t=2024-04-28T18:14:23.126928019Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" grafana | logger=migrator t=2024-04-28T18:14:23.12712032Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=196.231µs grafana | logger=migrator t=2024-04-28T18:14:23.133163217Z level=info msg="Executing migration" id="Update json_data with nulls" grafana | logger=migrator t=2024-04-28T18:14:23.133314398Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=151.381µs grafana | logger=migrator t=2024-04-28T18:14:23.136703498Z level=info msg="Executing migration" id="Add uid column" grafana | logger=migrator t=2024-04-28T18:14:23.140551461Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.843583ms grafana | logger=migrator t=2024-04-28T18:14:23.176910379Z level=info msg="Executing migration" id="Update uid value" grafana | logger=migrator t=2024-04-28T18:14:23.177228781Z level=info msg="Migration successfully executed" id="Update uid value" duration=316.192µs grafana | logger=migrator t=2024-04-28T18:14:23.184714766Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" grafana | logger=migrator t=2024-04-28T18:14:23.185923213Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.208097ms grafana | logger=migrator t=2024-04-28T18:14:23.189914957Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" grafana | logger=migrator t=2024-04-28T18:14:23.191111154Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=1.195917ms grafana | logger=migrator t=2024-04-28T18:14:23.195230289Z level=info msg="Executing migration" id="create api_key table" grafana | logger=migrator t=2024-04-28T18:14:23.196475016Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.244527ms grafana | logger=migrator t=2024-04-28T18:14:23.204087532Z level=info msg="Executing migration" id="add index api_key.account_id" grafana | logger=migrator t=2024-04-28T18:14:23.204902517Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=814.905µs policy-db-migrator | Waiting for mariadb port 3306... policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | nc: connect to mariadb (172.17.0.2) port 3306 (tcp) failed: Connection refused policy-db-migrator | Connection to mariadb (172.17.0.2) 3306 port [tcp/mysql] succeeded! policy-db-migrator | 321 blocks policy-db-migrator | Preparing upgrade release version: 0800 policy-db-migrator | Preparing upgrade release version: 0900 policy-db-migrator | Preparing upgrade release version: 1000 policy-db-migrator | Preparing upgrade release version: 1100 policy-db-migrator | Preparing upgrade release version: 1200 policy-db-migrator | Preparing upgrade release version: 1300 policy-db-migrator | Done policy-db-migrator | name version policy-db-migrator | policyadmin 0 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 policy-db-migrator | upgrade: 0 -> 1300 policy-db-migrator | policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL, ENGINEID VARCHAR(255) DEFAULT NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL, ENGINEWORKERSTATE INT DEFAULT NULL, EVENTCOUNT BIGINT DEFAULT NULL, LASTENTERTIME BIGINT DEFAULT NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL, LASTSTART BIGINT DEFAULT NULL, UPTIME BIGINT DEFAULT NULL, timeStamp datetime DEFAULT NULL, name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL, PROPERTIES VARCHAR(255) DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) DEFAULT NULL) grafana | logger=migrator t=2024-04-28T18:14:23.208108206Z level=info msg="Executing migration" id="add index api_key.key" grafana | logger=migrator t=2024-04-28T18:14:23.209295693Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.191947ms grafana | logger=migrator t=2024-04-28T18:14:23.212739974Z level=info msg="Executing migration" id="add index api_key.account_id_name" grafana | logger=migrator t=2024-04-28T18:14:23.213656489Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=920.795µs grafana | logger=migrator t=2024-04-28T18:14:23.22052024Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" grafana | logger=migrator t=2024-04-28T18:14:23.221265235Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=763.455µs grafana | logger=migrator t=2024-04-28T18:14:23.226594687Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" grafana | logger=migrator t=2024-04-28T18:14:23.228202437Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.59262ms grafana | logger=migrator t=2024-04-28T18:14:23.232212761Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" grafana | logger=migrator t=2024-04-28T18:14:23.232977005Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=764.974µs grafana | logger=migrator t=2024-04-28T18:14:23.241849949Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" grafana | logger=migrator t=2024-04-28T18:14:23.252792804Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=10.942575ms grafana | logger=migrator t=2024-04-28T18:14:23.256808048Z level=info msg="Executing migration" id="create api_key table v2" grafana | logger=migrator t=2024-04-28T18:14:23.257425482Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=617.434µs grafana | logger=migrator t=2024-04-28T18:14:23.260157248Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" grafana | logger=migrator t=2024-04-28T18:14:23.260726562Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=568.884µs grafana | logger=migrator t=2024-04-28T18:14:23.266422976Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" grafana | logger=migrator t=2024-04-28T18:14:23.267639353Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.216357ms grafana | logger=migrator t=2024-04-28T18:14:23.274305763Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" grafana | logger=migrator t=2024-04-28T18:14:23.27552726Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=1.220907ms grafana | logger=migrator t=2024-04-28T18:14:23.278921441Z level=info msg="Executing migration" id="copy api_key v1 to v2" grafana | logger=migrator t=2024-04-28T18:14:23.279461514Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=540.063µs grafana | logger=migrator t=2024-04-28T18:14:23.285149348Z level=info msg="Executing migration" id="Drop old table api_key_v1" grafana | logger=migrator t=2024-04-28T18:14:23.285989653Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=836.405µs grafana | logger=migrator t=2024-04-28T18:14:23.289889567Z level=info msg="Executing migration" id="Update api_key table charset" grafana | logger=migrator t=2024-04-28T18:14:23.289927427Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=39.09µs grafana | logger=migrator t=2024-04-28T18:14:23.293230677Z level=info msg="Executing migration" id="Add expires to api_key table" grafana | logger=migrator t=2024-04-28T18:14:23.295716902Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=2.485825ms grafana | logger=migrator t=2024-04-28T18:14:23.299160572Z level=info msg="Executing migration" id="Add service account foreign key" grafana | logger=migrator t=2024-04-28T18:14:23.301600707Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.439665ms grafana | logger=migrator t=2024-04-28T18:14:23.306533826Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" grafana | logger=migrator t=2024-04-28T18:14:23.306704777Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=171.131µs grafana | logger=migrator t=2024-04-28T18:14:23.309578875Z level=info msg="Executing migration" id="Add last_used_at to api_key table" grafana | logger=migrator t=2024-04-28T18:14:23.31205125Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=2.475455ms grafana | logger=migrator t=2024-04-28T18:14:23.316252895Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" grafana | logger=migrator t=2024-04-28T18:14:23.31878209Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=2.528825ms grafana | logger=migrator t=2024-04-28T18:14:23.32387336Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" grafana | logger=migrator t=2024-04-28T18:14:23.324623055Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=749.495µs grafana | logger=migrator t=2024-04-28T18:14:23.327402311Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" grafana | logger=migrator t=2024-04-28T18:14:23.327914415Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=510.334µs grafana | logger=migrator t=2024-04-28T18:14:23.331116174Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" grafana | logger=migrator t=2024-04-28T18:14:23.332445292Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.328768ms grafana | logger=migrator t=2024-04-28T18:14:23.338121766Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" grafana | logger=migrator t=2024-04-28T18:14:23.339343073Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=1.221127ms grafana | logger=migrator t=2024-04-28T18:14:23.34377674Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" grafana | logger=migrator t=2024-04-28T18:14:23.345101298Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=1.318908ms grafana | logger=migrator t=2024-04-28T18:14:23.348241006Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" grafana | logger=migrator t=2024-04-28T18:14:23.349015771Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=774.445µs grafana | logger=migrator t=2024-04-28T18:14:23.354738156Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" grafana | logger=migrator t=2024-04-28T18:14:23.354817836Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=81.39µs grafana | logger=migrator t=2024-04-28T18:14:23.359241503Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" grafana | logger=migrator t=2024-04-28T18:14:23.359281043Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=41.03µs mariadb | 2024-04-28 18:14:23+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-04-28 18:14:23+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mariadb | 2024-04-28 18:14:23+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. mariadb | 2024-04-28 18:14:23+00:00 [Note] [Entrypoint]: Initializing database files mariadb | 2024-04-28 18:14:23 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-04-28 18:14:23 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-04-28 18:14:24 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | mariadb | mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! mariadb | To do so, start the server, then issue the following command: mariadb | mariadb | '/usr/bin/mysql_secure_installation' mariadb | mariadb | which will also give you the option of removing the test mariadb | databases and anonymous user created by default. This is mariadb | strongly recommended for production servers. mariadb | mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb mariadb | mariadb | Please report any problems at https://mariadb.org/jira mariadb | mariadb | The latest information about MariaDB is available at https://mariadb.org/. mariadb | mariadb | Consider joining MariaDB's strong and vibrant community: mariadb | https://mariadb.org/get-involved/ mariadb | mariadb | 2024-04-28 18:14:25+00:00 [Note] [Entrypoint]: Database files initialized mariadb | 2024-04-28 18:14:25+00:00 [Note] [Entrypoint]: Starting temporary server mariadb | 2024-04-28 18:14:25+00:00 [Note] [Entrypoint]: Waiting for server startup mariadb | 2024-04-28 18:14:25 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 99 ... mariadb | 2024-04-28 18:14:25 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 mariadb | 2024-04-28 18:14:25 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-04-28 18:14:25 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-04-28 18:14:25 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-04-28 18:14:25 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-04-28 18:14:25 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-04-28 18:14:25 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-04-28 18:14:25 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-04-28 18:14:25 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-04-28 18:14:25 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-04-28 18:14:25 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-04-28 18:14:25 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-04-28 18:14:25 0 [Note] InnoDB: log sequence number 46590; transaction id 14 mariadb | 2024-04-28 18:14:25 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-04-28 18:14:25 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-04-28 18:14:25 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-04-28 18:14:25 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. mariadb | 2024-04-28 18:14:25 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution mariadb | 2024-04-28 18:14:26+00:00 [Note] [Entrypoint]: Temporary server started. mariadb | 2024-04-28 18:14:28+00:00 [Note] [Entrypoint]: Creating user policy_user mariadb | 2024-04-28 18:14:28+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) mariadb | mariadb | 2024-04-28 18:14:28+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf mariadb | mariadb | 2024-04-28 18:14:28+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh mariadb | #!/bin/bash -xv mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. mariadb | # mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); mariadb | # you may not use this file except in compliance with the License. mariadb | # You may obtain a copy of the License at mariadb | # mariadb | # http://www.apache.org/licenses/LICENSE-2.0 mariadb | # mariadb | # Unless required by applicable law or agreed to in writing, software mariadb | # distributed under the License is distributed on an "AS IS" BASIS, mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. mariadb | # See the License for the specific language governing permissions and mariadb | # limitations under the License. mariadb | mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | do mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" mariadb | done mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' mariadb | mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp mariadb | mariadb | 2024-04-28 18:14:28+00:00 [Note] [Entrypoint]: Stopping temporary server mariadb | 2024-04-28 18:14:28 0 [Note] mariadbd (initiated by: unknown): Normal shutdown mariadb | 2024-04-28 18:14:28 0 [Note] InnoDB: FTS optimize thread exiting. mariadb | 2024-04-28 18:14:28 0 [Note] InnoDB: Starting shutdown... mariadb | 2024-04-28 18:14:28 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool mariadb | 2024-04-28 18:14:28 0 [Note] InnoDB: Buffer pool(s) dump completed at 240428 18:14:28 mariadb | 2024-04-28 18:14:29 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" mariadb | 2024-04-28 18:14:29 0 [Note] InnoDB: Shutdown completed; log sequence number 330965; transaction id 298 mariadb | 2024-04-28 18:14:29 0 [Note] mariadbd: Shutdown complete mariadb | mariadb | 2024-04-28 18:14:29+00:00 [Note] [Entrypoint]: Temporary server stopped mariadb | mariadb | 2024-04-28 18:14:29+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. mariadb | mariadb | 2024-04-28 18:14:29 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... mariadb | 2024-04-28 18:14:29 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, parentLocalName VARCHAR(120) DEFAULT NULL, localName VARCHAR(120) DEFAULT NULL, parentKeyVersion VARCHAR(15) DEFAULT NULL, parentKeyName VARCHAR(120) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) DEFAULT NULL, version VARCHAR(20) DEFAULT NULL, ATTRIBUTES LONGTEXT DEFAULT NULL, ATTRIBUTES_KEY VARCHAR(255) DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- mariadb | 2024-04-28 18:14:29 0 [Note] InnoDB: Number of transaction pools: 1 mariadb | 2024-04-28 18:14:29 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions mariadb | 2024-04-28 18:14:29 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) mariadb | 2024-04-28 18:14:29 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) mariadb | 2024-04-28 18:14:29 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF mariadb | 2024-04-28 18:14:29 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB mariadb | 2024-04-28 18:14:29 0 [Note] InnoDB: Completed initialization of buffer pool mariadb | 2024-04-28 18:14:29 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) mariadb | 2024-04-28 18:14:29 0 [Note] InnoDB: 128 rollback segments are active. mariadb | 2024-04-28 18:14:29 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... mariadb | 2024-04-28 18:14:29 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. mariadb | 2024-04-28 18:14:29 0 [Note] InnoDB: log sequence number 330965; transaction id 299 mariadb | 2024-04-28 18:14:29 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool mariadb | 2024-04-28 18:14:29 0 [Note] Plugin 'FEEDBACK' is disabled. mariadb | 2024-04-28 18:14:29 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. mariadb | 2024-04-28 18:14:29 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. mariadb | 2024-04-28 18:14:29 0 [Note] Server socket created on IP: '0.0.0.0'. mariadb | 2024-04-28 18:14:29 0 [Note] Server socket created on IP: '::'. mariadb | 2024-04-28 18:14:29 0 [Note] mariadbd: ready for connections. mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution mariadb | 2024-04-28 18:14:29 0 [Note] InnoDB: Buffer pool(s) load completed at 240428 18:14:29 mariadb | 2024-04-28 18:14:29 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) mariadb | 2024-04-28 18:14:29 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL, PROPERTIES_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql policy-db-migrator | -------------- policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) policy-db-migrator | -------------- policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql prometheus | ts=2024-04-28T18:14:21.500Z caller=main.go:573 level=info msg="No time or size retention was set so using the default time retention" duration=15d policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.364189652Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" prometheus | ts=2024-04-28T18:14:21.500Z caller=main.go:617 level=info msg="Starting Prometheus Server" mode=server version="(version=2.51.2, branch=HEAD, revision=b4c0ab52c3e9b940ab803581ddae9b3d9a452337)" 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-04-28T18:14:23.368538558Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=4.348706ms prometheus | ts=2024-04-28T18:14:21.500Z caller=main.go:622 level=info build_context="(go=go1.22.2, platform=linux/amd64, user=root@b63f02a423d9, date=20240410-14:05:54, tags=netgo,builtinassets,stringlabels)" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.375691491Z level=info msg="Executing migration" id="Add encrypted dashboard json column" prometheus | ts=2024-04-28T18:14:21.500Z caller=main.go:623 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.378394967Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.703056ms prometheus | ts=2024-04-28T18:14:21.500Z caller=main.go:624 level=info fd_limits="(soft=1048576, hard=1048576)" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.381701357Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" prometheus | ts=2024-04-28T18:14:21.500Z caller=main.go:625 level=info vm_limits="(soft=unlimited, hard=unlimited)" policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql grafana | logger=migrator t=2024-04-28T18:14:23.381769548Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=68.641µs prometheus | ts=2024-04-28T18:14:21.507Z caller=web.go:568 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.384669295Z level=info msg="Executing migration" id="create quota table v1" prometheus | ts=2024-04-28T18:14:21.508Z caller=main.go:1129 level=info msg="Starting TSDB ..." 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-04-28T18:14:23.385403339Z level=info msg="Migration successfully executed" id="create quota table v1" duration=733.694µs prometheus | ts=2024-04-28T18:14:21.510Z caller=tls_config.go:313 level=info component=web msg="Listening on" address=[::]:9090 policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.388693209Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" prometheus | ts=2024-04-28T18:14:21.510Z caller=tls_config.go:316 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.389546044Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=852.865µs prometheus | ts=2024-04-28T18:14:21.512Z caller=head.go:616 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.395870432Z level=info msg="Executing migration" id="Update quota table charset" prometheus | ts=2024-04-28T18:14:21.512Z caller=head.go:698 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=1.93µs policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql grafana | logger=migrator t=2024-04-28T18:14:23.395896192Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=30.5µs prometheus | ts=2024-04-28T18:14:21.512Z caller=head.go:706 level=info component=tsdb msg="Replaying WAL, this may take a while" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.399903936Z level=info msg="Executing migration" id="create plugin_setting table" prometheus | ts=2024-04-28T18:14:21.513Z caller=head.go:778 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 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-04-28T18:14:23.400700741Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=796.625µs prometheus | ts=2024-04-28T18:14:21.513Z caller=head.go:815 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=25.49µs wal_replay_duration=711.731µs wbl_replay_duration=190ns total_replay_duration=780.692µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.403940231Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" prometheus | ts=2024-04-28T18:14:21.517Z caller=main.go:1150 level=info fs_type=EXT4_SUPER_MAGIC policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.404813756Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=873.405µs prometheus | ts=2024-04-28T18:14:21.517Z caller=main.go:1153 level=info msg="TSDB started" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.411724237Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" prometheus | ts=2024-04-28T18:14:21.517Z caller=main.go:1335 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql grafana | logger=migrator t=2024-04-28T18:14:23.416386435Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=4.658548ms prometheus | ts=2024-04-28T18:14:21.518Z caller=main.go:1372 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=986.635µs db_storage=1.37µs remote_storage=2.67µs web_handler=940ns query_engine=1.14µs scrape=289.454µs scrape_sd=124.662µs notify=31.42µs notify_sd=13.801µs rules=2.21µs tracing=5.62µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.421664787Z level=info msg="Executing migration" id="Update plugin_setting table charset" prometheus | ts=2024-04-28T18:14:21.518Z caller=main.go:1114 level=info msg="Server is ready to receive web requests." 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-04-28T18:14:23.421703227Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=39.88µs prometheus | ts=2024-04-28T18:14:21.518Z caller=manager.go:163 level=info component="rule manager" msg="Starting rule manager..." policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.425232048Z level=info msg="Executing migration" id="create session table" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.426829618Z level=info msg="Migration successfully executed" id="create session table" duration=1.5964ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.434385483Z level=info msg="Executing migration" id="Drop old table playlist table" policy-db-migrator | > upgrade 0450-pdpgroup.sql grafana | logger=migrator t=2024-04-28T18:14:23.434610105Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=223.772µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.440087807Z level=info msg="Executing migration" id="Drop old table playlist_item table" 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-04-28T18:14:23.440219618Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=132.491µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.44383236Z level=info msg="Executing migration" id="create playlist table v2" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.444521894Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=688.864µs policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.45054328Z level=info msg="Executing migration" id="create playlist item table v2" policy-db-migrator | > upgrade 0460-pdppolicystatus.sql grafana | logger=migrator t=2024-04-28T18:14:23.45228487Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.74585ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.459243652Z level=info msg="Executing migration" id="Update playlist table charset" 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-04-28T18:14:23.459268723Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=25.421µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.461482186Z level=info msg="Executing migration" id="Update playlist_item table charset" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.461503996Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=22.72µs policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.463787839Z level=info msg="Executing migration" id="Add playlist column created_at" policy-db-migrator | > upgrade 0470-pdp.sql grafana | logger=migrator t=2024-04-28T18:14:23.466126573Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=2.337924ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.470679961Z level=info msg="Executing migration" id="Add playlist column updated_at" 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-04-28T18:14:23.476068693Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=5.388182ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.479218922Z level=info msg="Executing migration" id="drop preferences table v2" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.479346973Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=129.041µs policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.482857394Z level=info msg="Executing migration" id="drop preferences table v3" policy-db-migrator | > upgrade 0480-pdpstatistics.sql grafana | logger=migrator t=2024-04-28T18:14:23.482939724Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=82.56µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.487751193Z level=info msg="Executing migration" id="create preferences table v3" 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-04-28T18:14:23.488533198Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=782.125µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.491698377Z level=info msg="Executing migration" id="Update preferences table charset" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.491738977Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=41.62µs policy-db-migrator | policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql grafana | logger=migrator t=2024-04-28T18:14:23.494927326Z level=info msg="Executing migration" id="Add column team_id in preferences" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.500190918Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=5.263022ms grafana | logger=migrator t=2024-04-28T18:14:23.504052871Z level=info msg="Executing migration" id="Update team_id column values in preferences" grafana | logger=migrator t=2024-04-28T18:14:23.504198282Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=145.861µs policy-db-migrator | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, PRIMARY KEY PK_PDPSUBGROUP_PDP (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName)) grafana | logger=migrator t=2024-04-28T18:14:23.508430977Z level=info msg="Executing migration" id="Add column week_start in preferences" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.511562266Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=3.144349ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.515320519Z level=info msg="Executing migration" id="Add column preferences.json_data" policy-db-migrator | policy-db-migrator | > upgrade 0500-pdpsubgroup.sql grafana | logger=migrator t=2024-04-28T18:14:23.518300556Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=2.981847ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.521848228Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" 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-04-28T18:14:23.521913528Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=65.39µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.526208464Z level=info msg="Executing migration" id="Add preferences index org_id" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.527135049Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=926.535µs policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.530687181Z level=info msg="Executing migration" id="Add preferences index user_id" policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql grafana | logger=migrator t=2024-04-28T18:14:23.531949598Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.261957ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.538412917Z level=info msg="Executing migration" id="create alert table v1" 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-04-28T18:14:23.539486234Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.072837ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.544401803Z level=info msg="Executing migration" id="add index alert org_id & id " policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.545327098Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=925.215µs policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.549371753Z level=info msg="Executing migration" id="add index alert state" policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql grafana | logger=migrator t=2024-04-28T18:14:23.551313065Z level=info msg="Migration successfully executed" id="add index alert state" duration=1.940622ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.58887208Z level=info msg="Executing migration" id="add index alert dashboard_id" 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-04-28T18:14:23.590142097Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.269567ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.594112411Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.595352558Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=1.237407ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.599223192Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql grafana | logger=migrator t=2024-04-28T18:14:23.60054486Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=1.320958ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.607860783Z 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 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-04-28T18:14:23.608775689Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=889.056µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.612450081Z 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-04-28T18:14:23.626029623Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=13.578242ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.630007896Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql grafana | logger=migrator t=2024-04-28T18:14:23.630824061Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=815.745µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.640884752Z 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 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-04-28T18:14:23.64229326Z 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.407968ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.648038744Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.648307336Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=268.582µs policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.652452111Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql grafana | logger=migrator t=2024-04-28T18:14:23.653067655Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=612.774µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.659348832Z level=info msg="Executing migration" id="create alert_notification table v1" 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-04-28T18:14:23.66071216Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.362488ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.666596486Z level=info msg="Executing migration" id="Add column is_default" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.67229124Z level=info msg="Migration successfully executed" id="Add column is_default" duration=5.693744ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.675829831Z level=info msg="Executing migration" id="Add column frequency" policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql grafana | logger=migrator t=2024-04-28T18:14:23.679428573Z level=info msg="Migration successfully executed" id="Add column frequency" duration=3.597072ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.687215549Z level=info msg="Executing migration" id="Add column send_reminder" 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-04-28T18:14:23.690918332Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.702253ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.697022428Z level=info msg="Executing migration" id="Add column disable_resolve_message" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.700524429Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=3.500611ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.71067192Z level=info msg="Executing migration" id="add index alert_notification org_id & name" policy-db-migrator | > upgrade 0570-toscadatatype.sql grafana | logger=migrator t=2024-04-28T18:14:23.711503155Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=831.625µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.716700736Z level=info msg="Executing migration" id="Update alert table charset" 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-04-28T18:14:23.716747557Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=48.351µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.721957868Z level=info msg="Executing migration" id="Update alert_notification table charset" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.721983088Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=26.56µs policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.726237963Z level=info msg="Executing migration" id="create notification_journal table v1" policy-db-migrator | > upgrade 0580-toscadatatypes.sql grafana | logger=migrator t=2024-04-28T18:14:23.727038618Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=800.585µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.732499221Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" 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-04-28T18:14:23.733384186Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=880.175µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.736734026Z level=info msg="Executing migration" id="drop alert_notification_journal" policy-db-migrator | policy-db-migrator | policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql grafana | logger=migrator t=2024-04-28T18:14:23.737427991Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=694.095µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.741575456Z level=info msg="Executing migration" id="create alert_notification_state table v1" 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-04-28T18:14:23.74234392Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=768.674µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.746465505Z 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-04-28T18:14:23.74731524Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=849.265µs policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.750996132Z level=info msg="Executing migration" id="Add for to alert table" policy-db-migrator | > upgrade 0600-toscanodetemplate.sql grafana | logger=migrator t=2024-04-28T18:14:23.754654014Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=3.658262ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.75892308Z level=info msg="Executing migration" id="Add column uid in alert_notification" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, PRIMARY KEY PK_TOSCANODETEMPLATE (name, version)) grafana | logger=migrator t=2024-04-28T18:14:23.762485171Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=3.562131ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.768141275Z level=info msg="Executing migration" id="Update uid column values in alert_notification" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.768316556Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=175.811µs policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.772590982Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" policy-db-migrator | > upgrade 0610-toscanodetemplates.sql grafana | logger=migrator t=2024-04-28T18:14:23.773417006Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=826.744µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.776878107Z level=info msg="Executing migration" id="Remove unique index org_id_name" 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-04-28T18:14:23.777668012Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=792.025µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.782997884Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.786750356Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=3.752132ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.79073567Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql grafana | logger=migrator t=2024-04-28T18:14:23.790800941Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=66.091µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.796972418Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" 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-04-28T18:14:23.797993974Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=1.027876ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.800930581Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.801806737Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=877.176µs policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.807596901Z level=info msg="Executing migration" id="Drop old annotation table v4" policy-db-migrator | > upgrade 0630-toscanodetype.sql grafana | logger=migrator t=2024-04-28T18:14:23.807772852Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=180.001µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.810503919Z level=info msg="Executing migration" id="create annotation table v5" 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-04-28T18:14:23.811403394Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=898.995µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.816312024Z level=info msg="Executing migration" id="add index annotation 0 v3" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.817912303Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.600649ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.821091582Z level=info msg="Executing migration" id="add index annotation 1 v3" policy-db-migrator | > upgrade 0640-toscanodetypes.sql grafana | logger=migrator t=2024-04-28T18:14:23.822521431Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=1.427689ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.826673386Z level=info msg="Executing migration" id="add index annotation 2 v3" 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-04-28T18:14:23.828185265Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.514659ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.831753346Z level=info msg="Executing migration" id="add index annotation 3 v3" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.833434236Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.68064ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.836712026Z level=info msg="Executing migration" id="add index annotation 4 v3" policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql grafana | logger=migrator t=2024-04-28T18:14:23.837754742Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.039666ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.842899973Z level=info msg="Executing migration" id="Update annotation table charset" 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-04-28T18:14:23.842927943Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=28.52µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.84570052Z level=info msg="Executing migration" id="Add column region_id to annotation table" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.849834685Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.134245ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.853192155Z level=info msg="Executing migration" id="Drop category_id index" policy-db-migrator | > upgrade 0660-toscaparameter.sql grafana | logger=migrator t=2024-04-28T18:14:23.85398584Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=794.135µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.859753734Z level=info msg="Executing migration" id="Add column tags to annotation table" grafana | logger=migrator t=2024-04-28T18:14:23.865865601Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=6.110377ms grafana | logger=migrator t=2024-04-28T18:14:23.869623193Z level=info msg="Executing migration" id="Create annotation_tag table v2" grafana | logger=migrator t=2024-04-28T18:14:23.870143846Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=520.773µs grafana | logger=migrator t=2024-04-28T18:14:23.876861877Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" 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-04-28T18:14:23.878509767Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.65104ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.882957073Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.883758278Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=804.235µs policy-db-migrator | policy-db-migrator | > upgrade 0670-toscapolicies.sql grafana | logger=migrator t=2024-04-28T18:14:23.886583825Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.898453176Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=11.868301ms 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-04-28T18:14:23.903663078Z level=info msg="Executing migration" id="Create annotation_tag table v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.904367882Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=704.414µs policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.908494166Z level=info msg="Executing migration" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.909336591Z 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=842.315µs policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql grafana | logger=migrator t=2024-04-28T18:14:23.912340299Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.912630061Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=289.562µ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-04-28T18:14:23.918924839Z level=info msg="Executing migration" id="drop table annotation_tag_v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.919655143Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=734.454µs policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.926618815Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.926806976Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=188.111µs policy-db-migrator | > upgrade 0690-toscapolicy.sql grafana | logger=migrator t=2024-04-28T18:14:23.929671234Z level=info msg="Executing migration" id="Add created time to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.933733148Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=4.061364ms 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-04-28T18:14:23.940275037Z level=info msg="Executing migration" id="Add updated time to annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.944215621Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=3.940464ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.949957795Z level=info msg="Executing migration" id="Add index for created in annotation table" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.950979461Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.021566ms policy-db-migrator | > upgrade 0700-toscapolicytype.sql grafana | logger=migrator t=2024-04-28T18:14:23.9574242Z level=info msg="Executing migration" id="Add index for updated in annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.958768258Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.344188ms 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-04-28T18:14:23.967066518Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:23.96738965Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=323.472µs policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.970871951Z level=info msg="Executing migration" id="Add epoch_end column" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:23.97735637Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=6.478198ms policy-db-migrator | > upgrade 0710-toscapolicytypes.sql grafana | logger=migrator t=2024-04-28T18:14:24.020157427Z level=info msg="Executing migration" id="Add index for epoch_end" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.021516125Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.359758ms 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-04-28T18:14:24.027556101Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.027805773Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=249.992µs policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.034831706Z level=info msg="Executing migration" id="Move region to single row" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.035371989Z level=info msg="Migration successfully executed" id="Move region to single row" duration=540.553µs policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql grafana | logger=migrator t=2024-04-28T18:14:24.039498584Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.040775272Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=1.279338ms 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-04-28T18:14:24.045280299Z 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-04-28T18:14:24.046905659Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=1.62484ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.052706924Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.053567499Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=860.105µs policy-db-migrator | > upgrade 0730-toscaproperty.sql grafana | logger=migrator t=2024-04-28T18:14:24.056777599Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.057945966Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=1.167147ms 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-04-28T18:14:24.063673Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.064938698Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.264938ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.071737629Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.072600704Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=862.825µs policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql grafana | logger=migrator t=2024-04-28T18:14:24.077502334Z level=info msg="Executing migration" id="Increase tags column to length 4096" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.077602165Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=100.661µs policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_TOSCARELATIONSHIPTYPE (name, version)) grafana | logger=migrator t=2024-04-28T18:14:24.081240217Z level=info msg="Executing migration" id="create test_data table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.082493454Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.252447ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.091455558Z level=info msg="Executing migration" id="create dashboard_version table v1" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.092256933Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=801.205µs policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql grafana | logger=migrator t=2024-04-28T18:14:24.095617554Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.096948462Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.330248ms 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)) policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.101673671Z 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-04-28T18:14:24.102523136Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=849.335µs policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.107883008Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql grafana | logger=migrator t=2024-04-28T18:14:24.108061989Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=179.391µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.112233594Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" 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-04-28T18:14:24.112781908Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=548.294µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.117200714Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.117299575Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=99.351µs policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.123195431Z level=info msg="Executing migration" id="create team table" policy-db-migrator | > upgrade 0770-toscarequirement.sql grafana | logger=migrator t=2024-04-28T18:14:24.124285548Z level=info msg="Migration successfully executed" id="create team table" duration=1.089797ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.130720066Z level=info msg="Executing migration" id="add index team.org_id" 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-04-28T18:14:24.132198795Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.478219ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.13622169Z level=info msg="Executing migration" id="add unique index team_org_id_name" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.137595248Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.372528ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.145932589Z level=info msg="Executing migration" id="Add column uid in team" policy-db-migrator | > upgrade 0780-toscarequirements.sql grafana | logger=migrator t=2024-04-28T18:14:24.152959041Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=7.025612ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.157516349Z level=info msg="Executing migration" id="Update uid column values in team" 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-04-28T18:14:24.15768509Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=168.231µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.161260361Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.162135167Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=874.416µs policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.166714515Z level=info msg="Executing migration" id="create team member table" policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql grafana | logger=migrator t=2024-04-28T18:14:24.167874832Z level=info msg="Migration successfully executed" id="create team member table" duration=1.161307ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.173069073Z level=info msg="Executing migration" id="add index team_member.org_id" policy-db-migrator | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, PRIMARY KEY PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion)) grafana | logger=migrator t=2024-04-28T18:14:24.174425081Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.353568ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.178046023Z 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-04-28T18:14:24.179463702Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.416479ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.18242468Z level=info msg="Executing migration" id="add index team_member.team_id" policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql grafana | logger=migrator t=2024-04-28T18:14:24.183284055Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=859.235µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.18904656Z level=info msg="Executing migration" id="Add column email to team table" 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-04-28T18:14:24.196374304Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=7.327414ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.200959422Z level=info msg="Executing migration" id="Add column external to team_member table" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.204276912Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=3.31677ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.208111315Z level=info msg="Executing migration" id="Add column permission to team_member table" policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql grafana | logger=migrator t=2024-04-28T18:14:24.214019721Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=5.907666ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.23543889Z level=info msg="Executing migration" id="create dashboard acl 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-04-28T18:14:24.237364582Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=1.924522ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.244989609Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.245891944Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=900.635µs policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.251229266Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" policy-db-migrator | > upgrade 0820-toscatrigger.sql grafana | logger=migrator t=2024-04-28T18:14:24.25339801Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=2.168644ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.26011375Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" grafana | logger=migrator t=2024-04-28T18:14:24.261401478Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.286848ms grafana | logger=migrator t=2024-04-28T18:14:24.265988796Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" 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-04-28T18:14:24.266956422Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=967.016µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.272308174Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.273543662Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.234958ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.279017944Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-04-28T18:14:24.280046961Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.028977ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.285653475Z level=info msg="Executing migration" id="add index dashboard_permission" policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) grafana | logger=migrator t=2024-04-28T18:14:24.286919322Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.266787ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.291935433Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.292389516Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=454.153µs policy-db-migrator | policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-04-28T18:14:24.299402978Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.29975113Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=348.992µs policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-04-28T18:14:24.308973036Z level=info msg="Executing migration" id="create tag table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.309997432Z level=info msg="Migration successfully executed" id="create tag table" duration=1.027156ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.314938112Z level=info msg="Executing migration" id="add index tag.key_value" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.315930388Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=991.746µs policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-04-28T18:14:24.323440884Z level=info msg="Executing migration" id="create login attempt table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.324168988Z level=info msg="Migration successfully executed" id="create login attempt table" duration=728.314µs policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) grafana | logger=migrator t=2024-04-28T18:14:24.329799912Z level=info msg="Executing migration" id="add index login_attempt.username" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.331939175Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=2.145803ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.337802Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.339884723Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=2.084103ms policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-04-28T18:14:24.344528321Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.36249941Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=17.972339ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) grafana | logger=migrator t=2024-04-28T18:14:24.365949611Z level=info msg="Executing migration" id="create login_attempt v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.366615765Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=667.584µs policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.371819837Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.372841903Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.020996ms policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-04-28T18:14:24.376518305Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.376840367Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=322.362µs policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) grafana | logger=migrator t=2024-04-28T18:14:24.382916794Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.38391934Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=1.002166ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.388379057Z level=info msg="Executing migration" id="create user auth table" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.389203722Z level=info msg="Migration successfully executed" id="create user auth table" duration=826.355µs policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-04-28T18:14:24.395333779Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.396894729Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.56016ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) grafana | logger=migrator t=2024-04-28T18:14:24.401160054Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.401297445Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=137.931µs policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.404452674Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.409459125Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=5.006391ms policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql grafana | logger=migrator t=2024-04-28T18:14:24.415757723Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.420851714Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.093251ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) grafana | logger=migrator t=2024-04-28T18:14:24.4731519Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.479963412Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=6.812842ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.483514263Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.488749365Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.230082ms policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-04-28T18:14:24.49450957Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.496502882Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.990082ms policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) grafana | logger=migrator t=2024-04-28T18:14:24.502068766Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.507595099Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=5.526363ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.510678298Z level=info msg="Executing migration" id="create server_lock table" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.511469062Z level=info msg="Migration successfully executed" id="create server_lock table" duration=790.514µs policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-04-28T18:14:24.518300324Z level=info msg="Executing migration" id="add index server_lock.operation_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.519528271Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.227647ms policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) grafana | logger=migrator t=2024-04-28T18:14:24.523703487Z level=info msg="Executing migration" id="create user auth token table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.525079645Z level=info msg="Migration successfully executed" id="create user auth token table" duration=1.377118ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.530974051Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.53256932Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.594619ms policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-04-28T18:14:24.53908113Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.540020686Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=941.796µs policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) grafana | logger=migrator t=2024-04-28T18:14:24.586636598Z level=info msg="Executing migration" id="add index user_auth_token.user_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.588222777Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.586499ms policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.594709497Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql grafana | logger=migrator t=2024-04-28T18:14:24.60017956Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.470843ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.607546814Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) grafana | logger=migrator t=2024-04-28T18:14:24.60849658Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=949.356µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.613266119Z level=info msg="Executing migration" id="create cache_data table" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.614701218Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.434819ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.618781393Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-04-28T18:14:24.620258712Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.471449ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.625216692Z level=info msg="Executing migration" id="create short_url table v1" policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) grafana | logger=migrator t=2024-04-28T18:14:24.626072147Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=855.015µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.632800878Z level=info msg="Executing migration" id="add index short_url.org_id-uid" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.634287557Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.48596ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.639168626Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql grafana | logger=migrator t=2024-04-28T18:14:24.639256237Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=85.011µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.645394824Z level=info msg="Executing migration" id="delete alert_definition table" 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-04-28T18:14:24.645457234Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=62.78µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.652333006Z level=info msg="Executing migration" id="recreate alert_definition table" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.653359582Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=1.023606ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.658078561Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql grafana | logger=migrator t=2024-04-28T18:14:24.659762801Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.68066ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.665472946Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" 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-04-28T18:14:24.666552162Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.078706ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.671477082Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.671606342Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=131.18µs policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.678668105Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql grafana | logger=migrator t=2024-04-28T18:14:24.680854609Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=2.185864ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.686850825Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" 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-04-28T18:14:24.687993262Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.145407ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.694136419Z 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-04-28T18:14:24.695326296Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.189497ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.700184086Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql grafana | logger=migrator t=2024-04-28T18:14:24.701761645Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.577289ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.707085478Z level=info msg="Executing migration" id="Add column paused in alert_definition" 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-04-28T18:14:24.712959783Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.873735ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.719779794Z level=info msg="Executing migration" id="drop alert_definition table" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.72075313Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=970.686µs policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.723845819Z level=info msg="Executing migration" id="delete alert_definition_version table" policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql grafana | logger=migrator t=2024-04-28T18:14:24.72393161Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=86.181µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.72733268Z level=info msg="Executing migration" id="recreate alert_definition_version table" 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-04-28T18:14:24.728231196Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=895.906µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.733738349Z 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-04-28T18:14:24.734769166Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.030566ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.738975431Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql grafana | logger=migrator t=2024-04-28T18:14:24.739952987Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=977.406µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.744912287Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" 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-04-28T18:14:24.744963157Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=51.4µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.748595789Z level=info msg="Executing migration" id="drop alert_definition_version table" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.749512395Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=914.726µs policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.753851621Z level=info msg="Executing migration" id="create alert_instance table" policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql policy-db-migrator | -------------- 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-04-28T18:14:24.755479131Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=1.62658ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.761067764Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.762100381Z 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.031897ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.767467483Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql grafana | logger=migrator t=2024-04-28T18:14:24.768695931Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.231988ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.772946187Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" policy-db-migrator | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT grafana | logger=migrator t=2024-04-28T18:14:24.778865033Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=5.916406ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.782734516Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.783611591Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=877.555µs policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.787650666Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql grafana | logger=migrator t=2024-04-28T18:14:24.788533861Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=882.995µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.7932288Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" 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-04-28T18:14:24.820409134Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=27.178155ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.823679744Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.847707549Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=24.023625ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.851972655Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql grafana | logger=migrator t=2024-04-28T18:14:24.852660289Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=687.334µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.859528711Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" 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-04-28T18:14:24.861273562Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=1.748211ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.86598474Z level=info msg="Executing migration" id="add current_reason column related to current_state" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.871868366Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=5.885656ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.902475051Z level=info msg="Executing migration" id="add result_fingerprint column to alert_instance" policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql grafana | logger=migrator t=2024-04-28T18:14:24.911077963Z level=info msg="Migration successfully executed" id="add result_fingerprint column to alert_instance" duration=8.599692ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.91721832Z level=info msg="Executing migration" id="create alert_rule table" grafana | logger=migrator t=2024-04-28T18:14:24.918006385Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=788.005µs grafana | logger=migrator t=2024-04-28T18:14:24.922430692Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" grafana | logger=migrator t=2024-04-28T18:14:24.924486675Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=2.053233ms grafana | logger=migrator t=2024-04-28T18:14:24.929456815Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" 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-04-28T18:14:24.932462883Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=3.005898ms grafana | logger=migrator t=2024-04-28T18:14:24.939736727Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.941442777Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.70505ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.946241136Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.946342447Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=102.491µs policy-db-migrator | > upgrade 0100-pdp.sql grafana | logger=migrator t=2024-04-28T18:14:24.953996063Z level=info msg="Executing migration" id="add column for to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.96010439Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=6.108027ms policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY grafana | logger=migrator t=2024-04-28T18:14:24.964576957Z level=info msg="Executing migration" id="add column annotations to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.970340832Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=5.763875ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.974102745Z level=info msg="Executing migration" id="add column labels to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.980091061Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=5.987836ms policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-04-28T18:14:24.987381886Z 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-04-28T18:14:24.988245621Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=863.725µs policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-04-28T18:14:24.992737248Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:24.993725234Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=987.486µs policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:24.997688138Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.003435313Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=5.746754ms policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql grafana | logger=migrator t=2024-04-28T18:14:25.00989451Z level=info msg="Executing migration" id="add panel_id column to alert_rule" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.017572065Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=7.675785ms policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.022515073Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.023477389Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=961.896µs policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.029055221Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" policy-db-migrator | > upgrade 0130-pdpstatistics.sql grafana | logger=migrator t=2024-04-28T18:14:25.038585486Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=9.528725ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.044713341Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" 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-04-28T18:14:25.048886006Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=4.173385ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.053633533Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.053698163Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=65.2µs policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.057918757Z level=info msg="Executing migration" id="create alert_rule_version table" policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql grafana | logger=migrator t=2024-04-28T18:14:25.059684068Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=1.761841ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.06700788Z 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 | 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-04-28T18:14:25.06868557Z 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.67722ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.073753819Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.074956026Z 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.202027ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.078166704Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) grafana | logger=migrator t=2024-04-28T18:14:25.078233495Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=67.081µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.087049476Z level=info msg="Executing migration" id="add column for to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.095451714Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=8.403828ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.09828973Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" policy-db-migrator | > upgrade 0150-pdpstatistics.sql grafana | logger=migrator t=2024-04-28T18:14:25.104684827Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.391587ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.108820131Z level=info msg="Executing migration" id="add column labels to alert_rule_version" policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL grafana | logger=migrator t=2024-04-28T18:14:25.115070747Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.250106ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.118356326Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.124496872Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.140126ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.130889018Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-04-28T18:14:25.136981324Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.090016ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.142696706Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME grafana | logger=migrator t=2024-04-28T18:14:25.142762367Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=65.651µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.147520064Z level=info msg="Executing migration" id=create_alert_configuration_table policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.148747042Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=1.225177ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.155302399Z level=info msg="Executing migration" id="Add column default in alert_configuration" policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-04-28T18:14:25.165401128Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=10.102189ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.169566122Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" policy-db-migrator | UPDATE jpapdpstatistics_enginestats a grafana | logger=migrator t=2024-04-28T18:14:25.169615542Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=49.79µs policy-db-migrator | JOIN pdpstatistics b grafana | logger=migrator t=2024-04-28T18:14:25.175018973Z level=info msg="Executing migration" id="add column org_id in alert_configuration" policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp grafana | logger=migrator t=2024-04-28T18:14:25.185380223Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=10.36228ms policy-db-migrator | SET a.id = b.id grafana | logger=migrator t=2024-04-28T18:14:25.190817934Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.191506108Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=687.974µs policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.195420961Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.201805417Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=6.384136ms policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-04-28T18:14:25.205891511Z level=info msg="Executing migration" id=create_ngalert_configuration_table policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.206720636Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=829.145µs policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp grafana | logger=migrator t=2024-04-28T18:14:25.21255947Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.214114348Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.554389ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.219767141Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.229553518Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=9.787467ms policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql grafana | logger=migrator t=2024-04-28T18:14:25.232404164Z level=info msg="Executing migration" id="create provenance_type table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.232988637Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=584.423µs policy-db-migrator | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, PRIMARY KEY PK_JPAPOLICYAUDIT (ID, name, version)) policy-db-migrator | -------------- policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.235898704Z 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-04-28T18:14:25.236613608Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=714.544µs policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql grafana | logger=migrator t=2024-04-28T18:14:25.241566397Z level=info msg="Executing migration" id="create alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.242336241Z level=info msg="Migration successfully executed" id="create alert_image table" duration=769.554µs policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) grafana | logger=migrator t=2024-04-28T18:14:25.24553839Z level=info msg="Executing migration" id="add unique index on token to alert_image table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.247223649Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=1.686889ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.251887656Z level=info msg="Executing migration" id="support longer URLs in alert_image table" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.251992027Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=105.381µs policy-db-migrator | > upgrade 0210-sequence.sql grafana | logger=migrator t=2024-04-28T18:14:25.255478767Z level=info msg="Executing migration" id=create_alert_configuration_history_table policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.256418632Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=939.285µs policy-db-migrator | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-04-28T18:14:25.259676901Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.260633277Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=959.566µs policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.264491079Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.264859831Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" policy-db-migrator | > upgrade 0220-sequence.sql grafana | logger=migrator t=2024-04-28T18:14:25.268726163Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.269087395Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=358.602µs 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-04-28T18:14:25.274093264Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.275697924Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.561859ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.280140359Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.289904325Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=9.764656ms policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql grafana | logger=migrator t=2024-04-28T18:14:25.299603192Z level=info msg="Executing migration" id="create library_element table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.301313461Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=1.71032ms 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-04-28T18:14:25.304904042Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.306519051Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=1.614309ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.310796266Z level=info msg="Executing migration" id="create library_element_connection table v1" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.311836582Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=1.040076ms policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql grafana | logger=migrator t=2024-04-28T18:14:25.31495734Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.315939966Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=982.306µs policy-db-migrator | ALTER TABLE jpatoscapolicytype_targets ADD COLUMN toscaPolicyTypeName VARCHAR(120) NOT NULL, ADD COLUMN toscaPolicyTypeVersion VARCHAR(20) NOT NULL, ADD CONSTRAINT PK_JPATOSCAPOLICYTYPE_TARGETS PRIMARY KEY (toscaPolicyTypeName, toscaPolicyTypeVersion) grafana | logger=migrator t=2024-04-28T18:14:25.319029663Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.319996319Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=967.866µs policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.324131203Z level=info msg="Executing migration" id="increase max description length to 2048" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.324156173Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=25.59µs policy-db-migrator | > upgrade 0120-toscatrigger.sql grafana | logger=migrator t=2024-04-28T18:14:25.326758768Z level=info msg="Executing migration" id="alter library_element model to mediumtext" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.326859729Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=101.491µs policy-db-migrator | DROP TABLE IF EXISTS toscatrigger grafana | logger=migrator t=2024-04-28T18:14:25.330238928Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.330666131Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=430.063µs policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.33398664Z level=info msg="Executing migration" id="create data_keys table" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.335489249Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.502079ms policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql grafana | logger=migrator t=2024-04-28T18:14:25.339830113Z level=info msg="Executing migration" id="create secrets table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.341152591Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.322808ms policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB grafana | logger=migrator t=2024-04-28T18:14:25.34436487Z level=info msg="Executing migration" id="rename data_keys name column to id" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.376264304Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=31.899804ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.379361572Z level=info msg="Executing migration" id="add name column into data_keys" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.384467451Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=5.105639ms policy-db-migrator | > upgrade 0140-toscaparameter.sql grafana | logger=migrator t=2024-04-28T18:14:25.388702306Z level=info msg="Executing migration" id="copy data_keys id column values into name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.388843146Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=140.701µs policy-db-migrator | DROP TABLE IF EXISTS toscaparameter grafana | logger=migrator t=2024-04-28T18:14:25.392673398Z level=info msg="Executing migration" id="rename data_keys name column to label" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.424404401Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=31.730843ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.440295983Z level=info msg="Executing migration" id="rename data_keys id column back to name" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.473452334Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=33.158151ms policy-db-migrator | > upgrade 0150-toscaproperty.sql policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.484131086Z level=info msg="Executing migration" id="create kv_store table v1" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints grafana | logger=migrator t=2024-04-28T18:14:25.485631734Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=1.500848ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.491425758Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.493115278Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.68864ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.498615329Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata grafana | logger=migrator t=2024-04-28T18:14:25.498978831Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=363.672µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.502267021Z level=info msg="Executing migration" id="create permission table" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.503170536Z level=info msg="Migration successfully executed" id="create permission table" duration=904.575µs grafana | logger=migrator t=2024-04-28T18:14:25.508842008Z level=info msg="Executing migration" id="add unique index permission.role_id" grafana | logger=migrator t=2024-04-28T18:14:25.510428877Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.582829ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.516471452Z level=info msg="Executing migration" id="add unique index role_id_action_scope" policy-db-migrator | DROP TABLE IF EXISTS toscaproperty grafana | logger=migrator t=2024-04-28T18:14:25.5178683Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.397468ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.522487317Z level=info msg="Executing migration" id="create role table" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.524028076Z level=info msg="Migration successfully executed" id="create role table" duration=1.534429ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.527957049Z level=info msg="Executing migration" id="add column display_name" policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql grafana | logger=migrator t=2024-04-28T18:14:25.537452873Z level=info msg="Migration successfully executed" id="add column display_name" duration=9.491735ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.540911183Z level=info msg="Executing migration" id="add column group_name" policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY grafana | logger=migrator t=2024-04-28T18:14:25.548128275Z level=info msg="Migration successfully executed" id="add column group_name" duration=7.217092ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.552263879Z level=info msg="Executing migration" id="add index role.org_id" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.553283975Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.020696ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.55945884Z level=info msg="Executing migration" id="add unique index role_org_id_name" policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) grafana | logger=migrator t=2024-04-28T18:14:25.560599167Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.139817ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.565238454Z level=info msg="Executing migration" id="add index role_org_id_uid" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.566940333Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.701489ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.571664211Z level=info msg="Executing migration" id="create team role table" policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql grafana | logger=migrator t=2024-04-28T18:14:25.572521376Z level=info msg="Migration successfully executed" id="create team role table" duration=855.205µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.577112982Z level=info msg="Executing migration" id="add index team_role.org_id" policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY grafana | logger=migrator t=2024-04-28T18:14:25.578253679Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.143017ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.582343582Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.583588489Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.243747ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.589707225Z level=info msg="Executing migration" id="add index team_role.team_id" policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) grafana | logger=migrator t=2024-04-28T18:14:25.591328804Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.621859ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.596812346Z level=info msg="Executing migration" id="create user role table" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.598118233Z level=info msg="Migration successfully executed" id="create user role table" duration=1.304927ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.60286082Z level=info msg="Executing migration" id="add index user_role.org_id" policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql grafana | logger=migrator t=2024-04-28T18:14:25.6044252Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.56372ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.609526599Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT grafana | logger=migrator t=2024-04-28T18:14:25.610542665Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.015796ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.614013265Z level=info msg="Executing migration" id="add index user_role.user_id" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.615016061Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.002606ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.619829189Z level=info msg="Executing migration" id="create builtin role table" policy-db-migrator | > upgrade 0100-upgrade.sql grafana | logger=migrator t=2024-04-28T18:14:25.621158566Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.329598ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.626356026Z level=info msg="Executing migration" id="add index builtin_role.role_id" policy-db-migrator | select 'upgrade to 1100 completed' as msg grafana | logger=migrator t=2024-04-28T18:14:25.628035296Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.67703ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.6322387Z level=info msg="Executing migration" id="add index builtin_role.name" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.633311686Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.072646ms policy-db-migrator | msg grafana | logger=migrator t=2024-04-28T18:14:25.636791476Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" policy-db-migrator | upgrade to 1100 completed grafana | logger=migrator t=2024-04-28T18:14:25.646934605Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=10.143459ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.650829017Z level=info msg="Executing migration" id="add index builtin_role.org_id" policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql grafana | logger=migrator t=2024-04-28T18:14:25.651545131Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=715.284µs policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.654930601Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME grafana | logger=migrator t=2024-04-28T18:14:25.655966827Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.035626ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.659128165Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" policy-db-migrator | policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.660109781Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=981.886µs policy-db-migrator | > upgrade 0110-idx_tsidx1.sql grafana | logger=migrator t=2024-04-28T18:14:25.664524876Z level=info msg="Executing migration" id="add unique index role.uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.665517412Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=992.386µs policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-04-28T18:14:25.668757841Z level=info msg="Executing migration" id="create seed assignment table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.669494625Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=736.994µs policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.673037405Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.674060941Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.023446ms policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) grafana | logger=migrator t=2024-04-28T18:14:25.678355706Z level=info msg="Executing migration" id="add column hidden to role table" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.686193471Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=7.836405ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.689564291Z level=info msg="Executing migration" id="permission kind migration" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.697348125Z level=info msg="Migration successfully executed" id="permission kind migration" duration=7.780734ms policy-db-migrator | > upgrade 0120-audit_sequence.sql grafana | logger=migrator t=2024-04-28T18:14:25.731646573Z level=info msg="Executing migration" id="permission attribute migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.743526111Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=11.882848ms 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-04-28T18:14:25.747537224Z level=info msg="Executing migration" id="permission identifier migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.755277209Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.740205ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.759613344Z level=info msg="Executing migration" id="add permission identifier index" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.76071545Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.101766ms 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-04-28T18:14:25.764973035Z level=info msg="Executing migration" id="add permission action scope role_id index" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.767186037Z level=info msg="Migration successfully executed" id="add permission action scope role_id index" duration=2.215862ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.770668918Z level=info msg="Executing migration" id="remove permission role_id action scope index" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.772327537Z level=info msg="Migration successfully executed" id="remove permission role_id action scope index" duration=1.659449ms policy-db-migrator | > upgrade 0130-statistics_sequence.sql grafana | logger=migrator t=2024-04-28T18:14:25.777299996Z level=info msg="Executing migration" id="create query_history table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.778282101Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=980.345µs policy-db-migrator | CREATE TABLE IF NOT EXISTS statistics_sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL, PRIMARY KEY PK_SEQUENCE (SEQ_NAME)) grafana | logger=migrator t=2024-04-28T18:14:25.781273619Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.782405505Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.131346ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.787355834Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.787416454Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=61.28µs 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-04-28T18:14:25.79024188Z level=info msg="Executing migration" id="rbac disabled migrator" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.79028796Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=47.67µs policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.793802811Z level=info msg="Executing migration" id="teams permissions migration" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.794656466Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=853.515µs policy-db-migrator | TRUNCATE TABLE sequence grafana | logger=migrator t=2024-04-28T18:14:25.797762824Z level=info msg="Executing migration" id="dashboard permissions" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.798493978Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=737.534µs policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.803322056Z level=info msg="Executing migration" id="dashboard permissions uid scopes" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.80408508Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=763.024µs policy-db-migrator | > upgrade 0100-pdpstatistics.sql grafana | logger=migrator t=2024-04-28T18:14:25.806893476Z level=info msg="Executing migration" id="drop managed folder create actions" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.807210228Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=316.422µs policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics grafana | logger=migrator t=2024-04-28T18:14:25.810139075Z level=info msg="Executing migration" id="alerting notification permissions" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.810718858Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=579.623µs policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.813552065Z level=info msg="Executing migration" id="create query_history_star table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.81441854Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=865.845µs policy-db-migrator | DROP TABLE pdpstatistics grafana | logger=migrator t=2024-04-28T18:14:25.819228478Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.820370994Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.141936ms policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.823421302Z level=info msg="Executing migration" id="add column org_id in query_history_star" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.831541938Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=8.120056ms policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql grafana | logger=migrator t=2024-04-28T18:14:25.834428125Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.834481326Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=53.451µs policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats grafana | logger=migrator t=2024-04-28T18:14:25.837319332Z level=info msg="Executing migration" id="create correlation table v1" policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.838160367Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=840.395µs policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.842761913Z level=info msg="Executing migration" id="add index correlations.uid" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.844658874Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.893101ms policy-db-migrator | > upgrade 0120-statistics_sequence.sql grafana | logger=migrator t=2024-04-28T18:14:25.847784272Z level=info msg="Executing migration" id="add index correlations.source_uid" policy-db-migrator | -------------- policy-db-migrator | DROP TABLE statistics_sequence grafana | logger=migrator t=2024-04-28T18:14:25.849561652Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.77694ms policy-db-migrator | -------------- grafana | logger=migrator t=2024-04-28T18:14:25.855146925Z level=info msg="Executing migration" id="add correlation config column" policy-db-migrator | grafana | logger=migrator t=2024-04-28T18:14:25.863395162Z level=info msg="Migration successfully executed" id="add correlation config column" duration=8.247757ms policy-db-migrator | policyadmin: OK: upgrade (1300) grafana | logger=migrator t=2024-04-28T18:14:25.866789332Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" policy-db-migrator | name version grafana | logger=migrator t=2024-04-28T18:14:25.867863798Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.074396ms policy-db-migrator | policyadmin 1300 grafana | logger=migrator t=2024-04-28T18:14:25.870979396Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" policy-db-migrator | ID script operation from_version to_version tag success atTime grafana | logger=migrator t=2024-04-28T18:14:25.872074792Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.095216ms policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:29 grafana | logger=migrator t=2024-04-28T18:14:25.876450768Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:29 grafana | logger=migrator t=2024-04-28T18:14:25.898757166Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=22.308388ms policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:29 grafana | logger=migrator t=2024-04-28T18:14:25.902019015Z level=info msg="Executing migration" id="create correlation v2" policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:29 grafana | logger=migrator t=2024-04-28T18:14:25.903233392Z level=info msg="Migration successfully executed" id="create correlation v2" duration=1.211917ms policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:29 grafana | logger=migrator t=2024-04-28T18:14:25.907509287Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:30 grafana | logger=migrator t=2024-04-28T18:14:25.908671384Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.159736ms policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:30 grafana | logger=migrator t=2024-04-28T18:14:25.911863772Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:30 grafana | logger=migrator t=2024-04-28T18:14:25.913104549Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.240167ms policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:30 grafana | logger=migrator t=2024-04-28T18:14:25.916403158Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:30 grafana | logger=migrator t=2024-04-28T18:14:25.917590265Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.186937ms policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:30 grafana | logger=migrator t=2024-04-28T18:14:25.92198846Z level=info msg="Executing migration" id="copy correlation v1 to v2" policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:30 grafana | logger=migrator t=2024-04-28T18:14:25.922322442Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=332.092µs policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:30 grafana | logger=migrator t=2024-04-28T18:14:25.925669982Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:30 grafana | logger=migrator t=2024-04-28T18:14:25.926617517Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=946.605µs policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:30 grafana | logger=migrator t=2024-04-28T18:14:25.929911256Z level=info msg="Executing migration" id="add provisioning column" policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:30 grafana | logger=migrator t=2024-04-28T18:14:25.938075963Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.164047ms policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:30 grafana | logger=migrator t=2024-04-28T18:14:25.942129896Z level=info msg="Executing migration" id="create entity_events table" policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:30 grafana | logger=migrator t=2024-04-28T18:14:25.943089802Z level=info msg="Migration successfully executed" id="create entity_events table" duration=957.416µs policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:30 grafana | logger=migrator t=2024-04-28T18:14:25.946348671Z level=info msg="Executing migration" id="create dashboard public config v1" policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:30 grafana | logger=migrator t=2024-04-28T18:14:25.947451007Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=1.102466ms policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:30 grafana | logger=migrator t=2024-04-28T18:14:25.95144735Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:30 grafana | logger=migrator t=2024-04-28T18:14:25.951976173Z 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 | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:30 grafana | logger=migrator t=2024-04-28T18:14:25.955152531Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:30 grafana | logger=migrator t=2024-04-28T18:14:25.955659624Z 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 | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:30 grafana | logger=migrator t=2024-04-28T18:14:25.958608342Z level=info msg="Executing migration" id="Drop old dashboard public config table" policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:30 grafana | logger=migrator t=2024-04-28T18:14:25.959438766Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=828.014µs policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:30 grafana | logger=migrator t=2024-04-28T18:14:25.962606755Z level=info msg="Executing migration" id="recreate dashboard public config v1" policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:30 grafana | logger=migrator t=2024-04-28T18:14:25.963689731Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.082326ms policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:30 grafana | logger=migrator t=2024-04-28T18:14:25.967588223Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:30 grafana | logger=migrator t=2024-04-28T18:14:25.96881276Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.224237ms policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:30 grafana | logger=migrator t=2024-04-28T18:14:25.972037589Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:31 grafana | logger=migrator t=2024-04-28T18:14:25.973278136Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.240037ms policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:31 grafana | logger=migrator t=2024-04-28T18:14:25.976713336Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:31 grafana | logger=migrator t=2024-04-28T18:14:25.977814252Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.100986ms policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:31 grafana | logger=migrator t=2024-04-28T18:14:25.982388559Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:31 grafana | logger=migrator t=2024-04-28T18:14:25.983538115Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.145946ms policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:31 grafana | logger=migrator t=2024-04-28T18:14:25.986778274Z level=info msg="Executing migration" id="Drop public config table" policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:31 grafana | logger=migrator t=2024-04-28T18:14:25.987665639Z level=info msg="Migration successfully executed" id="Drop public config table" duration=887.035µs policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:31 grafana | logger=migrator t=2024-04-28T18:14:25.991852313Z level=info msg="Executing migration" id="Recreate dashboard public config v2" policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:31 grafana | logger=migrator t=2024-04-28T18:14:25.99310455Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.251807ms grafana | logger=migrator t=2024-04-28T18:14:25.99655595Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" grafana | logger=migrator t=2024-04-28T18:14:25.997716527Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.227007ms policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:31 grafana | logger=migrator t=2024-04-28T18:14:26.001437578Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:31 grafana | logger=migrator t=2024-04-28T18:14:26.002667286Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.235178ms policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:31 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:31 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:31 grafana | logger=migrator t=2024-04-28T18:14:26.005897096Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:31 grafana | logger=migrator t=2024-04-28T18:14:26.007073283Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.176167ms policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:31 grafana | logger=migrator t=2024-04-28T18:14:26.010311543Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:31 grafana | logger=migrator t=2024-04-28T18:14:26.033578515Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=23.267022ms policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:31 grafana | logger=migrator t=2024-04-28T18:14:26.037500759Z level=info msg="Executing migration" id="add annotations_enabled column" policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:31 grafana | logger=migrator t=2024-04-28T18:14:26.043651126Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=6.150017ms policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:31 grafana | logger=migrator t=2024-04-28T18:14:26.046910007Z level=info msg="Executing migration" id="add time_selection_enabled column" policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:31 grafana | logger=migrator t=2024-04-28T18:14:26.055295408Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.384921ms policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:31 grafana | logger=migrator t=2024-04-28T18:14:26.058687979Z level=info msg="Executing migration" id="delete orphaned public dashboards" policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:31 grafana | logger=migrator t=2024-04-28T18:14:26.059014461Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=326.202µs policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:31 grafana | logger=migrator t=2024-04-28T18:14:26.062312991Z level=info msg="Executing migration" id="add share column" policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:32 grafana | logger=migrator t=2024-04-28T18:14:26.070643612Z level=info msg="Migration successfully executed" id="add share column" duration=8.330271ms policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:32 grafana | logger=migrator t=2024-04-28T18:14:26.074596127Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:32 grafana | logger=migrator t=2024-04-28T18:14:26.074836608Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=240.011µs policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:32 grafana | logger=migrator t=2024-04-28T18:14:26.077778446Z level=info msg="Executing migration" id="create file table" policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:32 grafana | logger=migrator t=2024-04-28T18:14:26.078545881Z level=info msg="Migration successfully executed" id="create file table" duration=767.155µs policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:32 grafana | logger=migrator t=2024-04-28T18:14:26.081724191Z level=info msg="Executing migration" id="file table idx: path natural pk" policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:32 grafana | logger=migrator t=2024-04-28T18:14:26.083530192Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.805371ms policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:32 grafana | logger=migrator t=2024-04-28T18:14:26.08810942Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:32 grafana | logger=migrator t=2024-04-28T18:14:26.089685849Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.574409ms policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:32 grafana | logger=migrator t=2024-04-28T18:14:26.093704434Z level=info msg="Executing migration" id="create file_meta table" policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:32 grafana | logger=migrator t=2024-04-28T18:14:26.094585089Z level=info msg="Migration successfully executed" id="create file_meta table" duration=879.875µs policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:32 grafana | logger=migrator t=2024-04-28T18:14:26.099206288Z level=info msg="Executing migration" id="file table idx: path key" policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:32 grafana | logger=migrator t=2024-04-28T18:14:26.101259981Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=2.055953ms policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:32 grafana | logger=migrator t=2024-04-28T18:14:26.10600274Z level=info msg="Executing migration" id="set path collation in file table" policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:32 grafana | logger=migrator t=2024-04-28T18:14:26.10608251Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=81.91µs policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:32 grafana | logger=migrator t=2024-04-28T18:14:26.109468891Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:32 grafana | logger=migrator t=2024-04-28T18:14:26.109598652Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=129.071µs policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:32 grafana | logger=migrator t=2024-04-28T18:14:26.113105163Z level=info msg="Executing migration" id="managed permissions migration" policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:32 grafana | logger=migrator t=2024-04-28T18:14:26.113713187Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=607.644µs policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:32 grafana | logger=migrator t=2024-04-28T18:14:26.154102995Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:32 grafana | logger=migrator t=2024-04-28T18:14:26.154628128Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=524.603µs policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:32 grafana | logger=migrator t=2024-04-28T18:14:26.159446368Z level=info msg="Executing migration" id="RBAC action name migrator" policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:32 grafana | logger=migrator t=2024-04-28T18:14:26.161618512Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=2.171513ms policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:32 grafana | logger=migrator t=2024-04-28T18:14:26.165400015Z level=info msg="Executing migration" id="Add UID column to playlist" policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:33 grafana | logger=migrator t=2024-04-28T18:14:26.175689038Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=10.293093ms policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:33 grafana | logger=migrator t=2024-04-28T18:14:26.17922559Z level=info msg="Executing migration" id="Update uid column values in playlist" policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:33 grafana | logger=migrator t=2024-04-28T18:14:26.179427611Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=201.511µs policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:33 grafana | logger=migrator t=2024-04-28T18:14:26.183032963Z level=info msg="Executing migration" id="Add index for uid in playlist" policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:33 grafana | logger=migrator t=2024-04-28T18:14:26.184006679Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=975.456µs policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:33 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:33 grafana | logger=migrator t=2024-04-28T18:14:26.188582187Z level=info msg="Executing migration" id="update group index for alert rules" policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:33 grafana | logger=migrator t=2024-04-28T18:14:26.189327442Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=746.395µs policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:33 grafana | logger=migrator t=2024-04-28T18:14:26.193017304Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:33 grafana | logger=migrator t=2024-04-28T18:14:26.193524588Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=506.883µs policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:33 grafana | logger=migrator t=2024-04-28T18:14:26.19711012Z level=info msg="Executing migration" id="admin only folder/dashboard permission" policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:33 grafana | logger=migrator t=2024-04-28T18:14:26.197672913Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=562.503µs policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:33 grafana | logger=migrator t=2024-04-28T18:14:26.201947679Z level=info msg="Executing migration" id="add action column to seed_assignment" policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:33 grafana | logger=migrator t=2024-04-28T18:14:26.210963255Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=9.015116ms policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:33 grafana | logger=migrator t=2024-04-28T18:14:26.214246605Z level=info msg="Executing migration" id="add scope column to seed_assignment" policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:33 grafana | logger=migrator t=2024-04-28T18:14:26.220692785Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=6.44563ms policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 2804241814290800u 1 2024-04-28 18:14:34 grafana | logger=migrator t=2024-04-28T18:14:26.224217196Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 2804241814290900u 1 2024-04-28 18:14:34 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 2804241814290900u 1 2024-04-28 18:14:34 grafana | logger=migrator t=2024-04-28T18:14:26.225384253Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.166987ms policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 2804241814290900u 1 2024-04-28 18:14:34 grafana | logger=migrator t=2024-04-28T18:14:26.229466948Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 2804241814290900u 1 2024-04-28 18:14:34 grafana | logger=migrator t=2024-04-28T18:14:26.302707168Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=73.24008ms policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 2804241814290900u 1 2024-04-28 18:14:34 grafana | logger=migrator t=2024-04-28T18:14:26.30618919Z level=info msg="Executing migration" id="add unique index builtin_role_name back" policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 2804241814290900u 1 2024-04-28 18:14:34 grafana | logger=migrator t=2024-04-28T18:14:26.307437278Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=1.248218ms policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2804241814290900u 1 2024-04-28 18:14:34 grafana | logger=migrator t=2024-04-28T18:14:26.311014629Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2804241814290900u 1 2024-04-28 18:14:34 grafana | logger=migrator t=2024-04-28T18:14:26.312237597Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.224408ms policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 2804241814290900u 1 2024-04-28 18:14:34 grafana | logger=migrator t=2024-04-28T18:14:26.316608634Z level=info msg="Executing migration" id="add primary key to seed_assigment" policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 2804241814290900u 1 2024-04-28 18:14:34 grafana | logger=migrator t=2024-04-28T18:14:26.341788629Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=25.180165ms policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 2804241814290900u 1 2024-04-28 18:14:34 grafana | logger=migrator t=2024-04-28T18:14:26.34518168Z level=info msg="Executing migration" id="add origin column to seed_assignment" policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 2804241814290900u 1 2024-04-28 18:14:34 grafana | logger=migrator t=2024-04-28T18:14:26.351469808Z level=info msg="Migration successfully executed" id="add origin column to seed_assignment" duration=6.286948ms policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 2804241814290900u 1 2024-04-28 18:14:34 grafana | logger=migrator t=2024-04-28T18:14:26.354796449Z level=info msg="Executing migration" id="add origin to plugin seed_assignment" policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 2804241814291000u 1 2024-04-28 18:14:34 grafana | logger=migrator t=2024-04-28T18:14:26.355207901Z level=info msg="Migration successfully executed" id="add origin to plugin seed_assignment" duration=411.343µs policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 2804241814291000u 1 2024-04-28 18:14:34 grafana | logger=migrator t=2024-04-28T18:14:26.35990989Z level=info msg="Executing migration" id="prevent seeding OnCall access" policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 2804241814291000u 1 2024-04-28 18:14:34 grafana | logger=migrator t=2024-04-28T18:14:26.360185192Z level=info msg="Migration successfully executed" id="prevent seeding OnCall access" duration=275.082µs policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 2804241814291000u 1 2024-04-28 18:14:34 grafana | logger=migrator t=2024-04-28T18:14:26.363934555Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 2804241814291000u 1 2024-04-28 18:14:34 grafana | logger=migrator t=2024-04-28T18:14:26.364420918Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=486.203µs policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 2804241814291000u 1 2024-04-28 18:14:34 grafana | logger=migrator t=2024-04-28T18:14:26.368295762Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 2804241814291000u 1 2024-04-28 18:14:34 grafana | logger=migrator t=2024-04-28T18:14:26.368791525Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=495.503µs policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 2804241814291000u 1 2024-04-28 18:14:35 grafana | logger=migrator t=2024-04-28T18:14:26.372216916Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 2804241814291000u 1 2024-04-28 18:14:35 grafana | logger=migrator t=2024-04-28T18:14:26.372585328Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=368.222µs policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 2804241814291100u 1 2024-04-28 18:14:35 grafana | logger=migrator t=2024-04-28T18:14:26.376661113Z level=info msg="Executing migration" id="create folder table" policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 2804241814291200u 1 2024-04-28 18:14:35 grafana | logger=migrator t=2024-04-28T18:14:26.377629319Z level=info msg="Migration successfully executed" id="create folder table" duration=967.666µs policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 2804241814291200u 1 2024-04-28 18:14:35 grafana | logger=migrator t=2024-04-28T18:14:26.380854159Z level=info msg="Executing migration" id="Add index for parent_uid" policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 2804241814291200u 1 2024-04-28 18:14:35 grafana | logger=migrator t=2024-04-28T18:14:26.382151427Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.296958ms policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 2804241814291200u 1 2024-04-28 18:14:35 grafana | logger=migrator t=2024-04-28T18:14:26.38591484Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 2804241814291300u 1 2024-04-28 18:14:35 grafana | logger=migrator t=2024-04-28T18:14:26.387186188Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.271128ms policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 2804241814291300u 1 2024-04-28 18:14:35 grafana | logger=migrator t=2024-04-28T18:14:26.391683335Z level=info msg="Executing migration" id="Update folder title length" policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 2804241814291300u 1 2024-04-28 18:14:35 grafana | logger=migrator t=2024-04-28T18:14:26.391709605Z level=info msg="Migration successfully executed" id="Update folder title length" duration=27.05µs policy-db-migrator | policyadmin: OK @ 1300 grafana | logger=migrator t=2024-04-28T18:14:26.394966636Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-04-28T18:14:26.396220563Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.253457ms grafana | logger=migrator t=2024-04-28T18:14:26.399635184Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" grafana | logger=migrator t=2024-04-28T18:14:26.400782581Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.147217ms grafana | logger=migrator t=2024-04-28T18:14:26.404985117Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" grafana | logger=migrator t=2024-04-28T18:14:26.406960399Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.973832ms grafana | logger=migrator t=2024-04-28T18:14:26.410800813Z level=info msg="Executing migration" id="Sync dashboard and folder table" grafana | logger=migrator t=2024-04-28T18:14:26.411636818Z level=info msg="Migration successfully executed" id="Sync dashboard and folder table" duration=835.775µs grafana | logger=migrator t=2024-04-28T18:14:26.415394321Z level=info msg="Executing migration" id="Remove ghost folders from the folder table" grafana | logger=migrator t=2024-04-28T18:14:26.416110036Z level=info msg="Migration successfully executed" id="Remove ghost folders from the folder table" duration=714.885µs grafana | logger=migrator t=2024-04-28T18:14:26.420878275Z level=info msg="Executing migration" id="Remove unique index UQE_folder_uid_org_id" grafana | logger=migrator t=2024-04-28T18:14:26.422057772Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_uid_org_id" duration=1.181877ms grafana | logger=migrator t=2024-04-28T18:14:26.425390622Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_uid" grafana | logger=migrator t=2024-04-28T18:14:26.42664939Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_uid" duration=1.259098ms grafana | logger=migrator t=2024-04-28T18:14:26.42993568Z level=info msg="Executing migration" id="Remove unique index UQE_folder_title_parent_uid_org_id" grafana | logger=migrator t=2024-04-28T18:14:26.431063387Z level=info msg="Migration successfully executed" id="Remove unique index UQE_folder_title_parent_uid_org_id" duration=1.133697ms grafana | logger=migrator t=2024-04-28T18:14:26.435257613Z level=info msg="Executing migration" id="Add unique index UQE_folder_org_id_parent_uid_title" grafana | logger=migrator t=2024-04-28T18:14:26.436551031Z level=info msg="Migration successfully executed" id="Add unique index UQE_folder_org_id_parent_uid_title" duration=1.293248ms grafana | logger=migrator t=2024-04-28T18:14:26.43966899Z level=info msg="Executing migration" id="Remove index IDX_folder_parent_uid_org_id" grafana | logger=migrator t=2024-04-28T18:14:26.440798637Z level=info msg="Migration successfully executed" id="Remove index IDX_folder_parent_uid_org_id" duration=1.129237ms grafana | logger=migrator t=2024-04-28T18:14:26.444195368Z level=info msg="Executing migration" id="create anon_device table" grafana | logger=migrator t=2024-04-28T18:14:26.445427276Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.231168ms grafana | logger=migrator t=2024-04-28T18:14:26.449724262Z level=info msg="Executing migration" id="add unique index anon_device.device_id" grafana | logger=migrator t=2024-04-28T18:14:26.45099534Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=1.271048ms grafana | logger=migrator t=2024-04-28T18:14:26.454366741Z level=info msg="Executing migration" id="add index anon_device.updated_at" grafana | logger=migrator t=2024-04-28T18:14:26.455567178Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=1.200238ms grafana | logger=migrator t=2024-04-28T18:14:26.459802134Z level=info msg="Executing migration" id="create signing_key table" grafana | logger=migrator t=2024-04-28T18:14:26.46082708Z level=info msg="Migration successfully executed" id="create signing_key table" duration=1.024266ms grafana | logger=migrator t=2024-04-28T18:14:26.46410504Z level=info msg="Executing migration" id="add unique index signing_key.key_id" grafana | logger=migrator t=2024-04-28T18:14:26.465263558Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.158308ms grafana | logger=migrator t=2024-04-28T18:14:26.468792929Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" grafana | logger=migrator t=2024-04-28T18:14:26.469946507Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.152158ms grafana | logger=migrator t=2024-04-28T18:14:26.474608075Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" grafana | logger=migrator t=2024-04-28T18:14:26.474916457Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=308.782µs grafana | logger=migrator t=2024-04-28T18:14:26.478145187Z level=info msg="Executing migration" id="Add folder_uid for dashboard" grafana | logger=migrator t=2024-04-28T18:14:26.487481394Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=9.335597ms grafana | logger=migrator t=2024-04-28T18:14:26.490904865Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" grafana | logger=migrator t=2024-04-28T18:14:26.4916781Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=774.205µs grafana | logger=migrator t=2024-04-28T18:14:26.495797765Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-04-28T18:14:26.497069013Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.270868ms grafana | logger=migrator t=2024-04-28T18:14:26.500600305Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-04-28T18:14:26.501737552Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_id_title" duration=1.137427ms grafana | logger=migrator t=2024-04-28T18:14:26.504968152Z level=info msg="Executing migration" id="Delete unique index for dashboard_org_id_folder_uid_title" grafana | logger=migrator t=2024-04-28T18:14:26.506097969Z level=info msg="Migration successfully executed" id="Delete unique index for dashboard_org_id_folder_uid_title" duration=1.129927ms grafana | logger=migrator t=2024-04-28T18:14:26.510214724Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" grafana | logger=migrator t=2024-04-28T18:14:26.511488542Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title_is_folder" duration=1.273588ms grafana | logger=migrator t=2024-04-28T18:14:26.514883693Z level=info msg="Executing migration" id="Restore index for dashboard_org_id_folder_id_title" grafana | logger=migrator t=2024-04-28T18:14:26.51608209Z level=info msg="Migration successfully executed" id="Restore index for dashboard_org_id_folder_id_title" duration=1.198027ms grafana | logger=migrator t=2024-04-28T18:14:26.519915123Z level=info msg="Executing migration" id="create sso_setting table" grafana | logger=migrator t=2024-04-28T18:14:26.521832135Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.916562ms grafana | logger=migrator t=2024-04-28T18:14:26.525321867Z level=info msg="Executing migration" id="copy kvstore migration status to each org" grafana | logger=migrator t=2024-04-28T18:14:26.526775596Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=1.454839ms grafana | logger=migrator t=2024-04-28T18:14:26.529922885Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" grafana | logger=migrator t=2024-04-28T18:14:26.530310907Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=388.742µs grafana | logger=migrator t=2024-04-28T18:14:26.56648626Z level=info msg="Executing migration" id="alter kv_store.value to longtext" grafana | logger=migrator t=2024-04-28T18:14:26.566615921Z level=info msg="Migration successfully executed" id="alter kv_store.value to longtext" duration=130.161µs grafana | logger=migrator t=2024-04-28T18:14:26.571053108Z level=info msg="Executing migration" id="add notification_settings column to alert_rule table" grafana | logger=migrator t=2024-04-28T18:14:26.577739329Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule table" duration=6.685761ms grafana | logger=migrator t=2024-04-28T18:14:26.581611433Z level=info msg="Executing migration" id="add notification_settings column to alert_rule_version table" grafana | logger=migrator t=2024-04-28T18:14:26.58935547Z level=info msg="Migration successfully executed" id="add notification_settings column to alert_rule_version table" duration=7.742727ms grafana | logger=migrator t=2024-04-28T18:14:26.592892822Z level=info msg="Executing migration" id="removing scope from alert.instances:read action migration" grafana | logger=migrator t=2024-04-28T18:14:26.593226904Z level=info msg="Migration successfully executed" id="removing scope from alert.instances:read action migration" duration=333.642µs grafana | logger=migrator t=2024-04-28T18:14:26.597798922Z level=info msg="migrations completed" performed=548 skipped=0 duration=4.197163361s grafana | logger=sqlstore t=2024-04-28T18:14:26.60562031Z level=info msg="Created default admin" user=admin grafana | logger=sqlstore t=2024-04-28T18:14:26.605956132Z level=info msg="Created default organization" grafana | logger=secrets t=2024-04-28T18:14:26.611652007Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 grafana | logger=plugin.store t=2024-04-28T18:14:26.633631792Z level=info msg="Loading plugins..." grafana | logger=local.finder t=2024-04-28T18:14:26.680916063Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled grafana | logger=plugin.store t=2024-04-28T18:14:26.680949583Z level=info msg="Plugins loaded" count=55 duration=47.317621ms grafana | logger=query_data t=2024-04-28T18:14:26.683466569Z level=info msg="Query Service initialization" grafana | logger=live.push_http t=2024-04-28T18:14:26.687237022Z level=info msg="Live Push Gateway initialization" grafana | logger=ngalert.migration t=2024-04-28T18:14:26.694869179Z level=info msg=Starting grafana | logger=ngalert.migration t=2024-04-28T18:14:26.695297751Z level=info msg="Applying transition" currentType=Legacy desiredType=UnifiedAlerting cleanOnDowngrade=false cleanOnUpgrade=false grafana | logger=ngalert.migration orgID=1 t=2024-04-28T18:14:26.695732144Z level=info msg="Migrating alerts for organisation" grafana | logger=ngalert.migration orgID=1 t=2024-04-28T18:14:26.696365058Z level=info msg="Alerts found to migrate" alerts=0 grafana | logger=ngalert.migration t=2024-04-28T18:14:26.698154559Z level=info msg="Completed alerting migration" grafana | logger=ngalert.state.manager t=2024-04-28T18:14:26.725225555Z level=info msg="Running in alternative execution of Error/NoData mode" grafana | logger=infra.usagestats.collector t=2024-04-28T18:14:26.726847645Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 grafana | logger=provisioning.datasources t=2024-04-28T18:14:26.728671207Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz grafana | logger=provisioning.alerting t=2024-04-28T18:14:26.741223734Z level=info msg="starting to provision alerting" grafana | logger=provisioning.alerting t=2024-04-28T18:14:26.741241104Z level=info msg="finished to provision alerting" grafana | logger=ngalert.state.manager t=2024-04-28T18:14:26.741504025Z level=info msg="Warming state cache for startup" grafana | logger=ngalert.state.manager t=2024-04-28T18:14:26.74233645Z level=info msg="State cache has been initialized" states=0 duration=831.205µs grafana | logger=grafanaStorageLogger t=2024-04-28T18:14:26.742620582Z level=info msg="Storage starting" grafana | logger=ngalert.multiorg.alertmanager t=2024-04-28T18:14:26.741608586Z level=info msg="Starting MultiOrg Alertmanager" grafana | logger=ngalert.scheduler t=2024-04-28T18:14:26.742971874Z level=info msg="Starting scheduler" tickInterval=10s maxAttempts=1 grafana | logger=ticker t=2024-04-28T18:14:26.743227296Z level=info msg=starting first_tick=2024-04-28T18:14:30Z grafana | logger=http.server t=2024-04-28T18:14:26.745127878Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= grafana | logger=provisioning.dashboard t=2024-04-28T18:14:26.848575993Z level=info msg="starting to provision dashboards" grafana | logger=plugins.update.checker t=2024-04-28T18:14:26.852010304Z level=info msg="Update check succeeded" duration=109.688974ms grafana | logger=grafana.update.checker t=2024-04-28T18:14:26.868051843Z level=info msg="Update check succeeded" duration=126.261586ms grafana | logger=sqlstore.transactions t=2024-04-28T18:14:26.958958442Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" grafana | logger=provisioning.dashboard t=2024-04-28T18:14:27.090706934Z level=info msg="finished to provision dashboards" grafana | logger=grafana-apiserver t=2024-04-28T18:14:27.870288829Z level=info msg="Adding GroupVersion playlist.grafana.app v0alpha1 to ResourceManager" grafana | logger=grafana-apiserver t=2024-04-28T18:14:27.870894332Z level=info msg="Adding GroupVersion featuretoggle.grafana.app v0alpha1 to ResourceManager" ++ 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 grafana ... done Removing policy-api ... done Removing mariadb ... done Removing prometheus ... done Removing policy-db-migrator ... 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.VAjE3muVHJ ]] + rsync -av /tmp/tmp.VAjE3muVHJ/ /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,039 bytes received 95 bytes 2,690,268.00 bytes/sec total size is 1,344,389 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 2079 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/jenkins17827188293262172491.sh ---> sysstat.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins6053424739370220404.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/jenkins6690063841865441625.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-Jgj9 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-Jgj9/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins4970438682795255818.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-montreal-project-csit-api@tmp/config17748610455810024414tmp 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/jenkins7948074194108854192.sh ---> create-netrc.sh [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins2683253536520393986.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-Jgj9 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-Jgj9/bin to PATH [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins1595988338170497575.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins15047009337723267152.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-Jgj9 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-Jgj9/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/jenkins17107835060443216828.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-Jgj9 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-Jgj9/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-montreal-project-csit-api/169 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-36026 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2800.000 BogoMIPS: 5600.00 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 12G 144G 8% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 831 27332 0 4003 30879 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:0f:c4:04 brd ff:ff:ff:ff:ff:ff inet 10.30.107.71/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86059sec preferred_lft 86059sec inet6 fe80::f816:3eff:fe0f:c404/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:81:f0:bc:d9 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-36026) 04/28/24 _x86_64_ (8 CPU) 18:11:24 LINUX RESTART (8 CPU) 18:12:02 tps rtps wtps bread/s bwrtn/s 18:13:01 104.63 22.96 81.66 1185.70 25861.92 18:14:01 126.86 23.21 103.65 2781.87 30352.68 18:15:01 383.27 13.30 369.97 826.33 83280.79 18:16:01 13.91 0.00 13.91 0.00 18859.97 18:17:01 68.82 2.37 66.46 134.51 22111.46 Average: 139.61 12.33 127.28 985.07 36127.39 18:12:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:13:01 30126980 31710148 2812240 8.54 70452 1823016 1400376 4.12 860584 1658828 150808 18:14:01 28798772 31677544 4140448 12.57 104336 3043184 1375028 4.05 977468 2783000 1046400 18:15:01 27049976 30722464 5889244 17.88 128644 3766464 4100156 12.06 2021756 3411888 660 18:16:01 27082920 30755656 5856300 17.78 128696 3766476 4043308 11.90 1989616 3411500 60 18:17:01 28027228 31659388 4911992 14.91 130896 3734124 1431064 4.21 1120964 3362796 2388 Average: 28217175 31305040 4722045 14.34 112605 3226653 2469986 7.27 1394078 2925602 240063 18:12:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:13:01 lo 1.69 1.69 0.19 0.19 0.00 0.00 0.00 0.00 18:13:01 ens3 55.45 41.67 847.88 7.56 0.00 0.00 0.00 0.00 18:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:14:01 lo 7.00 7.00 0.66 0.66 0.00 0.00 0.00 0.00 18:14:01 ens3 222.49 142.05 6547.75 14.76 0.00 0.00 0.00 0.00 18:14:01 br-c96a40de20fc 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:15:01 lo 9.15 9.15 8.54 8.54 0.00 0.00 0.00 0.00 18:15:01 veth796e792 130.63 159.82 114.57 38.95 0.00 0.00 0.00 0.01 18:15:01 ens3 121.56 77.79 3643.79 6.81 0.00 0.00 0.00 0.00 18:15:01 veth0d221a7 0.52 0.78 0.06 0.31 0.00 0.00 0.00 0.00 18:16:01 lo 6.33 6.33 0.41 0.41 0.00 0.00 0.00 0.00 18:16:01 veth796e792 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 18:16:01 ens3 2.55 1.90 0.79 1.53 0.00 0.00 0.00 0.00 18:16:01 veth0d221a7 0.25 0.20 0.02 0.01 0.00 0.00 0.00 0.00 18:17:01 lo 5.63 5.63 0.51 0.51 0.00 0.00 0.00 0.00 18:17:01 ens3 69.12 52.32 80.69 26.47 0.00 0.00 0.00 0.00 18:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: lo 5.98 5.98 2.07 2.07 0.00 0.00 0.00 0.00 Average: ens3 94.37 63.22 2228.93 11.44 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-36026) 04/28/24 _x86_64_ (8 CPU) 18:11:24 LINUX RESTART (8 CPU) 18:12:02 CPU %user %nice %system %iowait %steal %idle 18:13:01 all 10.25 0.00 0.82 2.02 0.03 86.87 18:13:01 0 2.63 0.00 0.49 2.07 0.05 94.76 18:13:01 1 13.81 0.00 1.53 11.16 0.05 73.45 18:13:01 2 14.34 0.00 1.10 0.31 0.03 84.22 18:13:01 3 6.14 0.00 0.63 0.07 0.02 93.15 18:13:01 4 11.02 0.00 0.67 0.54 0.02 87.74 18:13:01 5 9.03 0.00 0.73 0.58 0.03 89.63 18:13:01 6 17.86 0.00 0.78 1.19 0.05 80.12 18:13:01 7 7.18 0.00 0.68 0.27 0.03 91.84 18:14:01 all 10.86 0.00 2.08 2.42 0.05 84.58 18:14:01 0 4.96 0.00 1.36 0.37 0.03 93.28 18:14:01 1 3.84 0.00 2.03 11.78 0.05 82.29 18:14:01 2 19.33 0.00 2.19 1.47 0.03 76.97 18:14:01 3 21.86 0.00 3.24 1.22 0.05 73.63 18:14:01 4 10.33 0.00 1.90 1.63 0.07 86.07 18:14:01 5 5.76 0.00 1.69 0.12 0.03 92.40 18:14:01 6 16.93 0.00 1.96 1.26 0.08 79.77 18:14:01 7 3.87 0.00 2.23 1.56 0.07 92.27 18:15:01 all 17.50 0.00 3.11 4.70 0.07 74.62 18:15:01 0 16.36 0.00 3.27 0.64 0.07 79.66 18:15:01 1 20.28 0.00 3.12 4.53 0.07 72.01 18:15:01 2 20.05 0.00 3.91 0.87 0.07 75.10 18:15:01 3 19.03 0.00 2.65 0.84 0.07 77.41 18:15:01 4 21.12 0.00 3.05 2.45 0.07 73.31 18:15:01 5 17.49 0.00 3.09 2.62 0.07 76.73 18:15:01 6 12.55 0.00 3.66 23.38 0.07 60.34 18:15:01 7 13.07 0.00 2.15 2.36 0.07 82.35 18:16:01 all 0.30 0.00 0.04 1.01 0.02 98.63 18:16:01 0 0.10 0.00 0.05 0.00 0.02 99.83 18:16:01 1 0.10 0.00 0.03 0.00 0.02 99.85 18:16:01 2 0.15 0.00 0.03 0.00 0.07 99.75 18:16:01 3 1.50 0.00 0.02 0.00 0.02 98.46 18:16:01 4 0.05 0.00 0.02 0.00 0.00 99.93 18:16:01 5 0.15 0.00 0.03 0.00 0.00 99.82 18:16:01 6 0.03 0.00 0.05 8.07 0.03 91.81 18:16:01 7 0.28 0.00 0.07 0.00 0.02 99.63 18:17:01 all 8.45 0.00 0.61 1.42 0.03 89.49 18:17:01 0 16.15 0.00 0.97 0.43 0.03 82.42 18:17:01 1 20.30 0.00 0.70 0.67 0.05 78.28 18:17:01 2 15.81 0.00 0.62 0.35 0.03 83.19 18:17:01 3 4.03 0.00 0.66 0.07 0.05 95.20 18:17:01 4 2.79 0.00 0.33 0.00 0.03 96.85 18:17:01 5 3.17 0.00 0.52 0.85 0.03 95.42 18:17:01 6 1.05 0.00 0.58 8.96 0.03 89.37 18:17:01 7 4.42 0.00 0.48 0.03 0.02 95.04 Average: all 9.45 0.00 1.33 2.31 0.04 86.86 Average: 0 8.05 0.00 1.23 0.70 0.04 89.99 Average: 1 11.65 0.00 1.48 5.60 0.05 81.22 Average: 2 13.92 0.00 1.57 0.60 0.05 83.86 Average: 3 10.47 0.00 1.43 0.44 0.04 87.62 Average: 4 9.04 0.00 1.19 0.92 0.04 88.80 Average: 5 7.11 0.00 1.21 0.83 0.03 90.81 Average: 6 9.64 0.00 1.40 8.57 0.05 80.33 Average: 7 5.76 0.00 1.12 0.85 0.04 92.24