18:12:00 Started by timer 18:12:00 Running as SYSTEM 18:12:00 [EnvInject] - Loading node environment variables. 18:12:00 Building remotely on prd-ubuntu1804-docker-8c-8g-10567 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-api-montreal-project-csit-api 18:12:00 [ssh-agent] Looking for ssh-agent implementation... 18:12:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:12:00 $ ssh-agent 18:12:00 SSH_AUTH_SOCK=/tmp/ssh-tDCXkYFU7c88/agent.2103 18:12:00 SSH_AGENT_PID=2105 18:12:00 [ssh-agent] Started. 18:12:00 Running ssh-add (command line suppressed) 18:12:00 Identity added: /w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_3308048688805259666.key (/w/workspace/policy-api-montreal-project-csit-api@tmp/private_key_3308048688805259666.key) 18:12:00 [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) 18:12:00 The recommended git tool is: NONE 18:12:01 using credential onap-jenkins-ssh 18:12:01 Wiping out workspace first. 18:12:01 Cloning the remote Git repository 18:12:01 Cloning repository git://cloud.onap.org/mirror/policy/docker.git 18:12:02 > git init /w/workspace/policy-api-montreal-project-csit-api # timeout=10 18:12:02 Fetching upstream changes from git://cloud.onap.org/mirror/policy/docker.git 18:12:02 > git --version # timeout=10 18:12:02 > git --version # 'git version 2.17.1' 18:12:02 using GIT_SSH to set credentials Gerrit user 18:12:02 Verifying host key using manually-configured host key entries 18:12:02 > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/docker.git +refs/heads/*:refs/remotes/origin/* # timeout=30 18:12:02 > git config remote.origin.url git://cloud.onap.org/mirror/policy/docker.git # timeout=10 18:12:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:12:02 Avoid second fetch 18:12:02 > git rev-parse refs/remotes/origin/montreal^{commit} # timeout=10 18:12:02 Checking out Revision 828a01cf695f53919dbff4ebbb1499c9674812b5 (refs/remotes/origin/montreal) 18:12:02 > git config core.sparsecheckout # timeout=10 18:12:02 > git checkout -f 828a01cf695f53919dbff4ebbb1499c9674812b5 # timeout=30 18:12:03 Commit message: "Set Montreal default branch" 18:12:03 > git rev-list --no-walk 828a01cf695f53919dbff4ebbb1499c9674812b5 # timeout=10 18:12:03 provisioning config files... 18:12:03 copy managed file [npmrc] to file:/home/jenkins/.npmrc 18:12:03 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 18:12:03 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins12245509790042384237.sh 18:12:03 ---> python-tools-install.sh 18:12:03 Setup pyenv: 18:12:03 * system (set by /opt/pyenv/version) 18:12:03 * 3.8.13 (set by /opt/pyenv/version) 18:12:03 * 3.9.13 (set by /opt/pyenv/version) 18:12:03 * 3.10.6 (set by /opt/pyenv/version) 18:12:07 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-jVx5 18:12:07 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 18:12:10 lf-activate-venv(): INFO: Installing: lftools 18:12:45 lf-activate-venv(): INFO: Adding /tmp/venv-jVx5/bin to PATH 18:12:45 Generating Requirements File 18:13:25 Python 3.10.6 18:13:25 pip 23.3.2 from /tmp/venv-jVx5/lib/python3.10/site-packages/pip (python 3.10) 18:13:26 appdirs==1.4.4 18:13:26 argcomplete==3.2.1 18:13:26 aspy.yaml==1.3.0 18:13:26 attrs==23.2.0 18:13:26 autopage==0.5.2 18:13:26 Babel==2.14.0 18:13:26 beautifulsoup4==4.12.2 18:13:26 boto3==1.34.14 18:13:26 botocore==1.34.14 18:13:26 bs4==0.0.1 18:13:26 cachetools==5.3.2 18:13:26 certifi==2023.11.17 18:13:26 cffi==1.16.0 18:13:26 cfgv==3.4.0 18:13:26 chardet==5.2.0 18:13:26 charset-normalizer==3.3.2 18:13:26 click==8.1.7 18:13:26 cliff==4.4.0 18:13:26 cmd2==2.4.3 18:13:26 cryptography==3.3.2 18:13:26 debtcollector==2.5.0 18:13:26 decorator==5.1.1 18:13:26 defusedxml==0.7.1 18:13:26 Deprecated==1.2.14 18:13:26 distlib==0.3.8 18:13:26 dnspython==2.4.2 18:13:26 docker==4.2.2 18:13:26 dogpile.cache==1.3.0 18:13:26 email-validator==2.1.0.post1 18:13:26 filelock==3.13.1 18:13:26 future==0.18.3 18:13:26 gitdb==4.0.11 18:13:26 GitPython==3.1.40 18:13:26 google-auth==2.26.1 18:13:26 httplib2==0.22.0 18:13:26 identify==2.5.33 18:13:26 idna==3.6 18:13:26 importlib-metadata==7.0.1 18:13:26 importlib-resources==1.5.0 18:13:26 iso8601==2.1.0 18:13:26 Jinja2==3.1.2 18:13:26 jmespath==1.0.1 18:13:26 jsonpatch==1.33 18:13:26 jsonpointer==2.4 18:13:26 jsonschema==4.20.0 18:13:26 jsonschema-specifications==2023.12.1 18:13:26 keystoneauth1==5.4.0 18:13:26 kubernetes==28.1.0 18:13:26 lftools==0.37.8 18:13:26 lxml==5.1.0 18:13:26 MarkupSafe==2.1.3 18:13:26 msgpack==1.0.7 18:13:26 multi_key_dict==2.0.3 18:13:26 munch==4.0.0 18:13:26 netaddr==0.10.1 18:13:26 netifaces==0.11.0 18:13:26 niet==1.4.2 18:13:26 nodeenv==1.8.0 18:13:26 oauth2client==4.1.3 18:13:26 oauthlib==3.2.2 18:13:26 openstacksdk==0.62.0 18:13:26 os-client-config==2.1.0 18:13:26 os-service-types==1.7.0 18:13:26 osc-lib==2.9.0 18:13:26 oslo.config==9.2.0 18:13:26 oslo.context==5.3.0 18:13:26 oslo.i18n==6.2.0 18:13:26 oslo.log==5.4.0 18:13:26 oslo.serialization==5.2.0 18:13:26 oslo.utils==6.3.0 18:13:26 packaging==23.2 18:13:26 pbr==6.0.0 18:13:26 platformdirs==4.1.0 18:13:26 prettytable==3.9.0 18:13:26 pyasn1==0.5.1 18:13:26 pyasn1-modules==0.3.0 18:13:26 pycparser==2.21 18:13:26 pygerrit2==2.0.15 18:13:26 PyGithub==2.1.1 18:13:26 pyinotify==0.9.6 18:13:26 PyJWT==2.8.0 18:13:26 PyNaCl==1.5.0 18:13:26 pyparsing==2.4.7 18:13:26 pyperclip==1.8.2 18:13:26 pyrsistent==0.20.0 18:13:26 python-cinderclient==9.4.0 18:13:26 python-dateutil==2.8.2 18:13:26 python-heatclient==3.3.0 18:13:26 python-jenkins==1.8.2 18:13:26 python-keystoneclient==5.2.0 18:13:26 python-magnumclient==4.3.0 18:13:26 python-novaclient==18.4.0 18:13:26 python-openstackclient==6.0.0 18:13:26 python-swiftclient==4.4.0 18:13:26 pytz==2023.3.post1 18:13:26 PyYAML==6.0.1 18:13:26 referencing==0.32.1 18:13:26 requests==2.31.0 18:13:26 requests-oauthlib==1.3.1 18:13:26 requestsexceptions==1.4.0 18:13:26 rfc3986==2.0.0 18:13:26 rpds-py==0.16.2 18:13:26 rsa==4.9 18:13:26 ruamel.yaml==0.18.5 18:13:26 ruamel.yaml.clib==0.2.8 18:13:26 s3transfer==0.10.0 18:13:26 simplejson==3.19.2 18:13:26 six==1.16.0 18:13:26 smmap==5.0.1 18:13:26 soupsieve==2.5 18:13:26 stevedore==5.1.0 18:13:26 tabulate==0.9.0 18:13:26 toml==0.10.2 18:13:26 tomlkit==0.12.3 18:13:26 tqdm==4.66.1 18:13:26 typing_extensions==4.9.0 18:13:26 tzdata==2023.4 18:13:26 urllib3==1.26.18 18:13:26 virtualenv==20.25.0 18:13:26 wcwidth==0.2.13 18:13:26 websocket-client==1.7.0 18:13:26 wrapt==1.16.0 18:13:26 xdg==6.0.0 18:13:26 xmltodict==0.13.0 18:13:26 yq==3.2.3 18:13:26 zipp==3.17.0 18:13:26 [EnvInject] - Injecting environment variables from a build step. 18:13:26 [EnvInject] - Injecting as environment variables the properties content 18:13:26 SET_JDK_VERSION=openjdk17 18:13:26 GIT_URL="git://cloud.onap.org/mirror" 18:13:26 18:13:26 [EnvInject] - Variables injected successfully. 18:13:26 [policy-api-montreal-project-csit-api] $ /bin/sh /tmp/jenkins4708407360747880637.sh 18:13:26 ---> update-java-alternatives.sh 18:13:26 ---> Updating Java version 18:13:26 ---> Ubuntu/Debian system detected 18:13:26 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 18:13:26 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 18:13:26 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode 18:13:26 openjdk version "17.0.4" 2022-07-19 18:13:26 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) 18:13:26 OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) 18:13:26 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 18:13:26 [EnvInject] - Injecting environment variables from a build step. 18:13:26 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 18:13:26 [EnvInject] - Variables injected successfully. 18:13:26 [policy-api-montreal-project-csit-api] $ /bin/sh -xe /tmp/jenkins15624664760489661684.sh 18:13:26 + /w/workspace/policy-api-montreal-project-csit-api/csit/run-project-csit.sh api 18:13:26 + set +u 18:13:26 + save_set 18:13:26 + RUN_CSIT_SAVE_SET=ehxB 18:13:26 + RUN_CSIT_SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail:xtrace 18:13:26 + '[' 1 -eq 0 ']' 18:13:26 + '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:26 + 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 18:13:26 + 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 18:13:26 + export SCRIPTS=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts 18:13:26 + SCRIPTS=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts 18:13:26 + export ROBOT_VARIABLES= 18:13:26 + ROBOT_VARIABLES= 18:13:26 + export PROJECT=api 18:13:26 + PROJECT=api 18:13:26 + cd /w/workspace/policy-api-montreal-project-csit-api 18:13:26 + rm -rf /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api 18:13:26 + mkdir -p /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api 18:13:26 + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 18:13:26 + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh ']' 18:13:26 + relax_set 18:13:26 + set +e 18:13:26 + set +o pipefail 18:13:26 + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/prepare-robot-env.sh 18:13:26 ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:26 +++ mktemp -d 18:13:26 ++ ROBOT_VENV=/tmp/tmp.DuKKkdN9S5 18:13:26 ++ echo ROBOT_VENV=/tmp/tmp.DuKKkdN9S5 18:13:26 +++ python3 --version 18:13:26 ++ echo 'Python version is: Python 3.6.9' 18:13:26 Python version is: Python 3.6.9 18:13:26 ++ python3 -m venv --clear /tmp/tmp.DuKKkdN9S5 18:13:28 ++ source /tmp/tmp.DuKKkdN9S5/bin/activate 18:13:28 +++ deactivate nondestructive 18:13:28 +++ '[' -n '' ']' 18:13:28 +++ '[' -n '' ']' 18:13:28 +++ '[' -n /bin/bash -o -n '' ']' 18:13:28 +++ hash -r 18:13:28 +++ '[' -n '' ']' 18:13:28 +++ unset VIRTUAL_ENV 18:13:28 +++ '[' '!' nondestructive = nondestructive ']' 18:13:28 +++ VIRTUAL_ENV=/tmp/tmp.DuKKkdN9S5 18:13:28 +++ export VIRTUAL_ENV 18:13:28 +++ _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 18:13:28 +++ PATH=/tmp/tmp.DuKKkdN9S5/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 18:13:28 +++ export PATH 18:13:28 +++ '[' -n '' ']' 18:13:28 +++ '[' -z '' ']' 18:13:28 +++ _OLD_VIRTUAL_PS1= 18:13:28 +++ '[' 'x(tmp.DuKKkdN9S5) ' '!=' x ']' 18:13:28 +++ PS1='(tmp.DuKKkdN9S5) ' 18:13:28 +++ export PS1 18:13:28 +++ '[' -n /bin/bash -o -n '' ']' 18:13:28 +++ hash -r 18:13:28 ++ set -exu 18:13:28 ++ python3 -m pip install -qq --upgrade 'pip<=23.0' 'setuptools<=66.1.1' 18:13:32 ++ echo 'Installing Python Requirements' 18:13:32 Installing Python Requirements 18:13:32 ++ python3 -m pip install -qq -r /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/pylibs.txt 18:13:49 ++ python3 -m pip -qq freeze 18:13:50 bcrypt==4.0.1 18:13:50 beautifulsoup4==4.12.2 18:13:50 bitarray==2.9.2 18:13:50 certifi==2023.11.17 18:13:50 cffi==1.15.1 18:13:50 charset-normalizer==2.0.12 18:13:50 cryptography==40.0.2 18:13:50 decorator==5.1.1 18:13:50 elasticsearch==7.17.9 18:13:50 elasticsearch-dsl==7.4.1 18:13:50 enum34==1.1.10 18:13:50 idna==3.6 18:13:50 importlib-resources==5.4.0 18:13:50 ipaddr==2.2.0 18:13:50 isodate==0.6.1 18:13:50 jmespath==0.10.0 18:13:50 jsonpatch==1.32 18:13:50 jsonpath-rw==1.4.0 18:13:50 jsonpointer==2.3 18:13:50 lxml==5.1.0 18:13:50 netaddr==0.8.0 18:13:50 netifaces==0.11.0 18:13:50 odltools==0.1.28 18:13:50 paramiko==3.4.0 18:13:50 pkg_resources==0.0.0 18:13:50 ply==3.11 18:13:50 pyang==2.6.0 18:13:50 pyangbind==0.8.1 18:13:50 pycparser==2.21 18:13:50 pyhocon==0.3.60 18:13:50 PyNaCl==1.5.0 18:13:50 pyparsing==3.1.1 18:13:50 python-dateutil==2.8.2 18:13:50 regex==2023.8.8 18:13:50 requests==2.27.1 18:13:50 robotframework==6.1.1 18:13:50 robotframework-httplibrary==0.4.2 18:13:50 robotframework-pythonlibcore==3.0.0 18:13:50 robotframework-requests==0.9.4 18:13:50 robotframework-selenium2library==3.0.0 18:13:50 robotframework-seleniumlibrary==5.1.3 18:13:50 robotframework-sshlibrary==3.8.0 18:13:50 scapy==2.5.0 18:13:50 scp==0.14.5 18:13:50 selenium==3.141.0 18:13:50 six==1.16.0 18:13:50 soupsieve==2.3.2.post1 18:13:50 urllib3==1.26.18 18:13:50 waitress==2.0.0 18:13:50 WebOb==1.8.7 18:13:50 WebTest==3.0.0 18:13:50 zipp==3.6.0 18:13:50 ++ mkdir -p /tmp/tmp.DuKKkdN9S5/src/onap 18:13:50 ++ rm -rf /tmp/tmp.DuKKkdN9S5/src/onap/testsuite 18:13:50 ++ python3 -m pip install -qq --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple 'robotframework-onap==0.6.0.*' --pre 18:13:56 ++ echo 'Uninstall docker-py and reinstall docker.' 18:13:56 Uninstall docker-py and reinstall docker. 18:13:56 ++ python3 -m pip uninstall -y -qq docker 18:13:56 ++ python3 -m pip install -U -qq docker 18:13:57 ++ python3 -m pip -qq freeze 18:13:58 bcrypt==4.0.1 18:13:58 beautifulsoup4==4.12.2 18:13:58 bitarray==2.9.2 18:13:58 certifi==2023.11.17 18:13:58 cffi==1.15.1 18:13:58 charset-normalizer==2.0.12 18:13:58 cryptography==40.0.2 18:13:58 decorator==5.1.1 18:13:58 deepdiff==5.7.0 18:13:58 dnspython==2.2.1 18:13:58 docker==5.0.3 18:13:58 elasticsearch==7.17.9 18:13:58 elasticsearch-dsl==7.4.1 18:13:58 enum34==1.1.10 18:13:58 future==0.18.3 18:13:58 idna==3.6 18:13:58 importlib-resources==5.4.0 18:13:58 ipaddr==2.2.0 18:13:58 isodate==0.6.1 18:13:58 Jinja2==3.0.3 18:13:58 jmespath==0.10.0 18:13:58 jsonpatch==1.32 18:13:58 jsonpath-rw==1.4.0 18:13:58 jsonpointer==2.3 18:13:58 kafka-python==2.0.2 18:13:58 lxml==5.1.0 18:13:58 MarkupSafe==2.0.1 18:13:58 more-itertools==5.0.0 18:13:58 netaddr==0.8.0 18:13:58 netifaces==0.11.0 18:13:58 odltools==0.1.28 18:13:58 ordered-set==4.0.2 18:13:58 paramiko==3.4.0 18:13:58 pbr==6.0.0 18:13:58 pkg_resources==0.0.0 18:13:58 ply==3.11 18:13:58 protobuf==3.19.6 18:13:58 pyang==2.6.0 18:13:58 pyangbind==0.8.1 18:13:58 pycparser==2.21 18:13:58 pyhocon==0.3.60 18:13:58 PyNaCl==1.5.0 18:13:58 pyparsing==3.1.1 18:13:58 python-dateutil==2.8.2 18:13:58 PyYAML==6.0.1 18:13:58 regex==2023.8.8 18:13:58 requests==2.27.1 18:13:58 robotframework==6.1.1 18:13:58 robotframework-httplibrary==0.4.2 18:13:58 robotframework-onap==0.6.0.dev105 18:13:58 robotframework-pythonlibcore==3.0.0 18:13:58 robotframework-requests==0.9.4 18:13:58 robotframework-selenium2library==3.0.0 18:13:58 robotframework-seleniumlibrary==5.1.3 18:13:58 robotframework-sshlibrary==3.8.0 18:13:58 robotlibcore-temp==1.0.2 18:13:58 scapy==2.5.0 18:13:58 scp==0.14.5 18:13:58 selenium==3.141.0 18:13:58 six==1.16.0 18:13:58 soupsieve==2.3.2.post1 18:13:58 urllib3==1.26.18 18:13:58 waitress==2.0.0 18:13:58 WebOb==1.8.7 18:13:58 websocket-client==1.3.1 18:13:58 WebTest==3.0.0 18:13:58 zipp==3.6.0 18:13:58 ++ uname 18:13:58 ++ grep -q Linux 18:13:58 ++ sudo apt-get -y -qq install libxml2-utils 18:13:58 + load_set 18:13:58 + _setopts=ehuxB 18:13:58 ++ echo braceexpand:hashall:interactive-comments:nounset:xtrace 18:13:58 ++ tr : ' ' 18:13:58 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:58 + set +o braceexpand 18:13:58 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:58 + set +o hashall 18:13:58 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:58 + set +o interactive-comments 18:13:58 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:58 + set +o nounset 18:13:58 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:58 + set +o xtrace 18:13:58 ++ echo ehuxB 18:13:58 ++ sed 's/./& /g' 18:13:58 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:58 + set +e 18:13:58 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:58 + set +h 18:13:58 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:58 + set +u 18:13:58 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:58 + set +x 18:13:58 + source_safely /tmp/tmp.DuKKkdN9S5/bin/activate 18:13:58 + '[' -z /tmp/tmp.DuKKkdN9S5/bin/activate ']' 18:13:58 + relax_set 18:13:58 + set +e 18:13:58 + set +o pipefail 18:13:58 + . /tmp/tmp.DuKKkdN9S5/bin/activate 18:13:58 ++ deactivate nondestructive 18:13:58 ++ '[' -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 ']' 18:13:58 ++ 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 18:13:58 ++ export PATH 18:13:58 ++ unset _OLD_VIRTUAL_PATH 18:13:58 ++ '[' -n '' ']' 18:13:58 ++ '[' -n /bin/bash -o -n '' ']' 18:13:58 ++ hash -r 18:13:58 ++ '[' -n '' ']' 18:13:58 ++ unset VIRTUAL_ENV 18:13:58 ++ '[' '!' nondestructive = nondestructive ']' 18:13:58 ++ VIRTUAL_ENV=/tmp/tmp.DuKKkdN9S5 18:13:58 ++ export VIRTUAL_ENV 18:13:58 ++ _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 18:13:58 ++ PATH=/tmp/tmp.DuKKkdN9S5/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 18:13:58 ++ export PATH 18:13:58 ++ '[' -n '' ']' 18:13:58 ++ '[' -z '' ']' 18:13:58 ++ _OLD_VIRTUAL_PS1='(tmp.DuKKkdN9S5) ' 18:13:58 ++ '[' 'x(tmp.DuKKkdN9S5) ' '!=' x ']' 18:13:58 ++ PS1='(tmp.DuKKkdN9S5) (tmp.DuKKkdN9S5) ' 18:13:58 ++ export PS1 18:13:58 ++ '[' -n /bin/bash -o -n '' ']' 18:13:58 ++ hash -r 18:13:58 + load_set 18:13:58 + _setopts=hxB 18:13:58 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:13:58 ++ tr : ' ' 18:13:58 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:58 + set +o braceexpand 18:13:58 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:58 + set +o hashall 18:13:58 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:58 + set +o interactive-comments 18:13:58 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:13:58 + set +o xtrace 18:13:58 ++ echo hxB 18:13:58 ++ sed 's/./& /g' 18:13:58 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:58 + set +h 18:13:58 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:13:58 + set +x 18:13:58 + export TEST_PLAN_DIR=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests 18:13:58 + TEST_PLAN_DIR=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests 18:13:58 + export TEST_OPTIONS= 18:13:58 + TEST_OPTIONS= 18:13:58 ++ mktemp -d 18:13:58 + WORKDIR=/tmp/tmp.koHyd8ewn1 18:13:58 + cd /tmp/tmp.koHyd8ewn1 18:13:58 + docker login -u docker -p docker nexus3.onap.org:10001 18:13:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:58 Configure a credential helper to remove this warning. See 18:13:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:58 18:13:58 Login Succeeded 18:13:58 + SETUP=/w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:58 + '[' -f /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' 18:13:58 + echo 'Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh' 18:13:58 Running setup script /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:58 + source_safely /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:58 + '[' -z /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh ']' 18:13:58 + relax_set 18:13:58 + set +e 18:13:58 + set +o pipefail 18:13:58 + . /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/setup-api.sh 18:13:58 ++ source /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/node-templates.sh 18:13:58 +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:58 ++++ awk -F= '$1 == "defaultbranch" { print $2 }' /w/workspace/policy-api-montreal-project-csit-api/.gitreview 18:13:58 +++ GERRIT_BRANCH=montreal 18:13:58 +++ echo GERRIT_BRANCH=montreal 18:13:58 GERRIT_BRANCH=montreal 18:13:58 +++ rm -rf /w/workspace/policy-api-montreal-project-csit-api/models 18:13:58 +++ mkdir /w/workspace/policy-api-montreal-project-csit-api/models 18:13:58 +++ git clone -b montreal --single-branch https://github.com/onap/policy-models.git /w/workspace/policy-api-montreal-project-csit-api/models 18:13:58 Cloning into '/w/workspace/policy-api-montreal-project-csit-api/models'... 18:13:59 +++ export DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies 18:13:59 +++ DATA=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/policies 18:13:59 +++ export NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates 18:13:59 +++ NODETEMPLATES=/w/workspace/policy-api-montreal-project-csit-api/models/models-examples/src/main/resources/nodetemplates 18:13:59 +++ 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 18:13:59 +++ 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 18:13:59 ++ source /w/workspace/policy-api-montreal-project-csit-api/compose/start-compose.sh api --grafana 18:13:59 +++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:13:59 +++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose 18:13:59 +++ grafana=false 18:13:59 +++ gui=false 18:13:59 +++ [[ 2 -gt 0 ]] 18:13:59 +++ key=api 18:13:59 +++ case $key in 18:13:59 +++ echo api 18:13:59 api 18:13:59 +++ component=api 18:13:59 +++ shift 18:13:59 +++ [[ 1 -gt 0 ]] 18:13:59 +++ key=--grafana 18:13:59 +++ case $key in 18:13:59 +++ grafana=true 18:13:59 +++ shift 18:13:59 +++ [[ 0 -gt 0 ]] 18:13:59 +++ cd /w/workspace/policy-api-montreal-project-csit-api/compose 18:13:59 +++ echo 'Configuring docker compose...' 18:13:59 Configuring docker compose... 18:13:59 +++ source export-ports.sh 18:13:59 +++ source get-versions.sh 18:14:02 +++ '[' -z api ']' 18:14:02 +++ '[' -n api ']' 18:14:02 +++ '[' api == logs ']' 18:14:02 +++ '[' true = true ']' 18:14:02 +++ echo 'Starting api application with Grafana' 18:14:02 Starting api application with Grafana 18:14:02 +++ docker-compose up -d api grafana 18:14:03 Creating network "compose_default" with the default driver 18:14:03 Pulling mariadb (nexus3.onap.org:10001/mariadb:10.10.2)... 18:14:03 10.10.2: Pulling from mariadb 18:14:09 Digest: sha256:bfc25a68e113de43d0d112f5a7126df8e278579c3224e3923359e1c1d8d5ce6e 18:14:09 Status: Downloaded newer image for nexus3.onap.org:10001/mariadb:10.10.2 18:14:09 Pulling policy-db-migrator (nexus3.onap.org:10001/onap/policy-db-migrator:3.0.2)... 18:14:09 3.0.2: Pulling from onap/policy-db-migrator 18:14:13 Digest: sha256:777d99819ab037b10e0a21c75da376b572c54e87a9748c204d86178849fe011a 18:14:13 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-db-migrator:3.0.2 18:14:13 Pulling api (nexus3.onap.org:10001/onap/policy-api:3.0.2)... 18:14:13 3.0.2: Pulling from onap/policy-api 18:14:15 Digest: sha256:fb501d6af2a3cd55552ba398d5bc20867cf32ebda2e7f9c473849f184245c945 18:14:15 Status: Downloaded newer image for nexus3.onap.org:10001/onap/policy-api:3.0.2 18:14:15 Pulling prometheus (nexus3.onap.org:10001/prom/prometheus:latest)... 18:14:15 latest: Pulling from prom/prometheus 18:14:19 Digest: sha256:a67e5e402ff5410b86ec48b39eab1a3c4df2a7e78a71bf025ec5e32e09090ad4 18:14:19 Status: Downloaded newer image for nexus3.onap.org:10001/prom/prometheus:latest 18:14:19 Pulling grafana (nexus3.onap.org:10001/grafana/grafana:latest)... 18:14:19 latest: Pulling from grafana/grafana 18:14:24 Digest: sha256:6b5b37eb35bbf30e7f64bd7f0fd41c0a5b7637f65d3bf93223b04a192b8bf3e2 18:14:24 Status: Downloaded newer image for nexus3.onap.org:10001/grafana/grafana:latest 18:14:25 Creating mariadb ... 18:14:25 Creating prometheus ... 18:14:41 Creating prometheus ... done 18:14:41 Creating grafana ... 18:14:42 Creating grafana ... done 18:14:43 Creating mariadb ... done 18:14:43 Creating policy-db-migrator ... 18:14:45 Creating policy-db-migrator ... done 18:14:45 Creating policy-api ... 18:14:46 Creating policy-api ... done 18:14:46 +++ echo 'Prometheus server: http://localhost:30259' 18:14:46 Prometheus server: http://localhost:30259 18:14:46 +++ echo 'Grafana server: http://localhost:30269' 18:14:46 Grafana server: http://localhost:30269 18:14:46 +++ cd /w/workspace/policy-api-montreal-project-csit-api 18:14:46 ++ sleep 10 18:14:56 ++ unset http_proxy https_proxy 18:14:56 ++ bash /w/workspace/policy-api-montreal-project-csit-api/csit/resources/scripts/wait_for_rest.sh localhost 30002 18:14:56 Waiting for REST to come up on localhost port 30002... 18:14:56 NAMES STATUS 18:14:56 policy-api Up 10 seconds 18:14:56 policy-db-migrator Up 11 seconds 18:14:56 grafana Up 14 seconds 18:14:56 mariadb Up 13 seconds 18:14:56 prometheus Up 15 seconds 18:15:01 NAMES STATUS 18:15:01 policy-api Up 15 seconds 18:15:01 grafana Up 19 seconds 18:15:01 mariadb Up 18 seconds 18:15:01 prometheus Up 20 seconds 18:15:06 NAMES STATUS 18:15:06 policy-api Up 20 seconds 18:15:06 grafana Up 24 seconds 18:15:06 mariadb Up 23 seconds 18:15:06 prometheus Up 25 seconds 18:15:11 NAMES STATUS 18:15:11 policy-api Up 25 seconds 18:15:11 grafana Up 29 seconds 18:15:11 mariadb Up 28 seconds 18:15:11 prometheus Up 30 seconds 18:15:11 ++ export 'SUITES=api-test.robot 18:15:11 api-slas.robot' 18:15:11 ++ SUITES='api-test.robot 18:15:11 api-slas.robot' 18:15:11 ++ ROBOT_VARIABLES='-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 18:15:11 -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' 18:15:11 + load_set 18:15:11 + _setopts=hxB 18:15:11 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:15:11 ++ tr : ' ' 18:15:11 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:15:11 + set +o braceexpand 18:15:11 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:15:11 + set +o hashall 18:15:11 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:15:11 + set +o interactive-comments 18:15:11 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:15:11 + set +o xtrace 18:15:11 ++ echo hxB 18:15:11 ++ sed 's/./& /g' 18:15:11 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:15:11 + set +h 18:15:11 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:15:11 + set +x 18:15:11 + docker_stats 18:15:11 + tee /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api/_sysinfo-1-after-setup.txt 18:15:11 ++ uname -s 18:15:11 + '[' Linux == Darwin ']' 18:15:11 + sh -c 'top -bn1 | head -3' 18:15:12 top - 18:15:12 up 4 min, 0 users, load average: 1.89, 0.95, 0.38 18:15:12 Tasks: 180 total, 1 running, 102 sleeping, 0 stopped, 0 zombie 18:15:12 %Cpu(s): 9.8 us, 1.9 sy, 0.0 ni, 83.1 id, 5.2 wa, 0.0 hi, 0.0 si, 0.1 st 18:15:12 + echo 18:15:12 + sh -c 'free -h' 18:15:12 18:15:12 total used free shared buff/cache available 18:15:12 Mem: 31G 1.5G 25G 1.0M 4.0G 29G 18:15:12 Swap: 1.0G 0B 1.0G 18:15:12 + echo 18:15:12 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 18:15:12 18:15:12 NAMES STATUS 18:15:12 policy-api Up 25 seconds 18:15:12 grafana Up 29 seconds 18:15:12 mariadb Up 28 seconds 18:15:12 prometheus Up 30 seconds 18:15:12 + echo 18:15:12 + docker stats --no-stream 18:15:12 18:15:14 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 18:15:14 4af0bf542466 policy-api 0.61% 551.8MiB / 31.41GiB 1.72% 998kB / 710kB 0B / 0B 55 18:15:14 2cbaed62607a grafana 0.04% 52.14MiB / 31.41GiB 0.16% 17.6kB / 3.08kB 0B / 23.7MB 19 18:15:14 9f693b1f4c44 mariadb 0.02% 100MiB / 31.41GiB 0.31% 986kB / 1.18MB 11.1MB / 67.8MB 25 18:15:14 51241dfdfb79 prometheus 0.00% 18.66MiB / 31.41GiB 0.06% 1.38kB / 0B 4.1kB / 0B 13 18:15:14 + echo 18:15:14 18:15:14 + cd /tmp/tmp.koHyd8ewn1 18:15:14 + echo 'Reading the testplan:' 18:15:14 Reading the testplan: 18:15:14 + echo 'api-test.robot 18:15:14 api-slas.robot' 18:15:14 + egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' 18:15:14 + sed 's|^|/w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/|' 18:15:14 + cat testplan.txt 18:15:14 /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-test.robot 18:15:14 /w/workspace/policy-api-montreal-project-csit-api/csit/resources/tests/api-slas.robot 18:15:14 ++ xargs 18:15:14 + 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' 18:15:14 + echo 'ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 18:15:14 -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' 18:15:14 ROBOT_VARIABLES=-v POLICY_API_IP:localhost:30002 -v PROMETHEUS_IP:localhost:30259 18:15:14 -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 18:15:14 + 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 ...' 18:15:14 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 ... 18:15:14 + relax_set 18:15:14 + set +e 18:15:14 + set +o pipefail 18:15:14 + 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 18:15:14 ============================================================================== 18:15:14 api 18:15:14 ============================================================================== 18:15:15 api.Api-Test 18:15:15 ============================================================================== 18:15:15 Healthcheck :: Verify policy api health check | PASS | 18:15:15 ------------------------------------------------------------------------------ 18:15:17 RetrievePolicyTypes :: Retrieve all policy types | PASS | 18:15:17 ------------------------------------------------------------------------------ 18:15:17 CreateTCAPolicyTypeV1 :: Create an existing policy type with modif... | PASS | 18:15:17 ------------------------------------------------------------------------------ 18:15:17 CreateTCAPolicyTypeV2 :: Create an existing policy type with modif... | PASS | 18:15:17 ------------------------------------------------------------------------------ 18:15:18 CreateTCAPolicyTypeV3 :: Create a policy type named 'onap.policies... | PASS | 18:15:18 ------------------------------------------------------------------------------ 18:15:18 RetrieveMonitoringPolicyTypes :: Retrieve all monitoring related p... | PASS | 18:15:18 ------------------------------------------------------------------------------ 18:15:18 CreateNewMonitoringPolicyV1 :: Create a policy named 'onap.restart... | PASS | 18:15:18 ------------------------------------------------------------------------------ 18:15:18 CreateNewMonitoringPolicyV1Again :: Create an existing policy with... | PASS | 18:15:18 ------------------------------------------------------------------------------ 18:15:19 CreateNewMonitoringPolicyV2 :: Create a policy named 'onap.restart... | PASS | 18:15:19 ------------------------------------------------------------------------------ 18:15:19 CreateNodeTemplates :: Create node templates in database using spe... | PASS | 18:15:19 ------------------------------------------------------------------------------ 18:15:19 RetrievePoliciesOfType :: Retrieve all policies belonging to a spe... | PASS | 18:15:19 ------------------------------------------------------------------------------ 18:15:20 RetrieveAllPolicies :: Retrieve all policies | PASS | 18:15:20 ------------------------------------------------------------------------------ 18:15:20 RetrieveSpecificPolicy :: Retrieve a policy named 'onap.restart.tc... | PASS | 18:15:20 ------------------------------------------------------------------------------ 18:15:20 RetrieveAllNodeTemplates :: Retrieve all node templates | PASS | 18:15:20 ------------------------------------------------------------------------------ 18:15:20 RetrieveSpecificNodeTemplate :: Retrieve a node template named 'ap... | PASS | 18:15:20 ------------------------------------------------------------------------------ 18:15:20 DeleteSpecificNodeTemplate :: Delete a node template named 'apexMe... | PASS | 18:15:20 ------------------------------------------------------------------------------ 18:15:21 DeleteSpecificPolicy :: Delete a policy named 'onap.restart.tca' a... | PASS | 18:15:21 ------------------------------------------------------------------------------ 18:15:21 DeleteSpecificPolicyV2 :: Delete a policy named 'onap.restart.tca'... | PASS | 18:15:21 ------------------------------------------------------------------------------ 18:15:21 DeleteSpecificPolicyTypeV1 :: Delete a policy type named 'onap.pol... | PASS | 18:15:21 ------------------------------------------------------------------------------ 18:15:21 DeleteSpecificPolicyTypeV2 :: Delete a policy type named 'onap.pol... | PASS | 18:15:21 ------------------------------------------------------------------------------ 18:15:22 DeleteSpecificPolicyTypeV3 :: Delete a policy type named 'onap.pol... | PASS | 18:15:22 ------------------------------------------------------------------------------ 18:15:22 Metrics :: Verify policy-api is exporting prometheus metrics | PASS | 18:15:22 ------------------------------------------------------------------------------ 18:15:22 api.Api-Test | PASS | 18:15:22 22 tests, 22 passed, 0 failed 18:15:22 ============================================================================== 18:15:22 api.Api-Slas 18:15:22 ============================================================================== 18:16:22 WaitForPrometheusServer :: Sleep time to wait for Prometheus serve... | PASS | 18:16:22 ------------------------------------------------------------------------------ 18:16:22 ValidateResponseTimeForHealthcheck :: Validate component healthche... | PASS | 18:16:22 ------------------------------------------------------------------------------ 18:16:22 ValidateResponseTimeQueryPolicies :: Validate query policies respo... | PASS | 18:16:22 ------------------------------------------------------------------------------ 18:16:22 ValidateResponseTimeQueryPolicyTypeListVersions :: Validate query ... | PASS | 18:16:22 ------------------------------------------------------------------------------ 18:16:22 ValidateResponseTimeQueryPolicyVersion :: Validate query policy by... | PASS | 18:16:22 ------------------------------------------------------------------------------ 18:16:22 ValidateResponseTimeCreatePolicy :: Validate response time for cre... | PASS | 18:16:22 ------------------------------------------------------------------------------ 18:16:22 ValidateResponseTimeCreatePolicyType :: Validate response time for... | PASS | 18:16:22 ------------------------------------------------------------------------------ 18:16:22 ValidateResponseTimeDeletePolicy :: Validate response time for del... | PASS | 18:16:22 ------------------------------------------------------------------------------ 18:16:22 ValidateResponseTimeDeletePolicyType :: Validate response time for... | PASS | 18:16:22 ------------------------------------------------------------------------------ 18:16:22 api.Api-Slas | PASS | 18:16:22 9 tests, 9 passed, 0 failed 18:16:22 ============================================================================== 18:16:22 api | PASS | 18:16:22 31 tests, 31 passed, 0 failed 18:16:22 ============================================================================== 18:16:22 Output: /tmp/tmp.koHyd8ewn1/output.xml 18:16:22 Log: /tmp/tmp.koHyd8ewn1/log.html 18:16:22 Report: /tmp/tmp.koHyd8ewn1/report.html 18:16:22 + RESULT=0 18:16:22 + load_set 18:16:22 + _setopts=hxB 18:16:22 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:16:22 ++ tr : ' ' 18:16:22 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:22 + set +o braceexpand 18:16:22 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:22 + set +o hashall 18:16:22 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:22 + set +o interactive-comments 18:16:22 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:22 + set +o xtrace 18:16:22 ++ echo hxB 18:16:22 ++ sed 's/./& /g' 18:16:22 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:22 + set +h 18:16:22 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:22 + set +x 18:16:22 + echo 'RESULT: 0' 18:16:22 RESULT: 0 18:16:22 + exit 0 18:16:22 + on_exit 18:16:22 + rc=0 18:16:22 + [[ -n /w/workspace/policy-api-montreal-project-csit-api ]] 18:16:22 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 18:16:22 NAMES STATUS 18:16:22 policy-api Up About a minute 18:16:22 grafana Up About a minute 18:16:22 mariadb Up About a minute 18:16:22 prometheus Up About a minute 18:16:22 + docker_stats 18:16:22 ++ uname -s 18:16:22 + '[' Linux == Darwin ']' 18:16:22 + sh -c 'top -bn1 | head -3' 18:16:22 top - 18:16:22 up 5 min, 0 users, load average: 0.81, 0.84, 0.39 18:16:22 Tasks: 178 total, 1 running, 100 sleeping, 0 stopped, 0 zombie 18:16:22 %Cpu(s): 8.3 us, 1.6 sy, 0.0 ni, 85.8 id, 4.3 wa, 0.0 hi, 0.0 si, 0.0 st 18:16:22 + echo 18:16:22 18:16:22 + sh -c 'free -h' 18:16:22 total used free shared buff/cache available 18:16:22 Mem: 31G 1.8G 25G 1.0M 4.0G 29G 18:16:22 Swap: 1.0G 0B 1.0G 18:16:22 + echo 18:16:22 18:16:22 + docker ps --format 'table {{ .Names }}\t{{ .Status }}' 18:16:22 NAMES STATUS 18:16:22 policy-api Up About a minute 18:16:22 grafana Up About a minute 18:16:22 mariadb Up About a minute 18:16:22 prometheus Up About a minute 18:16:22 + echo 18:16:22 18:16:22 + docker stats --no-stream 18:16:25 CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 18:16:25 4af0bf542466 policy-api 0.12% 888.7MiB / 31.41GiB 2.76% 7MB / 2.55MB 0B / 0B 55 18:16:25 2cbaed62607a grafana 1.26% 58.68MiB / 31.41GiB 0.18% 18.7kB / 4.31kB 0B / 23.7MB 19 18:16:25 9f693b1f4c44 mariadb 0.02% 101.1MiB / 31.41GiB 0.31% 2.39MB / 7.04MB 11.1MB / 68.1MB 18 18:16:25 51241dfdfb79 prometheus 0.00% 25.19MiB / 31.41GiB 0.08% 55.4kB / 6.49kB 4.1kB / 0B 13 18:16:25 + echo 18:16:25 18:16:25 + source_safely /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh 18:16:25 + '[' -z /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh ']' 18:16:25 + relax_set 18:16:25 + set +e 18:16:25 + set +o pipefail 18:16:25 + . /w/workspace/policy-api-montreal-project-csit-api/compose/stop-compose.sh 18:16:25 ++ echo 'Shut down started!' 18:16:25 Shut down started! 18:16:25 ++ '[' -z /w/workspace/policy-api-montreal-project-csit-api ']' 18:16:25 ++ COMPOSE_FOLDER=/w/workspace/policy-api-montreal-project-csit-api/compose 18:16:25 ++ cd /w/workspace/policy-api-montreal-project-csit-api/compose 18:16:25 ++ source export-ports.sh 18:16:25 ++ source get-versions.sh 18:16:31 ++ echo 'Collecting logs from docker compose containers...' 18:16:31 Collecting logs from docker compose containers... 18:16:31 ++ docker-compose logs 18:16:32 ++ cat docker_compose.log 18:16:32 Attaching to policy-api, policy-db-migrator, grafana, mariadb, prometheus 18:16:32 grafana | logger=settings t=2024-01-08T18:14:42.325995583Z level=info msg="Starting Grafana" version=10.2.3 commit=1e84fede543acc892d2a2515187e545eb047f237 branch=HEAD compiled=2023-12-18T15:46:07Z 18:16:32 grafana | logger=settings t=2024-01-08T18:14:42.326329657Z level=info msg="Config loaded from" file=/usr/share/grafana/conf/defaults.ini 18:16:32 grafana | logger=settings t=2024-01-08T18:14:42.326372317Z level=info msg="Config loaded from" file=/etc/grafana/grafana.ini 18:16:32 grafana | logger=settings t=2024-01-08T18:14:42.326399227Z level=info msg="Config overridden from command line" arg="default.paths.data=/var/lib/grafana" 18:16:32 grafana | logger=settings t=2024-01-08T18:14:42.326432588Z level=info msg="Config overridden from command line" arg="default.paths.logs=/var/log/grafana" 18:16:32 grafana | logger=settings t=2024-01-08T18:14:42.326458668Z level=info msg="Config overridden from command line" arg="default.paths.plugins=/var/lib/grafana/plugins" 18:16:32 grafana | logger=settings t=2024-01-08T18:14:42.326499458Z level=info msg="Config overridden from command line" arg="default.paths.provisioning=/etc/grafana/provisioning" 18:16:32 grafana | logger=settings t=2024-01-08T18:14:42.326542189Z level=info msg="Config overridden from command line" arg="default.log.mode=console" 18:16:32 grafana | logger=settings t=2024-01-08T18:14:42.326566619Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_DATA=/var/lib/grafana" 18:16:32 grafana | logger=settings t=2024-01-08T18:14:42.3266132Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_LOGS=/var/log/grafana" 18:16:32 grafana | logger=settings t=2024-01-08T18:14:42.32665326Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins" 18:16:32 grafana | logger=settings t=2024-01-08T18:14:42.326694941Z level=info msg="Config overridden from Environment variable" var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning" 18:16:32 grafana | logger=settings t=2024-01-08T18:14:42.326740871Z level=info msg=Target target=[all] 18:16:32 grafana | logger=settings t=2024-01-08T18:14:42.326774912Z level=info msg="Path Home" path=/usr/share/grafana 18:16:32 grafana | logger=settings t=2024-01-08T18:14:42.326807332Z level=info msg="Path Data" path=/var/lib/grafana 18:16:32 grafana | logger=settings t=2024-01-08T18:14:42.326839262Z level=info msg="Path Logs" path=/var/log/grafana 18:16:32 grafana | logger=settings t=2024-01-08T18:14:42.326899473Z level=info msg="Path Plugins" path=/var/lib/grafana/plugins 18:16:32 grafana | logger=settings t=2024-01-08T18:14:42.326953054Z level=info msg="Path Provisioning" path=/etc/grafana/provisioning 18:16:32 grafana | logger=settings t=2024-01-08T18:14:42.326987604Z level=info msg="App mode production" 18:16:32 grafana | logger=sqlstore t=2024-01-08T18:14:42.327293238Z level=info msg="Connecting to DB" dbtype=sqlite3 18:16:32 grafana | logger=sqlstore t=2024-01-08T18:14:42.327344058Z level=info msg="Creating SQLite database file" path=/var/lib/grafana/grafana.db 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.327972606Z level=info msg="Starting DB migrations" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.328869867Z level=info msg="Executing migration" id="create migration_log table" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.329657426Z level=info msg="Migration successfully executed" id="create migration_log table" duration=786.929µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.336395596Z level=info msg="Executing migration" id="create user table" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.336989813Z level=info msg="Migration successfully executed" id="create user table" duration=593.657µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.34098055Z level=info msg="Executing migration" id="add unique index user.login" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.3418453Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=864.45µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.400316471Z level=info msg="Executing migration" id="add unique index user.email" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.401689757Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=1.375616ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.407043181Z level=info msg="Executing migration" id="drop index UQE_user_login - v1" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.408192224Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=1.149393ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.411591524Z level=info msg="Executing migration" id="drop index UQE_user_email - v1" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.412737598Z level=info msg="Migration successfully executed" id="drop index UQE_user_email - v1" duration=1.145924ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.416441532Z level=info msg="Executing migration" id="Rename table user to user_v1 - v1" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.419336876Z level=info msg="Migration successfully executed" id="Rename table user to user_v1 - v1" duration=2.899964ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.422510643Z level=info msg="Executing migration" id="create user table v2" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.423393454Z level=info msg="Migration successfully executed" id="create user table v2" duration=877.571µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.429420645Z level=info msg="Executing migration" id="create index UQE_user_login - v2" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.43069247Z level=info msg="Migration successfully executed" id="create index UQE_user_login - v2" duration=1.269495ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.434432495Z level=info msg="Executing migration" id="create index UQE_user_email - v2" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.435647688Z level=info msg="Migration successfully executed" id="create index UQE_user_email - v2" duration=1.214393ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.439762987Z level=info msg="Executing migration" id="copy data_source v1 to v2" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.440585807Z level=info msg="Migration successfully executed" id="copy data_source v1 to v2" duration=822.05µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.446827961Z level=info msg="Executing migration" id="Drop old table user_v1" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.447824312Z level=info msg="Migration successfully executed" id="Drop old table user_v1" duration=995.901µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.451994942Z level=info msg="Executing migration" id="Add column help_flags1 to user table" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.453221676Z level=info msg="Migration successfully executed" id="Add column help_flags1 to user table" duration=1.226284ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.456506205Z level=info msg="Executing migration" id="Update user table charset" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.456573165Z level=info msg="Migration successfully executed" id="Update user table charset" duration=67.62µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.459820575Z level=info msg="Executing migration" id="Add last_seen_at column to user" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.461809288Z level=info msg="Migration successfully executed" id="Add last_seen_at column to user" duration=1.987602ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.467552606Z level=info msg="Executing migration" id="Add missing user data" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.468000492Z level=info msg="Migration successfully executed" id="Add missing user data" duration=444.146µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.471725575Z level=info msg="Executing migration" id="Add is_disabled column to user" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.473586738Z level=info msg="Migration successfully executed" id="Add is_disabled column to user" duration=1.861293ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.477117749Z level=info msg="Executing migration" id="Add index user.login/user.email" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.477967889Z level=info msg="Migration successfully executed" id="Add index user.login/user.email" duration=851.58µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.483649506Z level=info msg="Executing migration" id="Add is_service_account column to user" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.48562384Z level=info msg="Migration successfully executed" id="Add is_service_account column to user" duration=1.973873ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.489289163Z level=info msg="Executing migration" id="Update is_service_account column to nullable" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.500617196Z level=info msg="Migration successfully executed" id="Update is_service_account column to nullable" duration=11.328373ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.504435162Z level=info msg="Executing migration" id="create temp user table v1-7" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.505017949Z level=info msg="Migration successfully executed" id="create temp user table v1-7" duration=579.297µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.508261597Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v1-7" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.508862244Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v1-7" duration=600.477µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.516809508Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v1-7" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.518034952Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v1-7" duration=1.225084ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.521463553Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v1-7" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.522695258Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v1-7" duration=1.231505ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.52631445Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v1-7" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.527511925Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v1-7" duration=1.197145ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.533957291Z level=info msg="Executing migration" id="Update temp_user table charset" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.534041612Z level=info msg="Migration successfully executed" id="Update temp_user table charset" duration=85.131µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.536797314Z level=info msg="Executing migration" id="drop index IDX_temp_user_email - v1" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.537968488Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_email - v1" duration=1.162894ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.541843434Z level=info msg="Executing migration" id="drop index IDX_temp_user_org_id - v1" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.543008387Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_org_id - v1" duration=1.164773ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.548748765Z level=info msg="Executing migration" id="drop index IDX_temp_user_code - v1" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.549553135Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_code - v1" duration=803.79µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.552708362Z level=info msg="Executing migration" id="drop index IDX_temp_user_status - v1" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.553452191Z level=info msg="Migration successfully executed" id="drop index IDX_temp_user_status - v1" duration=746.249µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.556435766Z level=info msg="Executing migration" id="Rename table temp_user to temp_user_tmp_qwerty - v1" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.560343382Z level=info msg="Migration successfully executed" id="Rename table temp_user to temp_user_tmp_qwerty - v1" duration=3.907086ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.565556864Z level=info msg="Executing migration" id="create temp_user v2" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.566395625Z level=info msg="Migration successfully executed" id="create temp_user v2" duration=838.221µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.56938235Z level=info msg="Executing migration" id="create index IDX_temp_user_email - v2" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.570229159Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_email - v2" duration=846.509µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.573284635Z level=info msg="Executing migration" id="create index IDX_temp_user_org_id - v2" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.574096965Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_org_id - v2" duration=812.27µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.57958992Z level=info msg="Executing migration" id="create index IDX_temp_user_code - v2" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.58045063Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_code - v2" duration=861.85µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.583668868Z level=info msg="Executing migration" id="create index IDX_temp_user_status - v2" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.584516168Z level=info msg="Migration successfully executed" id="create index IDX_temp_user_status - v2" duration=848.52µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.587601615Z level=info msg="Executing migration" id="copy temp_user v1 to v2" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.58806923Z level=info msg="Migration successfully executed" id="copy temp_user v1 to v2" duration=467.405µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.591591832Z level=info msg="Executing migration" id="drop temp_user_tmp_qwerty" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.592708415Z level=info msg="Migration successfully executed" id="drop temp_user_tmp_qwerty" duration=1.118963ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.59908003Z level=info msg="Executing migration" id="Set created for temp users that will otherwise prematurely expire" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.599732289Z level=info msg="Migration successfully executed" id="Set created for temp users that will otherwise prematurely expire" duration=652.429µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.603780306Z level=info msg="Executing migration" id="create star table" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.605062551Z level=info msg="Migration successfully executed" id="create star table" duration=1.280184ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.60916139Z level=info msg="Executing migration" id="add unique index star.user_id_dashboard_id" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.610204952Z level=info msg="Migration successfully executed" id="add unique index star.user_id_dashboard_id" duration=1.044492ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.615716247Z level=info msg="Executing migration" id="create org table v1" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.616505417Z level=info msg="Migration successfully executed" id="create org table v1" duration=793.11µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.621297273Z level=info msg="Executing migration" id="create index UQE_org_name - v1" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.622095883Z level=info msg="Migration successfully executed" id="create index UQE_org_name - v1" duration=800.26µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.625163749Z level=info msg="Executing migration" id="create org_user table v1" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.625970478Z level=info msg="Migration successfully executed" id="create org_user table v1" duration=804.559µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.629793323Z level=info msg="Executing migration" id="create index IDX_org_user_org_id - v1" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.631039768Z level=info msg="Migration successfully executed" id="create index IDX_org_user_org_id - v1" duration=1.246415ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.642747247Z level=info msg="Executing migration" id="create index UQE_org_user_org_id_user_id - v1" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.644522808Z level=info msg="Migration successfully executed" id="create index UQE_org_user_org_id_user_id - v1" duration=1.775441ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.648558095Z level=info msg="Executing migration" id="create index IDX_org_user_user_id - v1" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.649488666Z level=info msg="Migration successfully executed" id="create index IDX_org_user_user_id - v1" duration=931.941µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.652516052Z level=info msg="Executing migration" id="Update org table charset" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.652611713Z level=info msg="Migration successfully executed" id="Update org table charset" duration=95.311µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.655462206Z level=info msg="Executing migration" id="Update org_user table charset" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.655562207Z level=info msg="Migration successfully executed" id="Update org_user table charset" duration=99.711µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.660556487Z level=info msg="Executing migration" id="Migrate all Read Only Viewers to Viewers" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.66081201Z level=info msg="Migration successfully executed" id="Migrate all Read Only Viewers to Viewers" duration=255.133µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.664616096Z level=info msg="Executing migration" id="create dashboard table" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.665377434Z level=info msg="Migration successfully executed" id="create dashboard table" duration=760.418µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.668798874Z level=info msg="Executing migration" id="add index dashboard.account_id" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.67009163Z level=info msg="Migration successfully executed" id="add index dashboard.account_id" duration=1.292346ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.673718023Z level=info msg="Executing migration" id="add unique index dashboard_account_id_slug" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.675131989Z level=info msg="Migration successfully executed" id="add unique index dashboard_account_id_slug" duration=1.415706ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.68105602Z level=info msg="Executing migration" id="create dashboard_tag table" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.681764268Z level=info msg="Migration successfully executed" id="create dashboard_tag table" duration=707.768µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.685636494Z level=info msg="Executing migration" id="add unique index dashboard_tag.dasboard_id_term" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.687101231Z level=info msg="Migration successfully executed" id="add unique index dashboard_tag.dasboard_id_term" duration=1.464307ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.691006047Z level=info msg="Executing migration" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.692378134Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_tag_dashboard_id_term - v1" duration=1.372357ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.699669489Z level=info msg="Executing migration" id="Rename table dashboard to dashboard_v1 - v1" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.709214903Z level=info msg="Migration successfully executed" id="Rename table dashboard to dashboard_v1 - v1" duration=9.548884ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.712320769Z level=info msg="Executing migration" id="create dashboard v2" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.712863546Z level=info msg="Migration successfully executed" id="create dashboard v2" duration=543.377µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.716286856Z level=info msg="Executing migration" id="create index IDX_dashboard_org_id - v2" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.717066995Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_org_id - v2" duration=768.459µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.724004657Z level=info msg="Executing migration" id="create index UQE_dashboard_org_id_slug - v2" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.724881857Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_org_id_slug - v2" duration=877.16µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.777427268Z level=info msg="Executing migration" id="copy dashboard v1 to v2" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.778216448Z level=info msg="Migration successfully executed" id="copy dashboard v1 to v2" duration=790.909µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.892374617Z level=info msg="Executing migration" id="drop table dashboard_v1" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.89421723Z level=info msg="Migration successfully executed" id="drop table dashboard_v1" duration=1.821342ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.984440896Z level=info msg="Executing migration" id="alter dashboard.data to mediumtext v1" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:42.985589109Z level=info msg="Migration successfully executed" id="alter dashboard.data to mediumtext v1" duration=1.400126ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:43.240108424Z level=info msg="Executing migration" id="Add column updated_by in dashboard - v2" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:43.243287298Z level=info msg="Migration successfully executed" id="Add column updated_by in dashboard - v2" duration=3.181104ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:43.400082959Z level=info msg="Executing migration" id="Add column created_by in dashboard - v2" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:43.40366306Z level=info msg="Migration successfully executed" id="Add column created_by in dashboard - v2" duration=3.583291ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:43.552765265Z level=info msg="Executing migration" id="Add column gnetId in dashboard" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:43.556364264Z level=info msg="Migration successfully executed" id="Add column gnetId in dashboard" duration=3.600389ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:43.890076545Z level=info msg="Executing migration" id="Add index for gnetId in dashboard" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:43.892781002Z level=info msg="Migration successfully executed" id="Add index for gnetId in dashboard" duration=2.717737ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:43.973244172Z level=info msg="Executing migration" id="Add column plugin_id in dashboard" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:43.975586014Z level=info msg="Migration successfully executed" id="Add column plugin_id in dashboard" duration=2.344752ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:44.386890534Z level=info msg="Executing migration" id="Add index for plugin_id in dashboard" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:44.388447341Z level=info msg="Migration successfully executed" id="Add index for plugin_id in dashboard" duration=1.558598ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:44.423576011Z level=info msg="Executing migration" id="Add index for dashboard_id in dashboard_tag" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:44.432637436Z level=info msg="Migration successfully executed" id="Add index for dashboard_id in dashboard_tag" duration=9.062806ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:44.608924029Z level=info msg="Executing migration" id="Update dashboard table charset" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:44.60900351Z level=info msg="Migration successfully executed" id="Update dashboard table charset" duration=67.731µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:44.791757628Z level=info msg="Executing migration" id="Update dashboard_tag table charset" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:44.791822619Z level=info msg="Migration successfully executed" id="Update dashboard_tag table charset" duration=66.151µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:44.81590292Z level=info msg="Executing migration" id="Add column folder_id in dashboard" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:44.81939585Z level=info msg="Migration successfully executed" id="Add column folder_id in dashboard" duration=3.48051ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:44.828812169Z level=info msg="Executing migration" id="Add column isFolder in dashboard" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:44.831289918Z level=info msg="Migration successfully executed" id="Add column isFolder in dashboard" duration=2.477229ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:44.835943523Z level=info msg="Executing migration" id="Add column has_acl in dashboard" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:44.839526334Z level=info msg="Migration successfully executed" id="Add column has_acl in dashboard" duration=3.581761ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:44.847533688Z level=info msg="Executing migration" id="Add column uid in dashboard" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:44.849598722Z level=info msg="Migration successfully executed" id="Add column uid in dashboard" duration=2.065564ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:44.853209734Z level=info msg="Executing migration" id="Update uid column values in dashboard" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:44.853570678Z level=info msg="Migration successfully executed" id="Update uid column values in dashboard" duration=361.264µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:44.856788315Z level=info msg="Executing migration" id="Add unique index dashboard_org_id_uid" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:44.857628136Z level=info msg="Migration successfully executed" id="Add unique index dashboard_org_id_uid" duration=839.111µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:44.86493682Z level=info msg="Executing migration" id="Remove unique index org_id_slug" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:44.866188635Z level=info msg="Migration successfully executed" id="Remove unique index org_id_slug" duration=1.251705ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:44.869476503Z level=info msg="Executing migration" id="Update dashboard title length" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:44.869522534Z level=info msg="Migration successfully executed" id="Update dashboard title length" duration=53.411µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:44.87608671Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_title_folder_id" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:44.877506997Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_title_folder_id" duration=1.422547ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:44.881978859Z level=info msg="Executing migration" id="create dashboard_provisioning" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:44.882999081Z level=info msg="Migration successfully executed" id="create dashboard_provisioning" duration=1.020992ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:44.927892934Z level=info msg="Executing migration" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:44.935675034Z level=info msg="Migration successfully executed" id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1" duration=7.78333ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:44.975187754Z level=info msg="Executing migration" id="create dashboard_provisioning v2" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:44.976404137Z level=info msg="Migration successfully executed" id="create dashboard_provisioning v2" duration=1.218844ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:44.982245635Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id - v2" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:44.983255397Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id - v2" duration=1.011192ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:44.99034003Z level=info msg="Executing migration" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:44.99123543Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_provisioning_dashboard_id_name - v2" duration=895.4µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:44.99799603Z level=info msg="Executing migration" id="copy dashboard_provisioning v1 to v2" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:44.998407354Z level=info msg="Migration successfully executed" id="copy dashboard_provisioning v1 to v2" duration=413.484µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.003659926Z level=info msg="Executing migration" id="drop dashboard_provisioning_tmp_qwerty" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.004453425Z level=info msg="Migration successfully executed" id="drop dashboard_provisioning_tmp_qwerty" duration=793.489µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.011766345Z level=info msg="Executing migration" id="Add check_sum column" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.013431165Z level=info msg="Migration successfully executed" id="Add check_sum column" duration=1.6669ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.020941036Z level=info msg="Executing migration" id="Add index for dashboard_title" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.022115959Z level=info msg="Migration successfully executed" id="Add index for dashboard_title" duration=1.176913ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.028295773Z level=info msg="Executing migration" id="delete tags for deleted dashboards" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.028573248Z level=info msg="Migration successfully executed" id="delete tags for deleted dashboards" duration=277.905µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.034236166Z level=info msg="Executing migration" id="delete stars for deleted dashboards" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.034504479Z level=info msg="Migration successfully executed" id="delete stars for deleted dashboards" duration=259.943µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.042324312Z level=info msg="Executing migration" id="Add index for dashboard_is_folder" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.043821021Z level=info msg="Migration successfully executed" id="Add index for dashboard_is_folder" duration=1.497049ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.050141527Z level=info msg="Executing migration" id="Add isPublic for dashboard" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.053519937Z level=info msg="Migration successfully executed" id="Add isPublic for dashboard" duration=3.38377ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.056800118Z level=info msg="Executing migration" id="create data_source table" 18:16:32 policy-db-migrator | Waiting for mariadb port 3306... 18:16:32 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:32 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:32 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:32 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:32 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:32 policy-db-migrator | nc: connect to mariadb (172.17.0.3) port 3306 (tcp) failed: Connection refused 18:16:32 policy-db-migrator | Connection to mariadb (172.17.0.3) 3306 port [tcp/mysql] succeeded! 18:16:32 policy-db-migrator | 321 blocks 18:16:32 policy-db-migrator | Preparing upgrade release version: 0800 18:16:32 policy-db-migrator | Preparing upgrade release version: 0900 18:16:32 policy-db-migrator | Preparing upgrade release version: 1000 18:16:32 policy-db-migrator | Preparing upgrade release version: 1100 18:16:32 policy-db-migrator | Preparing upgrade release version: 1200 18:16:32 policy-db-migrator | Preparing upgrade release version: 1300 18:16:32 policy-db-migrator | Done 18:16:32 policy-db-migrator | name version 18:16:32 policy-db-migrator | policyadmin 0 18:16:32 policy-db-migrator | policyadmin: upgrade available: 0 -> 1300 18:16:32 policy-db-migrator | upgrade: 0 -> 1300 18:16:32 policy-db-migrator | 18:16:32 policy-db-migrator | > upgrade 0100-jpapdpgroup_properties.sql 18:16:32 policy-db-migrator | -------------- 18:16:32 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) 18:16:32 policy-db-migrator | -------------- 18:16:32 policy-db-migrator | 18:16:32 policy-db-migrator | 18:16:32 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 18:16:32 policy-db-migrator | -------------- 18:16:32 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) 18:16:32 policy-db-migrator | -------------- 18:16:32 policy-db-migrator | 18:16:32 policy-db-migrator | 18:16:32 policy-db-migrator | > upgrade 0120-jpapdpsubgroup_policies.sql 18:16:32 policy-db-migrator | -------------- 18:16:32 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) 18:16:32 policy-db-migrator | -------------- 18:16:32 policy-db-migrator | 18:16:32 policy-db-migrator | 18:16:32 policy-db-migrator | > upgrade 0130-jpapdpsubgroup_properties.sql 18:16:32 policy-db-migrator | -------------- 18:16:32 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) 18:16:32 policy-db-migrator | -------------- 18:16:32 policy-db-migrator | 18:16:32 policy-db-migrator | 18:16:32 policy-db-migrator | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql 18:16:32 policy-db-migrator | -------------- 18:16:32 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) 18:16:32 policy-db-migrator | -------------- 18:16:32 policy-db-migrator | 18:16:32 policy-db-migrator | 18:16:32 policy-db-migrator | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql 18:16:32 policy-db-migrator | -------------- 18:16:32 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) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.057667198Z level=info msg="Migration successfully executed" id="create data_source table" duration=866.98µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.063542569Z level=info msg="Executing migration" id="add index data_source.account_id" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.064593641Z level=info msg="Migration successfully executed" id="add index data_source.account_id" duration=1.041752ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.069048266Z level=info msg="Executing migration" id="add unique index data_source.account_id_name" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.07026038Z level=info msg="Migration successfully executed" id="add unique index data_source.account_id_name" duration=1.211534ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.074643313Z level=info msg="Executing migration" id="drop index IDX_data_source_account_id - v1" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.075394832Z level=info msg="Migration successfully executed" id="drop index IDX_data_source_account_id - v1" duration=751.459µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.082454238Z level=info msg="Executing migration" id="drop index UQE_data_source_account_id_name - v1" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.083532451Z level=info msg="Migration successfully executed" id="drop index UQE_data_source_account_id_name - v1" duration=1.078403ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.086325925Z level=info msg="Executing migration" id="Rename table data_source to data_source_v1 - v1" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.09501159Z level=info msg="Migration successfully executed" id="Rename table data_source to data_source_v1 - v1" duration=8.684515ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.098782166Z level=info msg="Executing migration" id="create data_source table v2" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.099593365Z level=info msg="Migration successfully executed" id="create data_source table v2" duration=796.529µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.107327059Z level=info msg="Executing migration" id="create index IDX_data_source_org_id - v2" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.10913108Z level=info msg="Migration successfully executed" id="create index IDX_data_source_org_id - v2" duration=1.802351ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.114236532Z level=info msg="Executing migration" id="create index UQE_data_source_org_id_name - v2" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.115789151Z level=info msg="Migration successfully executed" id="create index UQE_data_source_org_id_name - v2" duration=1.543249ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.120492988Z level=info msg="Executing migration" id="Drop old table data_source_v1 #2" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.121085686Z level=info msg="Migration successfully executed" id="Drop old table data_source_v1 #2" duration=592.428µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.127194719Z level=info msg="Executing migration" id="Add column with_credentials" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.130995825Z level=info msg="Migration successfully executed" id="Add column with_credentials" duration=3.802496ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.135673312Z level=info msg="Executing migration" id="Add secure json data column" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.139963883Z level=info msg="Migration successfully executed" id="Add secure json data column" duration=4.287681ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.144061643Z level=info msg="Executing migration" id="Update data_source table charset" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.144088813Z level=info msg="Migration successfully executed" id="Update data_source table charset" duration=27.74µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.148938733Z level=info msg="Executing migration" id="Update initial version to 1" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.1495343Z level=info msg="Migration successfully executed" id="Update initial version to 1" duration=589.516µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.153836251Z level=info msg="Executing migration" id="Add read_only data column" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.157575187Z level=info msg="Migration successfully executed" id="Add read_only data column" duration=3.738286ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.162809839Z level=info msg="Executing migration" id="Migrate logging ds to loki ds" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.163073864Z level=info msg="Migration successfully executed" id="Migrate logging ds to loki ds" duration=265.635µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.167949542Z level=info msg="Executing migration" id="Update json_data with nulls" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.168242125Z level=info msg="Migration successfully executed" id="Update json_data with nulls" duration=292.803µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.173940974Z level=info msg="Executing migration" id="Add uid column" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.177058453Z level=info msg="Migration successfully executed" id="Add uid column" duration=3.118439ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.1818086Z level=info msg="Executing migration" id="Update uid value" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.182513329Z level=info msg="Migration successfully executed" id="Update uid value" duration=705.18µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.186270454Z level=info msg="Executing migration" id="Add unique index datasource_org_id_uid" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.1876495Z level=info msg="Migration successfully executed" id="Add unique index datasource_org_id_uid" duration=1.382136ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.193207347Z level=info msg="Executing migration" id="add unique index datasource_org_id_is_default" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.194005148Z level=info msg="Migration successfully executed" id="add unique index datasource_org_id_is_default" duration=800.251µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.201028522Z level=info msg="Executing migration" id="create api_key table" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.202149196Z level=info msg="Migration successfully executed" id="create api_key table" duration=1.121244ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.207095415Z level=info msg="Executing migration" id="add index api_key.account_id" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.208624894Z level=info msg="Migration successfully executed" id="add index api_key.account_id" duration=1.529019ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.215621228Z level=info msg="Executing migration" id="add index api_key.key" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.216789373Z level=info msg="Migration successfully executed" id="add index api_key.key" duration=1.167835ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.222626074Z level=info msg="Executing migration" id="add index api_key.account_id_name" 18:16:32 mariadb | 2024-01-08 18:14:43+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 18:16:32 mariadb | 2024-01-08 18:14:43+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' 18:16:32 mariadb | 2024-01-08 18:14:43+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.10.2+maria~ubu2204 started. 18:16:32 mariadb | 2024-01-08 18:14:43+00:00 [Note] [Entrypoint]: Initializing database files 18:16:32 mariadb | 2024-01-08 18:14:44 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 18:16:32 mariadb | 2024-01-08 18:14:44 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 18:16:32 mariadb | 2024-01-08 18:14:44 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 18:16:32 mariadb | 18:16:32 mariadb | 18:16:32 mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! 18:16:32 mariadb | To do so, start the server, then issue the following command: 18:16:32 mariadb | 18:16:32 mariadb | '/usr/bin/mysql_secure_installation' 18:16:32 mariadb | 18:16:32 mariadb | which will also give you the option of removing the test 18:16:32 mariadb | databases and anonymous user created by default. This is 18:16:32 mariadb | strongly recommended for production servers. 18:16:32 mariadb | 18:16:32 mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb 18:16:32 mariadb | 18:16:32 mariadb | Please report any problems at https://mariadb.org/jira 18:16:32 mariadb | 18:16:32 mariadb | The latest information about MariaDB is available at https://mariadb.org/. 18:16:32 mariadb | 18:16:32 mariadb | Consider joining MariaDB's strong and vibrant community: 18:16:32 mariadb | https://mariadb.org/get-involved/ 18:16:32 mariadb | 18:16:32 mariadb | 2024-01-08 18:14:46+00:00 [Note] [Entrypoint]: Database files initialized 18:16:32 mariadb | 2024-01-08 18:14:46+00:00 [Note] [Entrypoint]: Starting temporary server 18:16:32 mariadb | 2024-01-08 18:14:46+00:00 [Note] [Entrypoint]: Waiting for server startup 18:16:32 mariadb | 2024-01-08 18:14:46 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 96 ... 18:16:32 mariadb | 2024-01-08 18:14:46 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.224290643Z level=info msg="Migration successfully executed" id="add index api_key.account_id_name" duration=1.665379ms 18:16:32 policy-api | Waiting for mariadb port 3306... 18:16:32 mariadb | 2024-01-08 18:14:46 0 [Note] InnoDB: Number of transaction pools: 1 18:16:32 policy-db-migrator | 18:16:32 prometheus | ts=2024-01-08T18:14:41.364Z caller=main.go:539 level=info msg="No time or size retention was set so using the default time retention" duration=15d 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.230936014Z level=info msg="Executing migration" id="drop index IDX_api_key_account_id - v1" 18:16:32 policy-api | mariadb (172.17.0.3:3306) open 18:16:32 mariadb | 2024-01-08 18:14:46 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 18:16:32 policy-db-migrator | 18:16:32 prometheus | ts=2024-01-08T18:14:41.364Z caller=main.go:583 level=info msg="Starting Prometheus Server" mode=server version="(version=2.48.1, branch=HEAD, revision=63894216648f0d6be310c9d16fb48293c45c9310)" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.232074598Z level=info msg="Migration successfully executed" id="drop index IDX_api_key_account_id - v1" duration=1.138714ms 18:16:32 policy-api | Waiting for policy-db-migrator port 6824... 18:16:32 mariadb | 2024-01-08 18:14:46 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 18:16:32 policy-db-migrator | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql 18:16:32 prometheus | ts=2024-01-08T18:14:41.364Z caller=main.go:588 level=info build_context="(go=go1.21.5, platform=linux/amd64, user=root@71f108ff5632, date=20231208-23:33:22, tags=netgo,builtinassets,stringlabels)" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.238297763Z level=info msg="Executing migration" id="drop index UQE_api_key_key - v1" 18:16:32 policy-api | policy-db-migrator (172.17.0.5:6824) open 18:16:32 mariadb | 2024-01-08 18:14:46 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 18:16:32 prometheus | ts=2024-01-08T18:14:41.364Z caller=main.go:589 level=info host_details="(Linux 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 prometheus (none))" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.240127595Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_key - v1" duration=1.829792ms 18:16:32 policy-api | Policy api config file: /opt/app/policy/api/etc/apiParameters.yaml 18:16:32 policy-db-migrator | -------------- 18:16:32 mariadb | 2024-01-08 18:14:46 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 18:16:32 policy-api | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.244700521Z level=info msg="Executing migration" id="drop index UQE_api_key_account_id_name - v1" 18:16:32 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) 18:16:32 prometheus | ts=2024-01-08T18:14:41.364Z caller=main.go:590 level=info fd_limits="(soft=1048576, hard=1048576)" 18:16:32 mariadb | 2024-01-08 18:14:46 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.245408939Z level=info msg="Migration successfully executed" id="drop index UQE_api_key_account_id_name - v1" duration=715.698µs 18:16:32 policy-db-migrator | -------------- 18:16:32 prometheus | ts=2024-01-08T18:14:41.364Z caller=main.go:591 level=info vm_limits="(soft=unlimited, hard=unlimited)" 18:16:32 policy-api | . ____ _ __ _ _ 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.251302081Z level=info msg="Executing migration" id="Rename table api_key to api_key_v1 - v1" 18:16:32 policy-db-migrator | 18:16:32 prometheus | ts=2024-01-08T18:14:41.369Z caller=web.go:566 level=info component=web msg="Start listening for connections" address=0.0.0.0:9090 18:16:32 mariadb | 2024-01-08 18:14:46 0 [Note] InnoDB: Completed initialization of buffer pool 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.260226818Z level=info msg="Migration successfully executed" id="Rename table api_key to api_key_v1 - v1" duration=8.924137ms 18:16:32 policy-db-migrator | 18:16:32 prometheus | ts=2024-01-08T18:14:41.370Z caller=main.go:1024 level=info msg="Starting TSDB ..." 18:16:32 policy-api | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 18:16:32 policy-db-migrator | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql 18:16:32 prometheus | ts=2024-01-08T18:14:41.371Z caller=tls_config.go:274 level=info component=web msg="Listening on" address=[::]:9090 18:16:32 mariadb | 2024-01-08 18:14:46 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.267842681Z level=info msg="Executing migration" id="create api_key table v2" 18:16:32 policy-api | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 18:16:32 policy-db-migrator | -------------- 18:16:32 prometheus | ts=2024-01-08T18:14:41.371Z caller=tls_config.go:277 level=info component=web msg="TLS is disabled." http2=false address=[::]:9090 18:16:32 mariadb | 2024-01-08 18:14:46 0 [Note] InnoDB: 128 rollback segments are active. 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.269152126Z level=info msg="Migration successfully executed" id="create api_key table v2" duration=1.309445ms 18:16:32 policy-api | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 18:16:32 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 18:16:32 prometheus | ts=2024-01-08T18:14:41.372Z caller=head.go:601 level=info component=tsdb msg="Replaying on-disk memory mappable chunks if any" 18:16:32 mariadb | 2024-01-08 18:14:46 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.274517611Z level=info msg="Executing migration" id="create index IDX_api_key_org_id - v2" 18:16:32 policy-api | ' |____| .__|_| |_|_| |_\__, | / / / / 18:16:32 policy-db-migrator | -------------- 18:16:32 prometheus | ts=2024-01-08T18:14:41.372Z caller=head.go:682 level=info component=tsdb msg="On-disk memory mappable chunks replay completed" duration=1.98µs 18:16:32 mariadb | 2024-01-08 18:14:46 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.275508824Z level=info msg="Migration successfully executed" id="create index IDX_api_key_org_id - v2" duration=991.823µs 18:16:32 policy-api | =========|_|==============|___/=/_/_/_/ 18:16:32 policy-db-migrator | 18:16:32 prometheus | ts=2024-01-08T18:14:41.372Z caller=head.go:690 level=info component=tsdb msg="Replaying WAL, this may take a while" 18:16:32 mariadb | 2024-01-08 18:14:46 0 [Note] InnoDB: log sequence number 46590; transaction id 14 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.281481506Z level=info msg="Executing migration" id="create index UQE_api_key_key - v2" 18:16:32 policy-api | :: Spring Boot :: (v3.1.4) 18:16:32 policy-db-migrator | 18:16:32 prometheus | ts=2024-01-08T18:14:41.374Z caller=head.go:761 level=info component=tsdb msg="WAL segment loaded" segment=0 maxSegment=0 18:16:32 mariadb | 2024-01-08 18:14:46 0 [Note] Plugin 'FEEDBACK' is disabled. 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.283046924Z level=info msg="Migration successfully executed" id="create index UQE_api_key_key - v2" duration=1.554898ms 18:16:32 policy-api | 18:16:32 policy-db-migrator | > upgrade 0180-jpatoscacapabilityassignment_properties.sql 18:16:32 prometheus | ts=2024-01-08T18:14:41.374Z caller=head.go:798 level=info component=tsdb msg="WAL replay completed" checkpoint_replay_duration=20.38µs wal_replay_duration=1.879048ms wbl_replay_duration=260ns total_replay_duration=1.919748ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.287763162Z level=info msg="Executing migration" id="create index UQE_api_key_org_id_name - v2" 18:16:32 policy-api | [2024-01-08T18:14:59.921+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) 18:16:32 policy-db-migrator | -------------- 18:16:32 mariadb | 2024-01-08 18:14:46 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 18:16:32 prometheus | ts=2024-01-08T18:14:41.377Z caller=main.go:1045 level=info fs_type=EXT4_SUPER_MAGIC 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.289777796Z level=info msg="Migration successfully executed" id="create index UQE_api_key_org_id_name - v2" duration=2.013825ms 18:16:32 policy-api | [2024-01-08T18:14:59.923+00:00|INFO|PolicyApiApplication|main] No active profile set, falling back to 1 default profile: "default" 18:16:32 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) 18:16:32 mariadb | 2024-01-08 18:14:46 0 [Warning] 'user' entry 'root@mariadb' ignored in --skip-name-resolve mode. 18:16:32 prometheus | ts=2024-01-08T18:14:41.377Z caller=main.go:1048 level=info msg="TSDB started" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.322867917Z level=info msg="Executing migration" id="copy api_key v1 to v2" 18:16:32 policy-api | [2024-01-08T18:15:01.617+00:00|INFO|RepositoryConfigurationDelegate|main] Bootstrapping Spring Data JPA repositories in DEFAULT mode. 18:16:32 policy-db-migrator | -------------- 18:16:32 mariadb | 2024-01-08 18:14:46 0 [Warning] 'proxies_priv' entry '@% root@mariadb' ignored in --skip-name-resolve mode. 18:16:32 prometheus | ts=2024-01-08T18:14:41.378Z caller=main.go:1230 level=info msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.323428803Z level=info msg="Migration successfully executed" id="copy api_key v1 to v2" duration=560.276µs 18:16:32 policy-api | [2024-01-08T18:15:01.705+00:00|INFO|RepositoryConfigurationDelegate|main] Finished Spring Data repository scanning in 78 ms. Found 6 JPA repository interfaces. 18:16:32 policy-db-migrator | 18:16:32 mariadb | 2024-01-08 18:14:46 0 [Note] mariadbd: ready for connections. 18:16:32 prometheus | ts=2024-01-08T18:14:41.379Z caller=main.go:1267 level=info msg="Completed loading of configuration file" filename=/etc/prometheus/prometheus.yml totalDuration=1.363071ms db_storage=1.49µs remote_storage=2.46µs web_handler=590ns query_engine=910ns scrape=375.536µs scrape_sd=196.683µs notify=48.741µs notify_sd=37.58µs rules=1.64µs tracing=6.45µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.326879735Z level=info msg="Executing migration" id="Drop old table api_key_v1" 18:16:32 policy-api | [2024-01-08T18:15:02.089+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 18:16:32 policy-db-migrator | 18:16:32 mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution 18:16:32 prometheus | ts=2024-01-08T18:14:41.379Z caller=main.go:1009 level=info msg="Server is ready to receive web requests." 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.327763495Z level=info msg="Migration successfully executed" id="Drop old table api_key_v1" duration=883.67µs 18:16:32 policy-api | [2024-01-08T18:15:02.090+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 18:16:32 policy-db-migrator | > upgrade 0190-jpatoscacapabilitytype_metadata.sql 18:16:32 mariadb | 2024-01-08 18:14:47+00:00 [Note] [Entrypoint]: Temporary server started. 18:16:32 prometheus | ts=2024-01-08T18:14:41.379Z caller=manager.go:1012 level=info component="rule manager" msg="Starting rule manager..." 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.333767789Z level=info msg="Executing migration" id="Update api_key table charset" 18:16:32 policy-api | [2024-01-08T18:15:02.735+00:00|INFO|TomcatWebServer|main] Tomcat initialized with port(s): 6969 (http) 18:16:32 policy-db-migrator | -------------- 18:16:32 mariadb | 2024-01-08 18:14:49+00:00 [Note] [Entrypoint]: Creating user policy_user 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.333799149Z level=info msg="Migration successfully executed" id="Update api_key table charset" duration=32.23µs 18:16:32 policy-api | [2024-01-08T18:15:02.745+00:00|INFO|Http11NioProtocol|main] Initializing ProtocolHandler ["http-nio-6969"] 18:16:32 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) 18:16:32 mariadb | 2024-01-08 18:14:49+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.338245932Z level=info msg="Executing migration" id="Add expires to api_key table" 18:16:32 policy-api | [2024-01-08T18:15:02.747+00:00|INFO|StandardService|main] Starting service [Tomcat] 18:16:32 policy-db-migrator | -------------- 18:16:32 mariadb | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.341936757Z level=info msg="Migration successfully executed" id="Add expires to api_key table" duration=3.690485ms 18:16:32 policy-api | [2024-01-08T18:15:02.747+00:00|INFO|StandardEngine|main] Starting Servlet engine: [Apache Tomcat/10.1.13] 18:16:32 policy-db-migrator | 18:16:32 mariadb | 2024-01-08 18:14:49+00:00 [Warn] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/db.conf 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.3463143Z level=info msg="Executing migration" id="Add service account foreign key" 18:16:32 policy-api | [2024-01-08T18:15:02.830+00:00|INFO|[/policy/api/v1]|main] Initializing Spring embedded WebApplicationContext 18:16:32 policy-db-migrator | 18:16:32 mariadb | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.348899062Z level=info msg="Migration successfully executed" id="Add service account foreign key" duration=2.584352ms 18:16:32 policy-api | [2024-01-08T18:15:02.831+00:00|INFO|ServletWebServerApplicationContext|main] Root WebApplicationContext: initialization completed in 2844 ms 18:16:32 policy-db-migrator | > upgrade 0200-jpatoscacapabilitytype_properties.sql 18:16:32 mariadb | 2024-01-08 18:14:49+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/db.sh 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.355321449Z level=info msg="Executing migration" id="set service account foreign key to nil if 0" 18:16:32 policy-api | [2024-01-08T18:15:03.281+00:00|INFO|LogHelper|main] HHH000204: Processing PersistenceUnitInfo [name: default] 18:16:32 policy-db-migrator | -------------- 18:16:32 mariadb | #!/bin/bash -xv 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.355620452Z level=info msg="Migration successfully executed" id="set service account foreign key to nil if 0" duration=299.833µs 18:16:32 policy-api | [2024-01-08T18:15:03.355+00:00|INFO|Version|main] HHH000412: Hibernate ORM core version 6.3.0.CR1 18:16:32 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) 18:16:32 mariadb | # Copyright 2019,2021 AT&T Intellectual Property. All rights reserved 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.360600843Z level=info msg="Executing migration" id="Add last_used_at to api_key table" 18:16:32 policy-api | [2024-01-08T18:15:03.359+00:00|INFO|Environment|main] HHH000406: Using bytecode reflection optimizer 18:16:32 policy-db-migrator | -------------- 18:16:32 mariadb | # Modifications Copyright (c) 2022 Nordix Foundation. 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.364902095Z level=info msg="Migration successfully executed" id="Add last_used_at to api_key table" duration=4.299602ms 18:16:32 policy-api | [2024-01-08T18:15:03.404+00:00|INFO|RegionFactoryInitiator|main] HHH000026: Second-level cache disabled 18:16:32 policy-db-migrator | 18:16:32 mariadb | # 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.369557791Z level=info msg="Executing migration" id="Add is_revoked column to api_key table" 18:16:32 policy-api | [2024-01-08T18:15:03.745+00:00|INFO|SpringPersistenceUnitInfo|main] No LoadTimeWeaver setup: ignoring JPA class transformer 18:16:32 policy-db-migrator | 18:16:32 mariadb | # Licensed under the Apache License, Version 2.0 (the "License"); 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.372599778Z level=info msg="Migration successfully executed" id="Add is_revoked column to api_key table" duration=3.043337ms 18:16:32 policy-api | [2024-01-08T18:15:03.764+00:00|INFO|HikariDataSource|main] HikariPool-1 - Starting... 18:16:32 policy-db-migrator | > upgrade 0210-jpatoscadatatype_constraints.sql 18:16:32 mariadb | # you may not use this file except in compliance with the License. 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.379247139Z level=info msg="Executing migration" id="create dashboard_snapshot table v4" 18:16:32 policy-api | [2024-01-08T18:15:03.863+00:00|INFO|HikariPool|main] HikariPool-1 - Added connection org.mariadb.jdbc.Connection@3d37203b 18:16:32 policy-db-migrator | -------------- 18:16:32 mariadb | # You may obtain a copy of the License at 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.380096469Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v4" duration=849.89µs 18:16:32 policy-api | [2024-01-08T18:15:03.865+00:00|INFO|HikariDataSource|main] HikariPool-1 - Start completed. 18:16:32 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL) 18:16:32 mariadb | # 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.386181852Z level=info msg="Executing migration" id="drop table dashboard_snapshot_v4 #1" 18:16:32 policy-api | [2024-01-08T18:15:03.891+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) 18:16:32 policy-db-migrator | -------------- 18:16:32 mariadb | # http://www.apache.org/licenses/LICENSE-2.0 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.387461498Z level=info msg="Migration successfully executed" id="drop table dashboard_snapshot_v4 #1" duration=1.277716ms 18:16:32 policy-api | [2024-01-08T18:15:03.893+00:00|WARN|deprecation|main] HHH90000026: MariaDB103Dialect has been deprecated; use org.hibernate.dialect.MariaDBDialect instead 18:16:32 policy-db-migrator | 18:16:32 mariadb | # 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.393058216Z level=info msg="Executing migration" id="create dashboard_snapshot table v5 #2" 18:16:32 policy-api | [2024-01-08T18:15:05.732+00:00|INFO|JtaPlatformInitiator|main] HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 18:16:32 policy-db-migrator | 18:16:32 mariadb | # Unless required by applicable law or agreed to in writing, software 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.394933328Z level=info msg="Migration successfully executed" id="create dashboard_snapshot table v5 #2" duration=1.874702ms 18:16:32 policy-api | [2024-01-08T18:15:05.736+00:00|INFO|LocalContainerEntityManagerFactoryBean|main] Initialized JPA EntityManagerFactory for persistence unit 'default' 18:16:32 policy-db-migrator | > upgrade 0220-jpatoscadatatype_metadata.sql 18:16:32 mariadb | # distributed under the License is distributed on an "AS IS" BASIS, 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.401541819Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_key - v5" 18:16:32 policy-api | [2024-01-08T18:15:06.934+00:00|WARN|ApiDatabaseInitializer|main] Detected multi-versioned type: policytypes/onap.policies.monitoring.tcagen2.v2.yaml 18:16:32 policy-db-migrator | -------------- 18:16:32 mariadb | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.40252229Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_key - v5" duration=981.791µs 18:16:32 policy-api | [2024-01-08T18:15:07.703+00:00|INFO|ApiDatabaseInitializer|main] Multi-versioned Service Template [onap.policies.Monitoring, onap.policies.monitoring.tcagen2] 18:16:32 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) 18:16:32 mariadb | # See the License for the specific language governing permissions and 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.407826254Z level=info msg="Executing migration" id="create index UQE_dashboard_snapshot_delete_key - v5" 18:16:32 policy-api | [2024-01-08T18:15:08.837+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 18:16:32 policy-db-migrator | -------------- 18:16:32 mariadb | # limitations under the License. 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.408746895Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_snapshot_delete_key - v5" duration=917.431µs 18:16:32 policy-api | [2024-01-08T18:15:09.017+00:00|INFO|DefaultSecurityFilterChain|main] Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@46ae1e6b, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@6d293b41, org.springframework.security.web.context.SecurityContextHolderFilter@3edd135d, org.springframework.security.web.header.HeaderWriterFilter@700f356b, org.springframework.security.web.authentication.logout.LogoutFilter@19e86461, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@44a1e5d2, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@5f6b6f2, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@45fa7f1a, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@c0d114b, org.springframework.security.web.access.ExceptionTranslationFilter@fb74661, org.springframework.security.web.access.intercept.AuthorizationFilter@59171a5d] 18:16:32 policy-db-migrator | 18:16:32 mariadb | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.416721212Z level=info msg="Executing migration" id="create index IDX_dashboard_snapshot_user_id - v5" 18:16:32 policy-api | [2024-01-08T18:15:09.950+00:00|INFO|EndpointLinksResolver|main] Exposing 3 endpoint(s) beneath base path '' 18:16:32 policy-db-migrator | 18:16:32 mariadb | for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.417660853Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_snapshot_user_id - v5" duration=935.611µs 18:16:32 policy-api | [2024-01-08T18:15:10.006+00:00|INFO|Http11NioProtocol|main] Starting ProtocolHandler ["http-nio-6969"] 18:16:32 policy-db-migrator | > upgrade 0230-jpatoscadatatype_properties.sql 18:16:32 mariadb | do 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.426519561Z level=info msg="Executing migration" id="alter dashboard_snapshot to mediumtext v2" 18:16:32 policy-api | [2024-01-08T18:15:10.022+00:00|INFO|TomcatWebServer|main] Tomcat started on port(s): 6969 (http) with context path '/policy/api/v1' 18:16:32 policy-db-migrator | -------------- 18:16:32 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "CREATE DATABASE IF NOT EXISTS ${db};" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.426870205Z level=info msg="Migration successfully executed" id="alter dashboard_snapshot to mediumtext v2" duration=346.344µs 18:16:32 policy-api | [2024-01-08T18:15:10.042+00:00|INFO|PolicyApiApplication|main] Started PolicyApiApplication in 10.846 seconds (process running for 11.439) 18:16:32 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) 18:16:32 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "GRANT ALL PRIVILEGES ON \`${db}\`.* TO '${MYSQL_USER}'@'%' ;" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.431894246Z level=info msg="Executing migration" id="Update dashboard_snapshot table charset" 18:16:32 policy-api | [2024-01-08T18:15:15.054+00:00|INFO|[/policy/api/v1]|http-nio-6969-exec-1] Initializing Spring DispatcherServlet 'dispatcherServlet' 18:16:32 policy-db-migrator | -------------- 18:16:32 mariadb | done 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.431939576Z level=info msg="Migration successfully executed" id="Update dashboard_snapshot table charset" duration=46.83µs 18:16:32 policy-api | [2024-01-08T18:15:15.055+00:00|INFO|DispatcherServlet|http-nio-6969-exec-1] Initializing Servlet 'dispatcherServlet' 18:16:32 policy-db-migrator | 18:16:32 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.438472915Z level=info msg="Executing migration" id="Add column external_delete_url to dashboard_snapshots table" 18:16:32 policy-api | [2024-01-08T18:15:15.056+00:00|INFO|DispatcherServlet|http-nio-6969-exec-1] Completed initialization in 1 ms 18:16:32 policy-db-migrator | 18:16:32 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS migration;' 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.443677668Z level=info msg="Migration successfully executed" id="Add column external_delete_url to dashboard_snapshots table" duration=5.200283ms 18:16:32 policy-api | [2024-01-08T18:15:17.231+00:00|INFO|OrderedServiceImpl|http-nio-6969-exec-4] ***** OrderedServiceImpl implementers: 18:16:32 policy-db-migrator | > upgrade 0240-jpatoscanodetemplate_metadata.sql 18:16:32 policy-api | [] 18:16:32 policy-db-migrator | -------------- 18:16:32 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `migration`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.447229031Z level=info msg="Executing migration" id="Add encrypted dashboard json column" 18:16:32 policy-api | [2024-01-08T18:15:17.346+00:00|WARN|CommonRestController|http-nio-6969-exec-4] POST /policytypes 18:16:32 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) 18:16:32 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.450227397Z level=info msg="Migration successfully executed" id="Add encrypted dashboard json column" duration=2.997986ms 18:16:32 policy-api | [2024-01-08T18:15:17.621+00:00|WARN|CommonRestController|http-nio-6969-exec-5] POST /policytypes 18:16:32 policy-db-migrator | -------------- 18:16:32 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS pooling;' 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.456371941Z level=info msg="Executing migration" id="Change dashboard_encrypted column to MEDIUMBLOB" 18:16:32 policy-api | [2024-01-08T18:15:18.802+00:00|WARN|CommonRestController|http-nio-6969-exec-10] POST /policies 18:16:32 policy-db-migrator | 18:16:32 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `pooling`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.456442922Z level=info msg="Migration successfully executed" id="Change dashboard_encrypted column to MEDIUMBLOB" duration=71.831µs 18:16:32 policy-api | [2024-01-08T18:15:20.846+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /nodetemplates/apexMetadata_adaptive/versions/2.3.1 18:16:32 policy-db-migrator | 18:16:32 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.461471973Z level=info msg="Executing migration" id="create quota table v1" 18:16:32 policy-api | [2024-01-08T18:15:21.155+00:00|WARN|CommonRestController|http-nio-6969-exec-7] DELETE /policies/onap.restart.tca/versions/1.0.0 18:16:32 policy-db-migrator | > upgrade 0250-jpatoscanodetemplate_properties.sql 18:16:32 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyadmin;' 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.462242332Z level=info msg="Migration successfully executed" id="create quota table v1" duration=770.049µs 18:16:32 policy-api | [2024-01-08T18:15:21.390+00:00|WARN|CommonRestController|http-nio-6969-exec-1] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies/onap.restart.tca/versions/2.0.0 18:16:32 policy-db-migrator | -------------- 18:16:32 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyadmin`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.466846488Z level=info msg="Executing migration" id="create index UQE_quota_org_id_user_id_target - v1" 18:16:32 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) 18:16:32 policy-api | [2024-01-08T18:15:21.624+00:00|WARN|CommonRestController|http-nio-6969-exec-4] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0 18:16:32 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.468309617Z level=info msg="Migration successfully executed" id="create index UQE_quota_org_id_user_id_target - v1" duration=1.458609ms 18:16:32 policy-db-migrator | -------------- 18:16:32 policy-api | [2024-01-08T18:15:21.859+00:00|WARN|CommonRestController|http-nio-6969-exec-6] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/2.0.0 18:16:32 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS operationshistory;' 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.475306811Z level=info msg="Executing migration" id="Update quota table charset" 18:16:32 policy-db-migrator | 18:16:32 policy-api | [2024-01-08T18:15:22.084+00:00|WARN|CommonRestController|http-nio-6969-exec-9] DELETE /policytypes/onap.policies.monitoring.tcagen2/versions/3.0.0 18:16:32 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `operationshistory`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.475380272Z level=info msg="Migration successfully executed" id="Update quota table charset" duration=77.021µs 18:16:32 policy-db-migrator | 18:16:32 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.481444605Z level=info msg="Executing migration" id="create plugin_setting table" 18:16:32 policy-db-migrator | > upgrade 0260-jpatoscanodetype_metadata.sql 18:16:32 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS clampacm;' 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.483002014Z level=info msg="Migration successfully executed" id="create plugin_setting table" duration=1.561059ms 18:16:32 policy-db-migrator | -------------- 18:16:32 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `clampacm`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.487157554Z level=info msg="Executing migration" id="create index UQE_plugin_setting_org_id_plugin_id - v1" 18:16:32 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) 18:16:32 mariadb | + for db in migration pooling policyadmin operationshistory clampacm policyclamp 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.488317568Z level=info msg="Migration successfully executed" id="create index UQE_plugin_setting_org_id_plugin_id - v1" duration=1.165464ms 18:16:32 policy-db-migrator | -------------- 18:16:32 mariadb | + mysql -uroot -psecret --execute 'CREATE DATABASE IF NOT EXISTS policyclamp;' 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.497243416Z level=info msg="Executing migration" id="Add column plugin_version to plugin_settings" 18:16:32 policy-db-migrator | 18:16:32 mariadb | + mysql -uroot -psecret --execute 'GRANT ALL PRIVILEGES ON `policyclamp`.* TO '\''policy_user'\''@'\''%'\'' ;' 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.502563821Z level=info msg="Migration successfully executed" id="Add column plugin_version to plugin_settings" duration=5.321405ms 18:16:32 policy-db-migrator | 18:16:32 mariadb | 18:16:32 mariadb | mysql -uroot -p"${MYSQL_ROOT_PASSWORD}" --execute "FLUSH PRIVILEGES;" 18:16:32 policy-db-migrator | > upgrade 0270-jpatoscanodetype_properties.sql 18:16:32 mariadb | + mysql -uroot -psecret --execute 'FLUSH PRIVILEGES;' 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.521807554Z level=info msg="Executing migration" id="Update plugin_setting table charset" 18:16:32 mariadb | mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" -f policyclamp < /tmp/policy-clamp-create-tables.sql 18:16:32 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) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.521915755Z level=info msg="Migration successfully executed" id="Update plugin_setting table charset" duration=111.971µs 18:16:32 mariadb | + mysql -upolicy_user -ppolicy_user -f policyclamp 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.529055731Z level=info msg="Executing migration" id="create session table" 18:16:32 mariadb | 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.530479969Z level=info msg="Migration successfully executed" id="create session table" duration=1.424678ms 18:16:32 mariadb | 2024-01-08 18:14:50+00:00 [Note] [Entrypoint]: Stopping temporary server 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.535452089Z level=info msg="Executing migration" id="Drop old table playlist table" 18:16:32 mariadb | 2024-01-08 18:14:50 0 [Note] mariadbd (initiated by: unknown): Normal shutdown 18:16:32 policy-db-migrator | > upgrade 0280-jpatoscapolicy_metadata.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.53553952Z level=info msg="Migration successfully executed" id="Drop old table playlist table" duration=88.211µs 18:16:32 mariadb | 2024-01-08 18:14:50 0 [Note] InnoDB: FTS optimize thread exiting. 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.539610109Z level=info msg="Executing migration" id="Drop old table playlist_item table" 18:16:32 mariadb | 2024-01-08 18:14:50 0 [Note] InnoDB: Starting shutdown... 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.53969011Z level=info msg="Migration successfully executed" id="Drop old table playlist_item table" duration=81.101µs 18:16:32 policy-db-migrator | -------------- 18:16:32 mariadb | 2024-01-08 18:14:50 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.549204505Z level=info msg="Executing migration" id="create playlist table v2" 18:16:32 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) 18:16:32 mariadb | 2024-01-08 18:14:50 0 [Note] InnoDB: Buffer pool(s) dump completed at 240108 18:14:50 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.550227607Z level=info msg="Migration successfully executed" id="create playlist table v2" duration=1.023063ms 18:16:32 policy-db-migrator | -------------- 18:16:32 mariadb | 2024-01-08 18:14:50 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.55538612Z level=info msg="Executing migration" id="create playlist item table v2" 18:16:32 policy-db-migrator | 18:16:32 mariadb | 2024-01-08 18:14:50 0 [Note] InnoDB: Shutdown completed; log sequence number 322774; transaction id 298 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.556543294Z level=info msg="Migration successfully executed" id="create playlist item table v2" duration=1.161524ms 18:16:32 policy-db-migrator | 18:16:32 mariadb | 2024-01-08 18:14:50 0 [Note] mariadbd: Shutdown complete 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.561791017Z level=info msg="Executing migration" id="Update playlist table charset" 18:16:32 policy-db-migrator | > upgrade 0290-jpatoscapolicy_properties.sql 18:16:32 mariadb | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.561831928Z level=info msg="Migration successfully executed" id="Update playlist table charset" duration=42.371µs 18:16:32 policy-db-migrator | -------------- 18:16:32 mariadb | 2024-01-08 18:14:50+00:00 [Note] [Entrypoint]: Temporary server stopped 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.568861662Z level=info msg="Executing migration" id="Update playlist_item table charset" 18:16:32 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) 18:16:32 mariadb | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.568900093Z level=info msg="Migration successfully executed" id="Update playlist_item table charset" duration=40.071µs 18:16:32 policy-db-migrator | -------------- 18:16:32 mariadb | 2024-01-08 18:14:50+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.5736007Z level=info msg="Executing migration" id="Add playlist column created_at" 18:16:32 policy-db-migrator | 18:16:32 mariadb | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.57855133Z level=info msg="Migration successfully executed" id="Add playlist column created_at" duration=4.95153ms 18:16:32 policy-db-migrator | 18:16:32 mariadb | 2024-01-08 18:14:51 0 [Note] mariadbd (server 10.10.2-MariaDB-1:10.10.2+maria~ubu2204) starting as process 1 ... 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.583156546Z level=info msg="Executing migration" id="Add playlist column updated_at" 18:16:32 policy-db-migrator | > upgrade 0300-jpatoscapolicy_targets.sql 18:16:32 mariadb | 2024-01-08 18:14:51 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.586371385Z level=info msg="Migration successfully executed" id="Add playlist column updated_at" duration=3.214909ms 18:16:32 policy-db-migrator | -------------- 18:16:32 mariadb | 2024-01-08 18:14:51 0 [Note] InnoDB: Number of transaction pools: 1 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.591969972Z level=info msg="Executing migration" id="drop preferences table v2" 18:16:32 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 18:16:32 mariadb | 2024-01-08 18:14:51 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.592083514Z level=info msg="Migration successfully executed" id="drop preferences table v2" duration=107.192µs 18:16:32 policy-db-migrator | -------------- 18:16:32 mariadb | 2024-01-08 18:14:51 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.5983721Z level=info msg="Executing migration" id="drop preferences table v3" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.598580452Z level=info msg="Migration successfully executed" id="drop preferences table v3" duration=207.982µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.604443533Z level=info msg="Executing migration" id="create preferences table v3" 18:16:32 mariadb | 2024-01-08 18:14:51 0 [Warning] mariadbd: io_uring_queue_init() failed with ENOSYS: check seccomp filters, and the kernel version (newer than 5.1 required) 18:16:32 policy-db-migrator | > upgrade 0310-jpatoscapolicytype_metadata.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.605968482Z level=info msg="Migration successfully executed" id="create preferences table v3" duration=1.512909ms 18:16:32 mariadb | 2024-01-08 18:14:51 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.612265818Z level=info msg="Executing migration" id="Update preferences table charset" 18:16:32 mariadb | 2024-01-08 18:14:51 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB 18:16:32 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) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.612300228Z level=info msg="Migration successfully executed" id="Update preferences table charset" duration=36.18µs 18:16:32 mariadb | 2024-01-08 18:14:51 0 [Note] InnoDB: Completed initialization of buffer pool 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.617941387Z level=info msg="Executing migration" id="Add column team_id in preferences" 18:16:32 mariadb | 2024-01-08 18:14:51 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.621095935Z level=info msg="Migration successfully executed" id="Add column team_id in preferences" duration=3.154138ms 18:16:32 mariadb | 2024-01-08 18:14:51 0 [Note] InnoDB: 128 rollback segments are active. 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.626273887Z level=info msg="Executing migration" id="Update team_id column values in preferences" 18:16:32 mariadb | 2024-01-08 18:14:51 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... 18:16:32 policy-db-migrator | > upgrade 0320-jpatoscapolicytype_properties.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.626823504Z level=info msg="Migration successfully executed" id="Update team_id column values in preferences" duration=549.707µs 18:16:32 mariadb | 2024-01-08 18:14:51 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.632451472Z level=info msg="Executing migration" id="Add column week_start in preferences" 18:16:32 mariadb | 2024-01-08 18:14:51 0 [Note] InnoDB: log sequence number 322774; transaction id 299 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.636541352Z level=info msg="Migration successfully executed" id="Add column week_start in preferences" duration=4.08672ms 18:16:32 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) 18:16:32 mariadb | 2024-01-08 18:14:51 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.709483024Z level=info msg="Executing migration" id="Add column preferences.json_data" 18:16:32 policy-db-migrator | -------------- 18:16:32 mariadb | 2024-01-08 18:14:51 0 [Note] Plugin 'FEEDBACK' is disabled. 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.716958004Z level=info msg="Migration successfully executed" id="Add column preferences.json_data" duration=7.47467ms 18:16:32 policy-db-migrator | 18:16:32 mariadb | 2024-01-08 18:14:51 0 [Warning] 'default-authentication-plugin' is MySQL 5.6 / 5.7 compatible option. To be implemented in later versions. 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.724463075Z level=info msg="Executing migration" id="alter preferences.json_data to mediumtext v1" 18:16:32 policy-db-migrator | 18:16:32 mariadb | 2024-01-08 18:14:51 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work. 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.724558736Z level=info msg="Migration successfully executed" id="alter preferences.json_data to mediumtext v1" duration=96.301µs 18:16:32 policy-db-migrator | > upgrade 0330-jpatoscapolicytype_targets.sql 18:16:32 mariadb | 2024-01-08 18:14:51 0 [Note] Server socket created on IP: '0.0.0.0'. 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.73063611Z level=info msg="Executing migration" id="Add preferences index org_id" 18:16:32 policy-db-migrator | -------------- 18:16:32 mariadb | 2024-01-08 18:14:51 0 [Note] Server socket created on IP: '::'. 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.731576622Z level=info msg="Migration successfully executed" id="Add preferences index org_id" duration=943.832µs 18:16:32 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL) 18:16:32 mariadb | 2024-01-08 18:14:51 0 [Note] mariadbd: ready for connections. 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.737440673Z level=info msg="Executing migration" id="Add preferences index user_id" 18:16:32 policy-db-migrator | -------------- 18:16:32 mariadb | Version: '10.10.2-MariaDB-1:10.10.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.739065762Z level=info msg="Migration successfully executed" id="Add preferences index user_id" duration=1.620409ms 18:16:32 policy-db-migrator | 18:16:32 mariadb | 2024-01-08 18:14:51 0 [Note] InnoDB: Buffer pool(s) load completed at 240108 18:14:51 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.769627522Z level=info msg="Executing migration" id="create alert table v1" 18:16:32 policy-db-migrator | 18:16:32 mariadb | 2024-01-08 18:14:51 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.6' (This connection closed normally without authentication) 18:16:32 policy-db-migrator | > upgrade 0340-jpatoscapolicytype_triggers.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.771002359Z level=info msg="Migration successfully executed" id="create alert table v1" duration=1.374597ms 18:16:32 mariadb | 2024-01-08 18:14:51 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'unauthenticated' host: '172.17.0.5' (This connection closed normally without authentication) 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.777174213Z level=info msg="Executing migration" id="add index alert org_id & id " 18:16:32 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.778181545Z level=info msg="Migration successfully executed" id="add index alert org_id & id " duration=1.006712ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.785878498Z level=info msg="Executing migration" id="add index alert state" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.786714478Z level=info msg="Migration successfully executed" id="add index alert state" duration=835.86µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.793569902Z level=info msg="Executing migration" id="add index alert dashboard_id" 18:16:32 policy-db-migrator | > upgrade 0350-jpatoscaproperty_constraints.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.795162Z level=info msg="Migration successfully executed" id="add index alert dashboard_id" duration=1.592448ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.798963867Z level=info msg="Executing migration" id="Create alert_rule_tag table v1" 18:16:32 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) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.800223542Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v1" duration=1.259255ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.809990091Z level=info msg="Executing migration" id="Add unique index alert_rule_tag.alert_id_tag_id" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.813099468Z level=info msg="Migration successfully executed" id="Add unique index alert_rule_tag.alert_id_tag_id" duration=3.103218ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.819376254Z level=info msg="Executing migration" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" 18:16:32 policy-db-migrator | > upgrade 0360-jpatoscaproperty_metadata.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.822629463Z level=info msg="Migration successfully executed" id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1" duration=3.28513ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.827989568Z level=info msg="Executing migration" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" 18:16:32 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) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.841474861Z level=info msg="Migration successfully executed" id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1" duration=13.476603ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.855314948Z level=info msg="Executing migration" id="Create alert_rule_tag table v2" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.856478962Z level=info msg="Migration successfully executed" id="Create alert_rule_tag table v2" duration=1.163884ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.863838771Z 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" 18:16:32 policy-db-migrator | > upgrade 0370-jpatoscarelationshiptype_metadata.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.865185077Z 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.347336ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.870130647Z level=info msg="Executing migration" id="copy alert_rule_tag v1 to v2" 18:16:32 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) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.870684034Z level=info msg="Migration successfully executed" id="copy alert_rule_tag v1 to v2" duration=556.787µs 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.876619576Z level=info msg="Executing migration" id="drop table alert_rule_tag_v1" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.877979013Z level=info msg="Migration successfully executed" id="drop table alert_rule_tag_v1" duration=1.361327ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.882433166Z level=info msg="Executing migration" id="create alert_notification table v1" 18:16:32 policy-db-migrator | > upgrade 0380-jpatoscarelationshiptype_properties.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.883699992Z level=info msg="Migration successfully executed" id="create alert_notification table v1" duration=1.266156ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.890780727Z level=info msg="Executing migration" id="Add column is_default" 18:16:32 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) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.897010593Z level=info msg="Migration successfully executed" id="Add column is_default" duration=6.230356ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.903870395Z level=info msg="Executing migration" id="Add column frequency" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.907943805Z level=info msg="Migration successfully executed" id="Add column frequency" duration=4.072989ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.912418109Z level=info msg="Executing migration" id="Add column send_reminder" 18:16:32 policy-db-migrator | > upgrade 0390-jpatoscarequirement_metadata.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.916322296Z level=info msg="Migration successfully executed" id="Add column send_reminder" duration=3.904227ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.920595278Z level=info msg="Executing migration" id="Add column disable_resolve_message" 18:16:32 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) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.925753661Z level=info msg="Migration successfully executed" id="Add column disable_resolve_message" duration=5.157743ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.93063026Z level=info msg="Executing migration" id="add index alert_notification org_id & name" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.931642362Z level=info msg="Migration successfully executed" id="add index alert_notification org_id & name" duration=1.012082ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.936039255Z level=info msg="Executing migration" id="Update alert table charset" 18:16:32 policy-db-migrator | > upgrade 0400-jpatoscarequirement_occurrences.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.936065576Z level=info msg="Migration successfully executed" id="Update alert table charset" duration=40.031µs 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.941941227Z level=info msg="Executing migration" id="Update alert_notification table charset" 18:16:32 policy-db-migrator | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.942046448Z level=info msg="Migration successfully executed" id="Update alert_notification table charset" duration=98.781µs 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.947750897Z level=info msg="Executing migration" id="create notification_journal table v1" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.948997272Z level=info msg="Migration successfully executed" id="create notification_journal table v1" duration=1.238764ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.957663006Z level=info msg="Executing migration" id="add index notification_journal org_id & alert_id & notifier_id" 18:16:32 policy-db-migrator | > upgrade 0410-jpatoscarequirement_properties.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.959346967Z level=info msg="Migration successfully executed" id="add index notification_journal org_id & alert_id & notifier_id" duration=1.690891ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.965202808Z level=info msg="Executing migration" id="drop alert_notification_journal" 18:16:32 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) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.966085488Z level=info msg="Migration successfully executed" id="drop alert_notification_journal" duration=880.78µs 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.97281998Z level=info msg="Executing migration" id="create alert_notification_state table v1" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.974011794Z level=info msg="Migration successfully executed" id="create alert_notification_state table v1" duration=1.191514ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.979640802Z level=info msg="Executing migration" id="add index alert_notification_state org_id & alert_id & notifier_id" 18:16:32 policy-db-migrator | > upgrade 0420-jpatoscaservicetemplate_metadata.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.980750755Z level=info msg="Migration successfully executed" id="add index alert_notification_state org_id & alert_id & notifier_id" duration=1.110243ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.986741019Z level=info msg="Executing migration" id="Add for to alert table" 18:16:32 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) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.992240055Z level=info msg="Migration successfully executed" id="Add for to alert table" duration=5.500416ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:45.996285374Z level=info msg="Executing migration" id="Add column uid in alert_notification" 18:16:32 policy-db-migrator | 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.00095588Z level=info msg="Migration successfully executed" id="Add column uid in alert_notification" duration=4.671166ms 18:16:32 policy-db-migrator | > upgrade 0430-jpatoscatopologytemplate_inputs.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.00595944Z level=info msg="Executing migration" id="Update uid column values in alert_notification" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.006199013Z level=info msg="Migration successfully executed" id="Update uid column values in alert_notification" duration=240.393µs 18:16:32 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) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.012076533Z level=info msg="Executing migration" id="Add unique index alert_notification_org_id_uid" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.013398628Z level=info msg="Migration successfully executed" id="Add unique index alert_notification_org_id_uid" duration=1.321395ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.021243161Z level=info msg="Executing migration" id="Remove unique index org_id_name" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.022991021Z level=info msg="Migration successfully executed" id="Remove unique index org_id_name" duration=1.74799ms 18:16:32 policy-db-migrator | > upgrade 0440-pdpgroup_pdpsubgroup.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.262916257Z level=info msg="Executing migration" id="Add column secure_settings in alert_notification" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.270549147Z level=info msg="Migration successfully executed" id="Add column secure_settings in alert_notification" duration=7.64281ms 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.277274475Z level=info msg="Executing migration" id="alter alert.settings to mediumtext" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.277361206Z level=info msg="Migration successfully executed" id="alter alert.settings to mediumtext" duration=86.721µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.282174923Z level=info msg="Executing migration" id="Add non-unique index alert_notification_state_alert_id" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.284262258Z level=info msg="Migration successfully executed" id="Add non-unique index alert_notification_state_alert_id" duration=2.086385ms 18:16:32 policy-db-migrator | > upgrade 0450-pdpgroup.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.289645271Z level=info msg="Executing migration" id="Add non-unique index alert_rule_tag_alert_id" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.291059357Z level=info msg="Migration successfully executed" id="Add non-unique index alert_rule_tag_alert_id" duration=1.413546ms 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.298252762Z level=info msg="Executing migration" id="Drop old annotation table v4" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.298379303Z level=info msg="Migration successfully executed" id="Drop old annotation table v4" duration=125.721µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.304432974Z level=info msg="Executing migration" id="create annotation table v5" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.305730839Z level=info msg="Migration successfully executed" id="create annotation table v5" duration=1.289685ms 18:16:32 policy-db-migrator | > upgrade 0460-pdppolicystatus.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.309972309Z level=info msg="Executing migration" id="add index annotation 0 v3" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.311122342Z level=info msg="Migration successfully executed" id="add index annotation 0 v3" duration=1.145753ms 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.319616462Z level=info msg="Executing migration" id="add index annotation 1 v3" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.320610324Z level=info msg="Migration successfully executed" id="add index annotation 1 v3" duration=993.722µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.325902967Z level=info msg="Executing migration" id="add index annotation 2 v3" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.327418094Z level=info msg="Migration successfully executed" id="add index annotation 2 v3" duration=1.514077ms 18:16:32 policy-db-migrator | > upgrade 0470-pdp.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.331555233Z level=info msg="Executing migration" id="add index annotation 3 v3" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.332771306Z level=info msg="Migration successfully executed" id="add index annotation 3 v3" duration=1.214543ms 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.340869052Z level=info msg="Executing migration" id="add index annotation 4 v3" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.342624973Z level=info msg="Migration successfully executed" id="add index annotation 4 v3" duration=1.753771ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.350829649Z level=info msg="Executing migration" id="Update annotation table charset" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.350854299Z level=info msg="Migration successfully executed" id="Update annotation table charset" duration=25.49µs 18:16:32 policy-db-migrator | > upgrade 0480-pdpstatistics.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.356202811Z level=info msg="Executing migration" id="Add column region_id to annotation table" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.361050389Z level=info msg="Migration successfully executed" id="Add column region_id to annotation table" duration=4.845187ms 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.367806748Z level=info msg="Executing migration" id="Drop category_id index" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.36879577Z level=info msg="Migration successfully executed" id="Drop category_id index" duration=990.292µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.373606166Z level=info msg="Executing migration" id="Add column tags to annotation table" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.378698336Z level=info msg="Migration successfully executed" id="Add column tags to annotation table" duration=5.09165ms 18:16:32 policy-db-migrator | > upgrade 0490-pdpsubgroup_pdp.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.386513847Z level=info msg="Executing migration" id="Create annotation_tag table v2" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.387233406Z level=info msg="Migration successfully executed" id="Create annotation_tag table v2" duration=726.479µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.394894006Z level=info msg="Executing migration" id="Add unique index annotation_tag.annotation_id_tag_id" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.396436474Z level=info msg="Migration successfully executed" id="Add unique index annotation_tag.annotation_id_tag_id" duration=1.544469ms 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.401602165Z level=info msg="Executing migration" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.403098262Z level=info msg="Migration successfully executed" id="drop index UQE_annotation_tag_annotation_id_tag_id - v2" duration=1.496277ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.407469824Z level=info msg="Executing migration" id="Rename table annotation_tag to annotation_tag_v2 - v2" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.425846169Z level=info msg="Migration successfully executed" id="Rename table annotation_tag to annotation_tag_v2 - v2" duration=18.374985ms 18:16:32 policy-db-migrator | > upgrade 0500-pdpsubgroup.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.430956639Z level=info msg="Executing migration" id="Create annotation_tag table v3" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.431615116Z level=info msg="Migration successfully executed" id="Create annotation_tag table v3" duration=658.777µs 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.436733596Z 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" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.438486088Z level=info msg="Migration successfully executed" id="create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3" duration=1.751131ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.444251435Z level=info msg="Executing migration" id="copy annotation_tag v2 to v3" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.445103595Z level=info msg="Migration successfully executed" id="copy annotation_tag v2 to v3" duration=849.3µs 18:16:32 policy-db-migrator | > upgrade 0510-toscacapabilityassignment.sql 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.455594318Z level=info msg="Executing migration" id="drop table annotation_tag_v2" 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.456228495Z level=info msg="Migration successfully executed" id="drop table annotation_tag_v2" duration=626.577µs 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.463723384Z level=info msg="Executing migration" id="Update alert annotations and set TEXT to empty" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.464050517Z level=info msg="Migration successfully executed" id="Update alert annotations and set TEXT to empty" duration=327.534µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.469530962Z level=info msg="Executing migration" id="Add created time to annotation table" 18:16:32 policy-db-migrator | > upgrade 0520-toscacapabilityassignments.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.47700957Z level=info msg="Migration successfully executed" id="Add created time to annotation table" duration=7.478038ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.481668324Z level=info msg="Executing migration" id="Add updated time to annotation table" 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.486037086Z level=info msg="Migration successfully executed" id="Add updated time to annotation table" duration=4.368192ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.49069712Z level=info msg="Executing migration" id="Add index for created in annotation table" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.491850333Z level=info msg="Migration successfully executed" id="Add index for created in annotation table" duration=1.152583ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.495463126Z level=info msg="Executing migration" id="Add index for updated in annotation table" 18:16:32 policy-db-migrator | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.496543149Z level=info msg="Migration successfully executed" id="Add index for updated in annotation table" duration=1.079543ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.501260404Z level=info msg="Executing migration" id="Convert existing annotations from seconds to milliseconds" 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.501541087Z level=info msg="Migration successfully executed" id="Convert existing annotations from seconds to milliseconds" duration=286.553µs 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.505421783Z level=info msg="Executing migration" id="Add epoch_end column" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.50949194Z level=info msg="Migration successfully executed" id="Add epoch_end column" duration=4.069867ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.513320566Z level=info msg="Executing migration" id="Add index for epoch_end" 18:16:32 policy-db-migrator | > upgrade 0540-toscacapabilitytype.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.51452919Z level=info msg="Migration successfully executed" id="Add index for epoch_end" duration=1.206424ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.518937722Z level=info msg="Executing migration" id="Make epoch_end the same as epoch" 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.519190615Z level=info msg="Migration successfully executed" id="Make epoch_end the same as epoch" duration=250.813µs 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.522913658Z level=info msg="Executing migration" id="Move region to single row" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.523454364Z level=info msg="Migration successfully executed" id="Move region to single row" duration=544.816µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.527342191Z level=info msg="Executing migration" id="Remove index org_id_epoch from annotation table" 18:16:32 policy-db-migrator | > upgrade 0550-toscacapabilitytypes.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.528270651Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch from annotation table" duration=927.95µs 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.531869613Z level=info msg="Executing migration" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.532788784Z level=info msg="Migration successfully executed" id="Remove index org_id_dashboard_id_panel_id_epoch from annotation table" duration=924.981µs 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.580267821Z level=info msg="Executing migration" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.582131203Z level=info msg="Migration successfully executed" id="Add index for org_id_dashboard_id_epoch_end_epoch on annotation table" duration=1.865933ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.587423225Z level=info msg="Executing migration" id="Add index for org_id_epoch_end_epoch on annotation table" 18:16:32 policy-db-migrator | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.588388266Z level=info msg="Migration successfully executed" id="Add index for org_id_epoch_end_epoch on annotation table" duration=970.791µs 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.593249684Z level=info msg="Executing migration" id="Remove index org_id_epoch_epoch_end from annotation table" 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.594491989Z level=info msg="Migration successfully executed" id="Remove index org_id_epoch_epoch_end from annotation table" duration=1.240556ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.598476045Z level=info msg="Executing migration" id="Add index for alert_id on annotation table" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.600028444Z level=info msg="Migration successfully executed" id="Add index for alert_id on annotation table" duration=1.552629ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.603961349Z level=info msg="Executing migration" id="Increase tags column to length 4096" 18:16:32 policy-db-migrator | > upgrade 0570-toscadatatype.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.60405301Z level=info msg="Migration successfully executed" id="Increase tags column to length 4096" duration=91.971µs 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.608871787Z level=info msg="Executing migration" id="create test_data table" 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.610497436Z level=info msg="Migration successfully executed" id="create test_data table" duration=1.627179ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.614967889Z level=info msg="Executing migration" id="create dashboard_version table v1" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.61595752Z level=info msg="Migration successfully executed" id="create dashboard_version table v1" duration=990.711µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.621873419Z level=info msg="Executing migration" id="add index dashboard_version.dashboard_id" 18:16:32 policy-db-migrator | > upgrade 0580-toscadatatypes.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.623682321Z level=info msg="Migration successfully executed" id="add index dashboard_version.dashboard_id" duration=1.799541ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.629202396Z level=info msg="Executing migration" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.63047952Z level=info msg="Migration successfully executed" id="add unique index dashboard_version.dashboard_id and dashboard_version.version" duration=1.280294ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.635822753Z level=info msg="Executing migration" id="Set dashboard version to 1 where 0" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.636254938Z level=info msg="Migration successfully executed" id="Set dashboard version to 1 where 0" duration=435.425µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.640029313Z level=info msg="Executing migration" id="save existing dashboard data in dashboard_version table v1" 18:16:32 policy-db-migrator | > upgrade 0590-toscadatatypes_toscadatatype.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.640562339Z level=info msg="Migration successfully executed" id="save existing dashboard data in dashboard_version table v1" duration=533.086µs 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.64412103Z level=info msg="Executing migration" id="alter dashboard_version.data to mediumtext v1" 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.644318313Z level=info msg="Migration successfully executed" id="alter dashboard_version.data to mediumtext v1" duration=196.223µs 18:16:32 policy-db-migrator | -------------- 18:16:32 policy-db-migrator | 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.651083163Z level=info msg="Executing migration" id="create team table" 18:16:32 policy-db-migrator | > upgrade 0600-toscanodetemplate.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.652669001Z level=info msg="Migration successfully executed" id="create team table" duration=1.585268ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.65864968Z level=info msg="Executing migration" id="add index team.org_id" 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.660583833Z level=info msg="Migration successfully executed" id="add index team.org_id" duration=1.934033ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.664613201Z level=info msg="Executing migration" id="add unique index team_org_id_name" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.665707624Z level=info msg="Migration successfully executed" id="add unique index team_org_id_name" duration=1.094373ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.671000356Z level=info msg="Executing migration" id="Add column uid in team" 18:16:32 policy-db-migrator | > upgrade 0610-toscanodetemplates.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.678001888Z level=info msg="Migration successfully executed" id="Add column uid in team" duration=7.004812ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.68925245Z level=info msg="Executing migration" id="Update uid column values in team" 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.689769147Z level=info msg="Migration successfully executed" id="Update uid column values in team" duration=519.787µs 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.699178197Z level=info msg="Executing migration" id="Add unique index team_org_id_uid" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.700813186Z level=info msg="Migration successfully executed" id="Add unique index team_org_id_uid" duration=1.634649ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.710173256Z level=info msg="Executing migration" id="create team member table" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.710969125Z level=info msg="Migration successfully executed" id="create team member table" duration=795.849µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.722268298Z level=info msg="Executing migration" id="add index team_member.org_id" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.723959608Z level=info msg="Migration successfully executed" id="add index team_member.org_id" duration=1.69122ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.73524545Z level=info msg="Executing migration" id="add unique index team_member_org_id_team_id_user_id" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.73695729Z level=info msg="Migration successfully executed" id="add unique index team_member_org_id_team_id_user_id" duration=1.71096ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.748344213Z level=info msg="Executing migration" id="add index team_member.team_id" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.750085704Z level=info msg="Migration successfully executed" id="add index team_member.team_id" duration=1.744771ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.760431706Z level=info msg="Executing migration" id="Add column email to team table" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.767182005Z level=info msg="Migration successfully executed" id="Add column email to team table" duration=6.750439ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.775004727Z level=info msg="Executing migration" id="Add column external to team_member table" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.779566451Z level=info msg="Migration successfully executed" id="Add column external to team_member table" duration=4.559063ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.783313034Z level=info msg="Executing migration" id="Add column permission to team_member table" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.787940329Z level=info msg="Migration successfully executed" id="Add column permission to team_member table" duration=4.626725ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.792208978Z level=info msg="Executing migration" id="create dashboard acl table" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.793184559Z level=info msg="Migration successfully executed" id="create dashboard acl table" duration=969.341µs 18:16:32 policy-db-migrator | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.799335942Z level=info msg="Executing migration" id="add index dashboard_acl_dashboard_id" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.800659787Z level=info msg="Migration successfully executed" id="add index dashboard_acl_dashboard_id" duration=1.324495ms 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.80428087Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_user_id" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.806103071Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_user_id" duration=1.821731ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.844856056Z level=info msg="Executing migration" id="add unique index dashboard_acl_dashboard_id_team_id" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.846525326Z level=info msg="Migration successfully executed" id="add unique index dashboard_acl_dashboard_id_team_id" duration=1.67107ms 18:16:32 policy-db-migrator | > upgrade 0630-toscanodetype.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.852567177Z level=info msg="Executing migration" id="add index dashboard_acl_user_id" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.853779691Z level=info msg="Migration successfully executed" id="add index dashboard_acl_user_id" duration=1.213394ms 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.85878935Z level=info msg="Executing migration" id="add index dashboard_acl_team_id" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.859809712Z level=info msg="Migration successfully executed" id="add index dashboard_acl_team_id" duration=1.020192ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.863820959Z level=info msg="Executing migration" id="add index dashboard_acl_org_id_role" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.864887802Z level=info msg="Migration successfully executed" id="add index dashboard_acl_org_id_role" duration=1.066553ms 18:16:32 policy-db-migrator | > upgrade 0640-toscanodetypes.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.871283966Z level=info msg="Executing migration" id="add index dashboard_permission" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.873032567Z level=info msg="Migration successfully executed" id="add index dashboard_permission" duration=1.748571ms 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.877223516Z level=info msg="Executing migration" id="save default acl rules in dashboard_acl table" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.878033216Z level=info msg="Migration successfully executed" id="save default acl rules in dashboard_acl table" duration=810.4µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.883934255Z level=info msg="Executing migration" id="delete acl rules for deleted dashboards and folders" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.88433911Z level=info msg="Migration successfully executed" id="delete acl rules for deleted dashboards and folders" duration=404.225µs 18:16:32 policy-db-migrator | > upgrade 0650-toscanodetypes_toscanodetype.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.889221097Z level=info msg="Executing migration" id="create tag table" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.89038027Z level=info msg="Migration successfully executed" id="create tag table" duration=1.158633ms 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.92276044Z level=info msg="Executing migration" id="add index tag.key_value" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.924663682Z level=info msg="Migration successfully executed" id="add index tag.key_value" duration=1.907032ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.933191402Z level=info msg="Executing migration" id="create login attempt table" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.933926942Z level=info msg="Migration successfully executed" id="create login attempt table" duration=737.85µs 18:16:32 policy-db-migrator | > upgrade 0660-toscaparameter.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.937488593Z level=info msg="Executing migration" id="add index login_attempt.username" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.938246292Z level=info msg="Migration successfully executed" id="add index login_attempt.username" duration=757.729µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.94233811Z level=info msg="Executing migration" id="drop index IDX_login_attempt_username - v1" 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.943859108Z level=info msg="Migration successfully executed" id="drop index IDX_login_attempt_username - v1" duration=1.521128ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.951129073Z level=info msg="Executing migration" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.971101518Z level=info msg="Migration successfully executed" id="Rename table login_attempt to login_attempt_tmp_qwerty - v1" duration=19.973865ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.975788723Z level=info msg="Executing migration" id="create login_attempt v2" 18:16:32 policy-db-migrator | > upgrade 0670-toscapolicies.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.97638644Z level=info msg="Migration successfully executed" id="create login_attempt v2" duration=600.597µs 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.980552318Z level=info msg="Executing migration" id="create index IDX_login_attempt_username - v2" 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.981734623Z level=info msg="Migration successfully executed" id="create index IDX_login_attempt_username - v2" duration=1.180315ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.987164467Z level=info msg="Executing migration" id="copy login_attempt v1 to v2" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.987739363Z level=info msg="Migration successfully executed" id="copy login_attempt v1 to v2" duration=574.586µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.991206414Z level=info msg="Executing migration" id="drop login_attempt_tmp_qwerty" 18:16:32 policy-db-migrator | > upgrade 0680-toscapolicies_toscapolicy.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.991888082Z level=info msg="Migration successfully executed" id="drop login_attempt_tmp_qwerty" duration=681.108µs 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.994947678Z level=info msg="Executing migration" id="create user auth table" 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:46.995693797Z level=info msg="Migration successfully executed" id="create user auth table" duration=745.739µs 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.001126591Z level=info msg="Executing migration" id="create index IDX_user_auth_auth_module_auth_id - v1" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.002191663Z level=info msg="Migration successfully executed" id="create index IDX_user_auth_auth_module_auth_id - v1" duration=1.064452ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.006873508Z level=info msg="Executing migration" id="alter user_auth.auth_id to length 190" 18:16:32 policy-db-migrator | > upgrade 0690-toscapolicy.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.007102501Z level=info msg="Migration successfully executed" id="alter user_auth.auth_id to length 190" duration=228.233µs 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.011147788Z level=info msg="Executing migration" id="Add OAuth access token to user_auth" 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.018579177Z level=info msg="Migration successfully executed" id="Add OAuth access token to user_auth" duration=7.432669ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.023997261Z level=info msg="Executing migration" id="Add OAuth refresh token to user_auth" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.029156753Z level=info msg="Migration successfully executed" id="Add OAuth refresh token to user_auth" duration=5.161392ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.032179908Z level=info msg="Executing migration" id="Add OAuth token type to user_auth" 18:16:32 policy-db-migrator | > upgrade 0700-toscapolicytype.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.03738531Z level=info msg="Migration successfully executed" id="Add OAuth token type to user_auth" duration=5.202802ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.04080392Z level=info msg="Executing migration" id="Add OAuth expiry to user_auth" 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.045915501Z level=info msg="Migration successfully executed" id="Add OAuth expiry to user_auth" duration=5.111261ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.051508538Z level=info msg="Executing migration" id="Add index to user_id column in user_auth" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.05261177Z level=info msg="Migration successfully executed" id="Add index to user_id column in user_auth" duration=1.094902ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.056114201Z level=info msg="Executing migration" id="Add OAuth ID token to user_auth" 18:16:32 policy-db-migrator | > upgrade 0710-toscapolicytypes.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.064800094Z level=info msg="Migration successfully executed" id="Add OAuth ID token to user_auth" duration=8.679183ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.067614778Z level=info msg="Executing migration" id="create server_lock table" 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.068235686Z level=info msg="Migration successfully executed" id="create server_lock table" duration=620.678µs 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.073654291Z level=info msg="Executing migration" id="add index server_lock.operation_uid" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.074689512Z level=info msg="Migration successfully executed" id="add index server_lock.operation_uid" duration=1.034931ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.078160113Z level=info msg="Executing migration" id="create user auth token table" 18:16:32 policy-db-migrator | > upgrade 0720-toscapolicytypes_toscapolicytype.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.078988364Z level=info msg="Migration successfully executed" id="create user auth token table" duration=828.221µs 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.082485035Z level=info msg="Executing migration" id="add unique index user_auth_token.auth_token" 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.083524037Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.auth_token" duration=1.038902ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.090640642Z level=info msg="Executing migration" id="add unique index user_auth_token.prev_auth_token" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.09219554Z level=info msg="Migration successfully executed" id="add unique index user_auth_token.prev_auth_token" duration=1.553708ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.095118265Z level=info msg="Executing migration" id="add index user_auth_token.user_id" 18:16:32 policy-db-migrator | > upgrade 0730-toscaproperty.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.097021098Z level=info msg="Migration successfully executed" id="add index user_auth_token.user_id" duration=1.902333ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.101066495Z level=info msg="Executing migration" id="Add revoked_at to the user auth token" 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.10647105Z level=info msg="Migration successfully executed" id="Add revoked_at to the user auth token" duration=5.408145ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.111845264Z level=info msg="Executing migration" id="add index user_auth_token.revoked_at" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.112706574Z level=info msg="Migration successfully executed" id="add index user_auth_token.revoked_at" duration=863.961µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.116072754Z level=info msg="Executing migration" id="create cache_data table" 18:16:32 policy-db-migrator | > upgrade 0740-toscarelationshiptype.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.1174733Z level=info msg="Migration successfully executed" id="create cache_data table" duration=1.400266ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.1208613Z level=info msg="Executing migration" id="add unique index cache_data.cache_key" 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.122625712Z level=info msg="Migration successfully executed" id="add unique index cache_data.cache_key" duration=1.757622ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.128897886Z level=info msg="Executing migration" id="create short_url table v1" 18:16:32 policy-db-migrator | 18:16:32 policy-db-migrator | 18:16:32 policy-db-migrator | > upgrade 0750-toscarelationshiptypes.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.129778897Z level=info msg="Migration successfully executed" id="create short_url table v1" duration=880.751µs 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.132941384Z level=info msg="Executing migration" id="add index short_url.org_id-uid" 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.134615074Z level=info msg="Migration successfully executed" id="add index short_url.org_id-uid" duration=1.67322ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.137992014Z level=info msg="Executing migration" id="alter table short_url alter column created_by type to bigint" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.138239817Z level=info msg="Migration successfully executed" id="alter table short_url alter column created_by type to bigint" duration=252.513µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.143863544Z level=info msg="Executing migration" id="delete alert_definition table" 18:16:32 policy-db-migrator | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.143977036Z level=info msg="Migration successfully executed" id="delete alert_definition table" duration=113.102µs 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.146982121Z level=info msg="Executing migration" id="recreate alert_definition table" 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.147885491Z level=info msg="Migration successfully executed" id="recreate alert_definition table" duration=902.99µs 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.150799006Z level=info msg="Executing migration" id="add index in alert_definition on org_id and title columns" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.15190377Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and title columns" duration=1.104514ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.154808304Z level=info msg="Executing migration" id="add index in alert_definition on org_id and uid columns" 18:16:32 policy-db-migrator | > upgrade 0770-toscarequirement.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.155895717Z level=info msg="Migration successfully executed" id="add index in alert_definition on org_id and uid columns" duration=1.086933ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.160931087Z level=info msg="Executing migration" id="alter alert_definition table data column to mediumtext in mysql" 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.161053058Z level=info msg="Migration successfully executed" id="alter alert_definition table data column to mediumtext in mysql" duration=121.741µs 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.164387978Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and title columns" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.16542949Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and title columns" duration=1.039962ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.168846001Z level=info msg="Executing migration" id="drop index in alert_definition on org_id and uid columns" 18:16:32 policy-db-migrator | > upgrade 0780-toscarequirements.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.169860602Z level=info msg="Migration successfully executed" id="drop index in alert_definition on org_id and uid columns" duration=1.014551ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.177508594Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and title columns" 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.178583506Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and title columns" duration=1.074732ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.181680173Z level=info msg="Executing migration" id="add unique index in alert_definition on org_id and uid columns" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.183364243Z level=info msg="Migration successfully executed" id="add unique index in alert_definition on org_id and uid columns" duration=1.68389ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.189566556Z level=info msg="Executing migration" id="Add column paused in alert_definition" 18:16:32 policy-db-migrator | > upgrade 0790-toscarequirements_toscarequirement.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.195291825Z level=info msg="Migration successfully executed" id="Add column paused in alert_definition" duration=5.725019ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.198707305Z level=info msg="Executing migration" id="drop alert_definition table" 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.199765268Z level=info msg="Migration successfully executed" id="drop alert_definition table" duration=1.057373ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.202794854Z level=info msg="Executing migration" id="delete alert_definition_version table" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.202975036Z level=info msg="Migration successfully executed" id="delete alert_definition_version table" duration=179.812µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.207448999Z level=info msg="Executing migration" id="recreate alert_definition_version table" 18:16:32 policy-db-migrator | > upgrade 0800-toscaservicetemplate.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.208464081Z level=info msg="Migration successfully executed" id="recreate alert_definition_version table" duration=1.017462ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.211853751Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_id and version columns" 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.212981254Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_id and version columns" duration=1.127563ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.216484167Z level=info msg="Executing migration" id="add index in alert_definition_version table on alert_definition_uid and version columns" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.218373328Z level=info msg="Migration successfully executed" id="add index in alert_definition_version table on alert_definition_uid and version columns" duration=1.888921ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.222938533Z level=info msg="Executing migration" id="alter alert_definition_version table data column to mediumtext in mysql" 18:16:32 policy-db-migrator | > upgrade 0810-toscatopologytemplate.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.223185116Z level=info msg="Migration successfully executed" id="alter alert_definition_version table data column to mediumtext in mysql" duration=246.213µs 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.226975681Z level=info msg="Executing migration" id="drop alert_definition_version table" 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.227941963Z level=info msg="Migration successfully executed" id="drop alert_definition_version table" duration=965.882µs 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.232376235Z level=info msg="Executing migration" id="create alert_instance table" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.233281296Z level=info msg="Migration successfully executed" id="create alert_instance table" duration=904.552µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.236864258Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, def_uid and current_state columns" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.237960801Z 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.093163ms 18:16:32 policy-db-migrator | > upgrade 0820-toscatrigger.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.269382294Z level=info msg="Executing migration" id="add index in alert_instance table on def_org_id, current_state columns" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.271151255Z level=info msg="Migration successfully executed" id="add index in alert_instance table on def_org_id, current_state columns" duration=1.763621ms 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.276108074Z level=info msg="Executing migration" id="add column current_state_end to alert_instance" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.284968759Z level=info msg="Migration successfully executed" id="add column current_state_end to alert_instance" duration=8.862495ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.287842263Z level=info msg="Executing migration" id="remove index def_org_id, def_uid, current_state on alert_instance" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.288617042Z level=info msg="Migration successfully executed" id="remove index def_org_id, def_uid, current_state on alert_instance" duration=774.889µs 18:16:32 policy-db-migrator | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.291665899Z level=info msg="Executing migration" id="remove index def_org_id, current_state on alert_instance" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.292463349Z level=info msg="Migration successfully executed" id="remove index def_org_id, current_state on alert_instance" duration=797.45µs 18:16:32 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.296498696Z level=info msg="Executing migration" id="rename def_org_id to rule_org_id in alert_instance" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.334349416Z level=info msg="Migration successfully executed" id="rename def_org_id to rule_org_id in alert_instance" duration=37.85023ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.337754096Z level=info msg="Executing migration" id="rename def_uid to rule_uid in alert_instance" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.369815007Z level=info msg="Migration successfully executed" id="rename def_uid to rule_uid in alert_instance" duration=32.060641ms 18:16:32 policy-db-migrator | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.373767024Z level=info msg="Executing migration" id="add index rule_org_id, rule_uid, current_state on alert_instance" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.374554463Z level=info msg="Migration successfully executed" id="add index rule_org_id, rule_uid, current_state on alert_instance" duration=787.299µs 18:16:32 policy-db-migrator | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.37858512Z level=info msg="Executing migration" id="add index rule_org_id, current_state on alert_instance" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.379382871Z level=info msg="Migration successfully executed" id="add index rule_org_id, current_state on alert_instance" duration=797.661µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.382605399Z level=info msg="Executing migration" id="add current_reason column related to current_state" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.39197556Z level=info msg="Migration successfully executed" id="add current_reason column related to current_state" duration=9.369701ms 18:16:32 policy-db-migrator | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.400018605Z level=info msg="Executing migration" id="create alert_rule table" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.401708996Z level=info msg="Migration successfully executed" id="create alert_rule table" duration=1.696371ms 18:16:32 policy-db-migrator | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.407477794Z level=info msg="Executing migration" id="add index in alert_rule on org_id and title columns" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.408741879Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and title columns" duration=1.263535ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.413758869Z level=info msg="Executing migration" id="add index in alert_rule on org_id and uid columns" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.415583961Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id and uid columns" duration=1.825062ms 18:16:32 policy-db-migrator | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.471345512Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.473212743Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespace_uid, group_uid columns" duration=1.867081ms 18:16:32 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.476814887Z level=info msg="Executing migration" id="alter alert_rule table data column to mediumtext in mysql" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.476963629Z level=info msg="Migration successfully executed" id="alter alert_rule table data column to mediumtext in mysql" duration=148.262µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.482325992Z level=info msg="Executing migration" id="add column for to alert_rule" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.488453256Z level=info msg="Migration successfully executed" id="add column for to alert_rule" duration=6.126414ms 18:16:32 policy-db-migrator | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.491859016Z level=info msg="Executing migration" id="add column annotations to alert_rule" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.497793947Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule" duration=5.937571ms 18:16:32 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.501242277Z level=info msg="Executing migration" id="add column labels to alert_rule" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.510019641Z level=info msg="Migration successfully executed" id="add column labels to alert_rule" duration=8.778464ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.515018741Z level=info msg="Executing migration" id="remove unique index from alert_rule on org_id, title columns" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.516069584Z level=info msg="Migration successfully executed" id="remove unique index from alert_rule on org_id, title columns" duration=1.048723ms 18:16:32 policy-db-migrator | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.519529575Z level=info msg="Executing migration" id="add index in alert_rule on org_id, namespase_uid and title columns" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.520609537Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, namespase_uid and title columns" duration=1.079672ms 18:16:32 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.523919926Z level=info msg="Executing migration" id="add dashboard_uid column to alert_rule" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.529911908Z level=info msg="Migration successfully executed" id="add dashboard_uid column to alert_rule" duration=5.991352ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.535347062Z level=info msg="Executing migration" id="add panel_id column to alert_rule" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.544271559Z level=info msg="Migration successfully executed" id="add panel_id column to alert_rule" duration=8.925417ms 18:16:32 policy-db-migrator | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.547577168Z level=info msg="Executing migration" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.548666051Z level=info msg="Migration successfully executed" id="add index in alert_rule on org_id, dashboard_uid and panel_id columns" duration=1.088582ms 18:16:32 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.552425936Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.558290645Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule" duration=5.864109ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.562875169Z level=info msg="Executing migration" id="add is_paused column to alert_rule table" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.568754469Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule table" duration=5.87869ms 18:16:32 policy-db-migrator | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.572627696Z level=info msg="Executing migration" id="fix is_paused column for alert_rule table" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.572693106Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule table" duration=65.7µs 18:16:32 policy-db-migrator | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.577690936Z level=info msg="Executing migration" id="create alert_rule_version table" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.578645127Z level=info msg="Migration successfully executed" id="create alert_rule_version table" duration=954.381µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.583658057Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_uid and version columns" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.585416007Z 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.75577ms 18:16:32 policy-db-migrator | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.589507396Z level=info msg="Executing migration" id="add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.591284656Z 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.77611ms 18:16:32 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.620035488Z level=info msg="Executing migration" id="alter alert_rule_version table data column to mediumtext in mysql" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.62017148Z level=info msg="Migration successfully executed" id="alter alert_rule_version table data column to mediumtext in mysql" duration=113.402µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.624351149Z level=info msg="Executing migration" id="add column for to alert_rule_version" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.633042882Z level=info msg="Migration successfully executed" id="add column for to alert_rule_version" duration=8.692233ms 18:16:32 policy-db-migrator | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.63702906Z level=info msg="Executing migration" id="add column annotations to alert_rule_version" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.643164013Z level=info msg="Migration successfully executed" id="add column annotations to alert_rule_version" duration=6.134083ms 18:16:32 policy-db-migrator | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.646686264Z level=info msg="Executing migration" id="add column labels to alert_rule_version" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.652840887Z level=info msg="Migration successfully executed" id="add column labels to alert_rule_version" duration=6.156173ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.657556034Z level=info msg="Executing migration" id="add rule_group_idx column to alert_rule_version" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.663764457Z level=info msg="Migration successfully executed" id="add rule_group_idx column to alert_rule_version" duration=6.172303ms 18:16:32 policy-db-migrator | > upgrade 0940-PdpPolicyStatus_PdpGroup.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.667093426Z level=info msg="Executing migration" id="add is_paused column to alert_rule_versions table" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.67322266Z level=info msg="Migration successfully executed" id="add is_paused column to alert_rule_versions table" duration=6.128774ms 18:16:32 policy-db-migrator | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.67658686Z level=info msg="Executing migration" id="fix is_paused column for alert_rule_version table" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.676651371Z level=info msg="Migration successfully executed" id="fix is_paused column for alert_rule_version table" duration=69.171µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.681332306Z level=info msg="Executing migration" id=create_alert_configuration_table 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.682072185Z level=info msg="Migration successfully executed" id=create_alert_configuration_table duration=738.979µs 18:16:32 policy-db-migrator | > upgrade 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.686184893Z level=info msg="Executing migration" id="Add column default in alert_configuration" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.695658417Z level=info msg="Migration successfully executed" id="Add column default in alert_configuration" duration=9.474874ms 18:16:32 policy-db-migrator | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.699895166Z level=info msg="Executing migration" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.699962857Z level=info msg="Migration successfully executed" id="alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql" duration=68.151µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.703419938Z level=info msg="Executing migration" id="add column org_id in alert_configuration" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.709692223Z level=info msg="Migration successfully executed" id="add column org_id in alert_configuration" duration=6.271635ms 18:16:32 policy-db-migrator | > upgrade 0960-FK_ToscaNodeTemplate_capabilitiesName.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.714041264Z level=info msg="Executing migration" id="add index in alert_configuration table on org_id column" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.715082487Z level=info msg="Migration successfully executed" id="add index in alert_configuration table on org_id column" duration=1.059593ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.71959648Z level=info msg="Executing migration" id="add configuration_hash column to alert_configuration" 18:16:32 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 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.729716911Z level=info msg="Migration successfully executed" id="add configuration_hash column to alert_configuration" duration=10.119271ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.733299943Z level=info msg="Executing migration" id=create_ngalert_configuration_table 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.734437586Z level=info msg="Migration successfully executed" id=create_ngalert_configuration_table duration=1.137743ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.7389129Z level=info msg="Executing migration" id="add index in ngalert_configuration on org_id column" 18:16:32 policy-db-migrator | > upgrade 0970-FK_ToscaNodeTemplate_requirementsName.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.740454639Z level=info msg="Migration successfully executed" id="add index in ngalert_configuration on org_id column" duration=1.541339ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.744165272Z level=info msg="Executing migration" id="add column send_alerts_to in ngalert_configuration" 18:16:32 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 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.750517987Z level=info msg="Migration successfully executed" id="add column send_alerts_to in ngalert_configuration" duration=6.352195ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.754213262Z level=info msg="Executing migration" id="create provenance_type table" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.7549214Z level=info msg="Migration successfully executed" id="create provenance_type table" duration=707.718µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.75912428Z level=info msg="Executing migration" id="add index to uniquify (record_key, record_type, org_id) columns" 18:16:32 policy-db-migrator | > upgrade 0980-FK_ToscaNodeType_requirementsName.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.760716959Z level=info msg="Migration successfully executed" id="add index to uniquify (record_key, record_type, org_id) columns" duration=1.591729ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.766046352Z level=info msg="Executing migration" id="create alert_image table" 18:16:32 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 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.767181285Z level=info msg="Migration successfully executed" id="create alert_image table" duration=1.134283ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.771610098Z level=info msg="Executing migration" id="add unique index on token to alert_image table" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.77259939Z level=info msg="Migration successfully executed" id="add unique index on token to alert_image table" duration=993.862µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.777752801Z level=info msg="Executing migration" id="support longer URLs in alert_image table" 18:16:32 policy-db-migrator | > upgrade 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.777878582Z level=info msg="Migration successfully executed" id="support longer URLs in alert_image table" duration=126.181µs 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.782188434Z level=info msg="Executing migration" id=create_alert_configuration_history_table 18:16:32 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 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.783536079Z level=info msg="Migration successfully executed" id=create_alert_configuration_history_table duration=1.347035ms 18:16:32 policy-db-migrator | -------------- 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.787378265Z level=info msg="Executing migration" id="drop non-unique orgID index on alert_configuration" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.788351407Z level=info msg="Migration successfully executed" id="drop non-unique orgID index on alert_configuration" duration=971.172µs 18:16:32 policy-db-migrator | > upgrade 1000-FK_ToscaServiceTemplate_dataTypesName.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.793167244Z level=info msg="Executing migration" id="drop unique orgID index on alert_configuration if exists" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.793550329Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop unique orgID index on alert_configuration if exists" 18:16:32 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 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.797671827Z level=info msg="Executing migration" id="extract alertmanager configuration history to separate table" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.798301945Z level=info msg="Migration successfully executed" id="extract alertmanager configuration history to separate table" duration=629.428µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.802323963Z level=info msg="Executing migration" id="add unique index on orgID to alert_configuration" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.803908111Z level=info msg="Migration successfully executed" id="add unique index on orgID to alert_configuration" duration=1.583688ms 18:16:32 policy-db-migrator | > upgrade 1010-FK_ToscaServiceTemplate_nodeTypesName.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.808686898Z level=info msg="Executing migration" id="add last_applied column to alert_configuration_history" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.817202169Z level=info msg="Migration successfully executed" id="add last_applied column to alert_configuration_history" duration=8.515391ms 18:16:32 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 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.821284717Z level=info msg="Executing migration" id="create library_element table v1" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.822116458Z level=info msg="Migration successfully executed" id="create library_element table v1" duration=830.261µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.82736017Z level=info msg="Executing migration" id="add index library_element org_id-folder_id-name-kind" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.829388254Z level=info msg="Migration successfully executed" id="add index library_element org_id-folder_id-name-kind" duration=2.027684ms 18:16:32 policy-db-migrator | > upgrade 1020-FK_ToscaServiceTemplate_policyTypesName.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.8349764Z level=info msg="Executing migration" id="create library_element_connection table v1" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.835700399Z level=info msg="Migration successfully executed" id="create library_element_connection table v1" duration=724.029µs 18:16:32 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 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.841245305Z level=info msg="Executing migration" id="add index library_element_connection element_id-kind-connection_id" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.842377178Z level=info msg="Migration successfully executed" id="add index library_element_connection element_id-kind-connection_id" duration=1.131203ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.847763902Z level=info msg="Executing migration" id="add unique index library_element org_id_uid" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.848795234Z level=info msg="Migration successfully executed" id="add unique index library_element org_id_uid" duration=1.028922ms 18:16:32 policy-db-migrator | > upgrade 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.855238141Z level=info msg="Executing migration" id="increase max description length to 2048" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.855287342Z level=info msg="Migration successfully executed" id="increase max description length to 2048" duration=50.561µs 18:16:32 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 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.859485951Z level=info msg="Executing migration" id="alter library_element model to mediumtext" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.859596903Z level=info msg="Migration successfully executed" id="alter library_element model to mediumtext" duration=108.921µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.863662542Z level=info msg="Executing migration" id="clone move dashboard alerts to unified alerting" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.864108437Z level=info msg="Migration successfully executed" id="clone move dashboard alerts to unified alerting" duration=445.375µs 18:16:32 policy-db-migrator | > upgrade 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.86782852Z level=info msg="Executing migration" id="create data_keys table" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.869216837Z level=info msg="Migration successfully executed" id="create data_keys table" duration=1.387237ms 18:16:32 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 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.874116945Z level=info msg="Executing migration" id="create secrets table" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.87529482Z level=info msg="Migration successfully executed" id="create secrets table" duration=1.178405ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.879311627Z level=info msg="Executing migration" id="rename data_keys name column to id" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.926261105Z level=info msg="Migration successfully executed" id="rename data_keys name column to id" duration=46.949098ms 18:16:32 policy-db-migrator | > upgrade 1050-FK_ToscaTopologyTemplate_policyName.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.931944602Z level=info msg="Executing migration" id="add name column into data_keys" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.938956265Z level=info msg="Migration successfully executed" id="add name column into data_keys" duration=7.010312ms 18:16:32 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 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.943168705Z level=info msg="Executing migration" id="copy data_keys id column values into name" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:47.943309997Z level=info msg="Migration successfully executed" id="copy data_keys id column values into name" duration=141.402µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.014288219Z level=info msg="Executing migration" id="rename data_keys name column to label" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.063476514Z level=info msg="Migration successfully executed" id="rename data_keys name column to label" duration=49.189324ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.067398259Z level=info msg="Executing migration" id="rename data_keys id column back to name" 18:16:32 policy-db-migrator | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.111768247Z level=info msg="Migration successfully executed" id="rename data_keys id column back to name" duration=44.369968ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.115305138Z level=info msg="Executing migration" id="create kv_store table v1" 18:16:32 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 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.115893586Z level=info msg="Migration successfully executed" id="create kv_store table v1" duration=588.178µs 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.12046848Z level=info msg="Executing migration" id="add index kv_store.org_id-namespace-key" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.121528043Z level=info msg="Migration successfully executed" id="add index kv_store.org_id-namespace-key" duration=1.056953ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.125719052Z level=info msg="Executing migration" id="update dashboard_uid and panel_id from existing annotations" 18:16:32 policy-db-migrator | > upgrade 0100-pdp.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.126029295Z level=info msg="Migration successfully executed" id="update dashboard_uid and panel_id from existing annotations" duration=312.443µs 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.130022613Z level=info msg="Executing migration" id="create permission table" 18:16:32 policy-db-migrator | ALTER TABLE pdp ADD COLUMN LASTUPDATE datetime NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER HEALTHY 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.130791162Z level=info msg="Migration successfully executed" id="create permission table" duration=768.139µs 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.137762444Z level=info msg="Executing migration" id="add unique index permission.role_id" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.139596526Z level=info msg="Migration successfully executed" id="add unique index permission.role_id" duration=1.837492ms 18:16:32 policy-db-migrator | 18:16:32 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.143630375Z level=info msg="Executing migration" id="add unique index role_id_action_scope" 18:16:32 policy-db-migrator | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(timeStamp, name, version) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.145323875Z level=info msg="Migration successfully executed" id="add unique index role_id_action_scope" duration=1.69383ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.150175732Z level=info msg="Executing migration" id="create role table" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.151016062Z level=info msg="Migration successfully executed" id="create role table" duration=840.24µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.154899139Z level=info msg="Executing migration" id="add column display_name" 18:16:32 policy-db-migrator | > upgrade 0120-pk_pdpstatistics.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.166107972Z level=info msg="Migration successfully executed" id="add column display_name" duration=11.210173ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.169896396Z level=info msg="Executing migration" id="add column group_name" 18:16:32 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.17519505Z level=info msg="Migration successfully executed" id="add column group_name" duration=5.297994ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.179930816Z level=info msg="Executing migration" id="add index role.org_id" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.181016048Z level=info msg="Migration successfully executed" id="add index role.org_id" duration=1.085092ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.18452638Z level=info msg="Executing migration" id="add unique index role_org_id_name" 18:16:32 policy-db-migrator | > upgrade 0130-pdpstatistics.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.186031968Z level=info msg="Migration successfully executed" id="add unique index role_org_id_name" duration=1.504108ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.190211787Z level=info msg="Executing migration" id="add index role_org_id_uid" 18:16:32 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 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.191872948Z level=info msg="Migration successfully executed" id="add index role_org_id_uid" duration=1.66072ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.197303722Z level=info msg="Executing migration" id="create team role table" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.198058651Z level=info msg="Migration successfully executed" id="create team role table" duration=754.559µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.202003187Z level=info msg="Executing migration" id="add index team_role.org_id" 18:16:32 policy-db-migrator | > upgrade 0140-pk_pdpstatistics.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.203576036Z level=info msg="Migration successfully executed" id="add index team_role.org_id" duration=1.571799ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.207771035Z level=info msg="Executing migration" id="add unique index team_role_org_id_team_id_role_id" 18:16:32 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 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.209697749Z level=info msg="Migration successfully executed" id="add unique index team_role_org_id_team_id_role_id" duration=1.922954ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.214740529Z level=info msg="Executing migration" id="add index team_role.team_id" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.2157656Z level=info msg="Migration successfully executed" id="add index team_role.team_id" duration=1.024651ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.219325904Z level=info msg="Executing migration" id="create user role table" 18:16:32 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.220138393Z level=info msg="Migration successfully executed" id="create user role table" duration=811.32µs 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.224514324Z level=info msg="Executing migration" id="add index user_role.org_id" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.226199455Z level=info msg="Migration successfully executed" id="add index user_role.org_id" duration=1.68508ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.231916953Z level=info msg="Executing migration" id="add unique index user_role_org_id_user_id_role_id" 18:16:32 policy-db-migrator | > upgrade 0150-pdpstatistics.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.233045066Z level=info msg="Migration successfully executed" id="add unique index user_role_org_id_user_id_role_id" duration=1.127773ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.2367586Z level=info msg="Executing migration" id="add index user_role.user_id" 18:16:32 policy-db-migrator | ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NULL 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.238226227Z level=info msg="Migration successfully executed" id="add index user_role.user_id" duration=1.464167ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.244480172Z level=info msg="Executing migration" id="create builtin role table" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.245680736Z level=info msg="Migration successfully executed" id="create builtin role table" duration=1.200274ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.250466013Z level=info msg="Executing migration" id="add index builtin_role.role_id" 18:16:32 policy-db-migrator | > upgrade 0160-jpapdpstatistics_enginestats.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.251493475Z level=info msg="Migration successfully executed" id="add index builtin_role.role_id" duration=1.027192ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.255407121Z level=info msg="Executing migration" id="add index builtin_role.name" 18:16:32 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN ID BIGINT DEFAULT NULL AFTER UPTIME 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.256767168Z level=info msg="Migration successfully executed" id="add index builtin_role.name" duration=1.358157ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.260761975Z level=info msg="Executing migration" id="Add column org_id to builtin_role table" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.271858606Z level=info msg="Migration successfully executed" id="Add column org_id to builtin_role table" duration=11.090731ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.275881955Z level=info msg="Executing migration" id="add index builtin_role.org_id" 18:16:32 policy-db-migrator | > upgrade 0170-jpapdpstatistics_enginestats.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.277805717Z level=info msg="Migration successfully executed" id="add index builtin_role.org_id" duration=1.924262ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.284438446Z level=info msg="Executing migration" id="add unique index builtin_role_org_id_role_id_role" 18:16:32 policy-db-migrator | UPDATE jpapdpstatistics_enginestats a 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.285517989Z level=info msg="Migration successfully executed" id="add unique index builtin_role_org_id_role_id_role" duration=1.079133ms 18:16:32 policy-db-migrator | JOIN pdpstatistics b 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.290320756Z level=info msg="Executing migration" id="Remove unique index role_org_id_uid" 18:16:32 policy-db-migrator | ON a.name = b.name AND a.version = b.version AND a.timeStamp = b.timeStamp 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.291367838Z level=info msg="Migration successfully executed" id="Remove unique index role_org_id_uid" duration=1.047162ms 18:16:32 policy-db-migrator | SET a.id = b.id 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.295358886Z level=info msg="Executing migration" id="add unique index role.uid" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.296449048Z level=info msg="Migration successfully executed" id="add unique index role.uid" duration=1.090212ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.301216445Z level=info msg="Executing migration" id="create seed assignment table" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.302421069Z level=info msg="Migration successfully executed" id="create seed assignment table" duration=1.204504ms 18:16:32 policy-db-migrator | > upgrade 0180-jpapdpstatistics_enginestats.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.308972247Z level=info msg="Executing migration" id="add unique index builtin_role_role_name" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.31005769Z level=info msg="Migration successfully executed" id="add unique index builtin_role_role_name" duration=1.084663ms 18:16:32 policy-db-migrator | ALTER TABLE jpapdpstatistics_enginestats DROP COLUMN timeStamp 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.313962726Z level=info msg="Executing migration" id="add column hidden to role table" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.324241098Z level=info msg="Migration successfully executed" id="add column hidden to role table" duration=10.248772ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.337353244Z level=info msg="Executing migration" id="permission kind migration" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.349770551Z level=info msg="Migration successfully executed" id="permission kind migration" duration=12.419297ms 18:16:32 policy-db-migrator | > upgrade 0190-jpapolicyaudit.sql 18:16:32 policy-db-migrator | -------------- 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.353375614Z level=info msg="Executing migration" id="permission attribute migration" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.35895268Z level=info msg="Migration successfully executed" id="permission attribute migration" duration=5.576616ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.362551323Z level=info msg="Executing migration" id="permission identifier migration" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.370431807Z level=info msg="Migration successfully executed" id="permission identifier migration" duration=7.880444ms 18:16:32 policy-db-migrator | > upgrade 0200-JpaPolicyAuditIndex_timestamp.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.375251793Z level=info msg="Executing migration" id="add permission identifier index" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.376372637Z level=info msg="Migration successfully executed" id="add permission identifier index" duration=1.122814ms 18:16:32 policy-db-migrator | CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.381258065Z level=info msg="Executing migration" id="create query_history table v1" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.382114846Z level=info msg="Migration successfully executed" id="create query_history table v1" duration=856.561µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.385691468Z level=info msg="Executing migration" id="add index query_history.org_id-created_by-datasource_uid" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.387252447Z level=info msg="Migration successfully executed" id="add index query_history.org_id-created_by-datasource_uid" duration=1.560809ms 18:16:32 policy-db-migrator | > upgrade 0210-sequence.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.392734851Z level=info msg="Executing migration" id="alter table query_history alter column created_by type to bigint" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.392839333Z level=info msg="Migration successfully executed" id="alter table query_history alter column created_by type to bigint" duration=103.392µs 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.396575697Z level=info msg="Executing migration" id="rbac disabled migrator" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.396609917Z level=info msg="Migration successfully executed" id="rbac disabled migrator" duration=34.79µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.399915576Z level=info msg="Executing migration" id="teams permissions migration" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.400403582Z level=info msg="Migration successfully executed" id="teams permissions migration" duration=488.026µs 18:16:32 policy-db-migrator | > upgrade 0220-sequence.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.40524748Z level=info msg="Executing migration" id="dashboard permissions" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.406065839Z level=info msg="Migration successfully executed" id="dashboard permissions" duration=819.149µs 18:16:32 policy-db-migrator | INSERT INTO sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.410195099Z level=info msg="Executing migration" id="dashboard permissions uid scopes" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.41117959Z level=info msg="Migration successfully executed" id="dashboard permissions uid scopes" duration=984.351µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.415126747Z level=info msg="Executing migration" id="drop managed folder create actions" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.41531988Z level=info msg="Migration successfully executed" id="drop managed folder create actions" duration=193.173µs 18:16:32 policy-db-migrator | > upgrade 0100-jpatoscapolicy_targets.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.418924702Z level=info msg="Executing migration" id="alerting notification permissions" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.419239726Z level=info msg="Migration successfully executed" id="alerting notification permissions" duration=313.164µs 18:16:32 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) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.424368397Z level=info msg="Executing migration" id="create query_history_star table v1" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.425631631Z level=info msg="Migration successfully executed" id="create query_history_star table v1" duration=1.262774ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.430206416Z level=info msg="Executing migration" id="add index query_history.user_id-query_uid" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.431987647Z level=info msg="Migration successfully executed" id="add index query_history.user_id-query_uid" duration=1.778481ms 18:16:32 policy-db-migrator | > upgrade 0110-jpatoscapolicytype_targets.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.435724722Z level=info msg="Executing migration" id="add column org_id in query_history_star" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.445887862Z level=info msg="Migration successfully executed" id="add column org_id in query_history_star" duration=10.16298ms 18:16:32 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) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.449765278Z level=info msg="Executing migration" id="alter table query_history_star_mig column user_id type to bigint" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.449828839Z level=info msg="Migration successfully executed" id="alter table query_history_star_mig column user_id type to bigint" duration=64.131µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.454241171Z level=info msg="Executing migration" id="create correlation table v1" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.455088311Z level=info msg="Migration successfully executed" id="create correlation table v1" duration=848.22µs 18:16:32 policy-db-migrator | > upgrade 0120-toscatrigger.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.459463153Z level=info msg="Executing migration" id="add index correlations.uid" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.461278535Z level=info msg="Migration successfully executed" id="add index correlations.uid" duration=1.814262ms 18:16:32 policy-db-migrator | DROP TABLE IF EXISTS toscatrigger 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.467073544Z level=info msg="Executing migration" id="add index correlations.source_uid" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.468792844Z level=info msg="Migration successfully executed" id="add index correlations.source_uid" duration=1.719311ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.473616231Z level=info msg="Executing migration" id="add correlation config column" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.482716379Z level=info msg="Migration successfully executed" id="add correlation config column" duration=9.100018ms 18:16:32 policy-db-migrator | > upgrade 0130-jpatoscapolicytype_triggers.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.48616722Z level=info msg="Executing migration" id="drop index IDX_correlation_uid - v1" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.487175012Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_uid - v1" duration=1.007372ms 18:16:32 policy-db-migrator | ALTER TABLE jpatoscapolicytype_triggers MODIFY COLUMN triggers LONGBLOB 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.491247401Z level=info msg="Executing migration" id="drop index IDX_correlation_source_uid - v1" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.492306353Z level=info msg="Migration successfully executed" id="drop index IDX_correlation_source_uid - v1" duration=1.058802ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.498394655Z level=info msg="Executing migration" id="Rename table correlation to correlation_tmp_qwerty - v1" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.529790388Z level=info msg="Migration successfully executed" id="Rename table correlation to correlation_tmp_qwerty - v1" duration=31.396003ms 18:16:32 policy-db-migrator | > upgrade 0140-toscaparameter.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.532951826Z level=info msg="Executing migration" id="create correlation v2" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.533645444Z level=info msg="Migration successfully executed" id="create correlation v2" duration=693.318µs 18:16:32 policy-db-migrator | DROP TABLE IF EXISTS toscaparameter 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.538220127Z level=info msg="Executing migration" id="create index IDX_correlation_uid - v2" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.539356711Z level=info msg="Migration successfully executed" id="create index IDX_correlation_uid - v2" duration=1.136924ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.542833653Z level=info msg="Executing migration" id="create index IDX_correlation_source_uid - v2" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.544024926Z level=info msg="Migration successfully executed" id="create index IDX_correlation_source_uid - v2" duration=1.190443ms 18:16:32 policy-db-migrator | > upgrade 0150-toscaproperty.sql 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.547774821Z level=info msg="Executing migration" id="create index IDX_correlation_org_id - v2" 18:16:32 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_constraints 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.548843794Z level=info msg="Migration successfully executed" id="create index IDX_correlation_org_id - v2" duration=1.067283ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.553758352Z level=info msg="Executing migration" id="copy correlation v1 to v2" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.554043176Z level=info msg="Migration successfully executed" id="copy correlation v1 to v2" duration=283.564µs 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.557928241Z level=info msg="Executing migration" id="drop correlation_tmp_qwerty" 18:16:32 policy-db-migrator | DROP TABLE IF EXISTS jpatoscaproperty_metadata 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.559126386Z level=info msg="Migration successfully executed" id="drop correlation_tmp_qwerty" duration=1.197745ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.565164768Z level=info msg="Executing migration" id="add provisioning column" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.574031393Z level=info msg="Migration successfully executed" id="add provisioning column" duration=8.866295ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.578485806Z level=info msg="Executing migration" id="create entity_events table" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.579239225Z level=info msg="Migration successfully executed" id="create entity_events table" duration=753.119µs 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.582618865Z level=info msg="Executing migration" id="create dashboard public config v1" 18:16:32 policy-db-migrator | DROP TABLE IF EXISTS toscaproperty 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.583541386Z level=info msg="Migration successfully executed" id="create dashboard public config v1" duration=922.501µs 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.588080879Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v1" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.588556685Z level=warn msg="Skipping migration: Already executed, but not recorded in migration log" id="drop index UQE_dashboard_public_config_uid - v1" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.592838006Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 18:16:32 policy-db-migrator | > upgrade 0160-jpapolicyaudit_pk.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.593542314Z 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" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.597979227Z level=info msg="Executing migration" id="Drop old dashboard public config table" 18:16:32 policy-db-migrator | ALTER TABLE jpapolicyaudit DROP PRIMARY KEY 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.599221972Z level=info msg="Migration successfully executed" id="Drop old dashboard public config table" duration=1.242115ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.630045428Z level=info msg="Executing migration" id="recreate dashboard public config v1" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.631613586Z level=info msg="Migration successfully executed" id="recreate dashboard public config v1" duration=1.567969ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.636809868Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v1" 18:16:32 policy-db-migrator | ALTER TABLE jpapolicyaudit ADD CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.637870231Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v1" duration=1.060393ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.64119986Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.642317424Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v1" duration=1.119014ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.646070198Z level=info msg="Executing migration" id="drop index UQE_dashboard_public_config_uid - v2" 18:16:32 policy-db-migrator | > upgrade 0170-pdpstatistics_pk.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.647193421Z level=info msg="Migration successfully executed" id="drop index UQE_dashboard_public_config_uid - v2" duration=1.122813ms 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.661700603Z level=info msg="Executing migration" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 18:16:32 policy-db-migrator | ALTER TABLE pdpstatistics DROP PRIMARY KEY 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.663391453Z level=info msg="Migration successfully executed" id="drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.69116ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.667761966Z level=info msg="Executing migration" id="Drop public config table" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.669042541Z level=info msg="Migration successfully executed" id="Drop public config table" duration=1.279985ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.674142271Z level=info msg="Executing migration" id="Recreate dashboard public config v2" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.675752091Z level=info msg="Migration successfully executed" id="Recreate dashboard public config v2" duration=1.60882ms 18:16:32 policy-db-migrator | ALTER TABLE pdpstatistics ADD CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.68079007Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_uid - v2" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.682659472Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_uid - v2" duration=1.869222ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.687771153Z level=info msg="Executing migration" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.688918986Z level=info msg="Migration successfully executed" id="create index IDX_dashboard_public_config_org_id_dashboard_uid - v2" duration=1.147343ms 18:16:32 policy-db-migrator | > upgrade 0180-jpatoscanodetemplate_metadata.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.693316939Z level=info msg="Executing migration" id="create index UQE_dashboard_public_config_access_token - v2" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.694423752Z level=info msg="Migration successfully executed" id="create index UQE_dashboard_public_config_access_token - v2" duration=1.106723ms 18:16:32 policy-db-migrator | ALTER TABLE jpatoscanodetemplate_metadata MODIFY COLUMN METADATA LONGTEXT 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.698357379Z level=info msg="Executing migration" id="Rename table dashboard_public_config to dashboard_public - v2" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.731762695Z level=info msg="Migration successfully executed" id="Rename table dashboard_public_config to dashboard_public - v2" duration=33.402816ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.737674526Z level=info msg="Executing migration" id="add annotations_enabled column" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.746123446Z level=info msg="Migration successfully executed" id="add annotations_enabled column" duration=8.44831ms 18:16:32 policy-db-migrator | > upgrade 0100-upgrade.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.749943001Z level=info msg="Executing migration" id="add time_selection_enabled column" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.758628624Z level=info msg="Migration successfully executed" id="add time_selection_enabled column" duration=8.687093ms 18:16:32 policy-db-migrator | select 'upgrade to 1100 completed' as msg 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.763017756Z level=info msg="Executing migration" id="delete orphaned public dashboards" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.763261869Z level=info msg="Migration successfully executed" id="delete orphaned public dashboards" duration=244.033µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.767242716Z level=info msg="Executing migration" id="add share column" 18:16:32 policy-db-migrator | msg 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.775673206Z level=info msg="Migration successfully executed" id="add share column" duration=8.42963ms 18:16:32 policy-db-migrator | upgrade to 1100 completed 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.884068733Z level=info msg="Executing migration" id="backfill empty share column fields with default of public" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.884456148Z level=info msg="Migration successfully executed" id="backfill empty share column fields with default of public" duration=386.495µs 18:16:32 policy-db-migrator | > upgrade 0100-jpapolicyaudit_renameuser.sql 18:16:32 policy-db-migrator | -------------- 18:16:32 policy-db-migrator | ALTER TABLE jpapolicyaudit RENAME COLUMN USER TO USERNAME 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.891251358Z level=info msg="Executing migration" id="create file table" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.892827487Z level=info msg="Migration successfully executed" id="create file table" duration=1.582399ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.898354693Z level=info msg="Executing migration" id="file table idx: path natural pk" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.899740009Z level=info msg="Migration successfully executed" id="file table idx: path natural pk" duration=1.384016ms 18:16:32 policy-db-migrator | > upgrade 0110-idx_tsidx1.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.905867152Z level=info msg="Executing migration" id="file table idx: parent_folder_path_hash fast folder retrieval" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.906953125Z level=info msg="Migration successfully executed" id="file table idx: parent_folder_path_hash fast folder retrieval" duration=1.085533ms 18:16:32 policy-db-migrator | DROP INDEX IDX_TSIDX1 ON pdpstatistics 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.911541699Z level=info msg="Executing migration" id="create file_meta table" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.912773093Z level=info msg="Migration successfully executed" id="create file_meta table" duration=1.231504ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.917022524Z level=info msg="Executing migration" id="file table idx: path key" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.918994847Z level=info msg="Migration successfully executed" id="file table idx: path key" duration=1.971403ms 18:16:32 policy-db-migrator | CREATE INDEX IDXTSIDX1 ON pdpstatistics(timeStamp, name, version) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.923980346Z level=info msg="Executing migration" id="set path collation in file table" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.924041297Z level=info msg="Migration successfully executed" id="set path collation in file table" duration=61.321µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.928539231Z level=info msg="Executing migration" id="migrate contents column to mediumblob for MySQL" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.928602521Z level=info msg="Migration successfully executed" id="migrate contents column to mediumblob for MySQL" duration=63.61µs 18:16:32 policy-db-migrator | > upgrade 0120-audit_sequence.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.931734449Z level=info msg="Executing migration" id="managed permissions migration" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.932580538Z level=info msg="Migration successfully executed" id="managed permissions migration" duration=845.969µs 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.937311825Z level=info msg="Executing migration" id="managed folder permissions alert actions migration" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.937635928Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions migration" duration=324.573µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.941744377Z level=info msg="Executing migration" id="RBAC action name migrator" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.942517417Z level=info msg="Migration successfully executed" id="RBAC action name migrator" duration=771.84µs 18:16:32 policy-db-migrator | INSERT INTO audit_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM jpapolicyaudit)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.947583177Z level=info msg="Executing migration" id="Add UID column to playlist" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.962445083Z level=info msg="Migration successfully executed" id="Add UID column to playlist" duration=14.860646ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.965752832Z level=info msg="Executing migration" id="Update uid column values in playlist" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.965872884Z level=info msg="Migration successfully executed" id="Update uid column values in playlist" duration=120.301µs 18:16:32 policy-db-migrator | > upgrade 0130-statistics_sequence.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.968276632Z level=info msg="Executing migration" id="Add index for uid in playlist" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:48.970101064Z level=info msg="Migration successfully executed" id="Add index for uid in playlist" duration=1.824262ms 18:16:32 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)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.001286924Z level=info msg="Executing migration" id="update group index for alert rules" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.001901971Z level=info msg="Migration successfully executed" id="update group index for alert rules" duration=614.047µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.007277875Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated migration" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.007612269Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated migration" duration=334.674µs 18:16:32 policy-db-migrator | INSERT INTO statistics_sequence(SEQ_NAME, SEQ_COUNT) VALUES('SEQ_GEN', (SELECT IFNULL(max(id),0) FROM pdpstatistics)) 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.011341513Z level=info msg="Executing migration" id="admin only folder/dashboard permission" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.012053882Z level=info msg="Migration successfully executed" id="admin only folder/dashboard permission" duration=712.689µs 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.015385632Z level=info msg="Executing migration" id="add action column to seed_assignment" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.02540506Z level=info msg="Migration successfully executed" id="add action column to seed_assignment" duration=10.020158ms 18:16:32 policy-db-migrator | TRUNCATE TABLE sequence 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.061896352Z level=info msg="Executing migration" id="add scope column to seed_assignment" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.0742587Z level=info msg="Migration successfully executed" id="add scope column to seed_assignment" duration=12.360948ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.078902694Z level=info msg="Executing migration" id="remove unique index builtin_role_role_name before nullable update" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.079959567Z level=info msg="Migration successfully executed" id="remove unique index builtin_role_role_name before nullable update" duration=1.057133ms 18:16:32 policy-db-migrator | > upgrade 0100-pdpstatistics.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.084357059Z level=info msg="Executing migration" id="update seed_assignment role_name column to nullable" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.196074653Z level=info msg="Migration successfully executed" id="update seed_assignment role_name column to nullable" duration=111.717404ms 18:16:32 policy-db-migrator | DROP INDEX IDXTSIDX1 ON pdpstatistics 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.208011075Z level=info msg="Executing migration" id="add unique index builtin_role_name back" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.210489704Z level=info msg="Migration successfully executed" id="add unique index builtin_role_name back" duration=2.476859ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.216760889Z level=info msg="Executing migration" id="add unique index builtin_role_action_scope" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.217982003Z level=info msg="Migration successfully executed" id="add unique index builtin_role_action_scope" duration=1.220494ms 18:16:32 policy-db-migrator | DROP TABLE pdpstatistics 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.221307672Z level=info msg="Executing migration" id="add primary key to seed_assigment" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.257854495Z level=info msg="Migration successfully executed" id="add primary key to seed_assigment" duration=36.546963ms 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.264472384Z level=info msg="Executing migration" id="managed folder permissions alert actions repeated fixed migration" 18:16:32 policy-db-migrator | 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.264677666Z level=info msg="Migration successfully executed" id="managed folder permissions alert actions repeated fixed migration" duration=207.652µs 18:16:32 policy-db-migrator | > upgrade 0110-jpapdpstatistics_enginestats.sql 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.269875728Z level=info msg="Executing migration" id="managed folder permissions library panel actions migration" 18:16:32 policy-db-migrator | -------------- 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.270142431Z level=info msg="Migration successfully executed" id="managed folder permissions library panel actions migration" duration=267.203µs 18:16:32 policy-db-migrator | DROP TABLE jpapdpstatistics_enginestats 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.274062227Z level=info msg="Executing migration" id="migrate external alertmanagers to datsourcse" 18:16:32 policy-db-migrator | -------------- 18:16:32 policy-db-migrator | 18:16:32 policy-db-migrator | 18:16:32 policy-db-migrator | > upgrade 0120-statistics_sequence.sql 18:16:32 policy-db-migrator | -------------- 18:16:32 policy-db-migrator | DROP TABLE statistics_sequence 18:16:32 policy-db-migrator | -------------- 18:16:32 policy-db-migrator | 18:16:32 policy-db-migrator | policyadmin: OK: upgrade (1300) 18:16:32 policy-db-migrator | name version 18:16:32 policy-db-migrator | policyadmin 1300 18:16:32 policy-db-migrator | ID script operation from_version to_version tag success atTime 18:16:32 policy-db-migrator | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:52 18:16:32 policy-db-migrator | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:52 18:16:32 policy-db-migrator | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:52 18:16:32 policy-db-migrator | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:52 18:16:32 policy-db-migrator | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:52 18:16:32 policy-db-migrator | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:52 18:16:32 policy-db-migrator | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:52 18:16:32 policy-db-migrator | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:52 18:16:32 policy-db-migrator | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:52 18:16:32 policy-db-migrator | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:52 18:16:32 policy-db-migrator | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:52 18:16:32 policy-db-migrator | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:52 18:16:32 policy-db-migrator | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:52 18:16:32 policy-db-migrator | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:52 18:16:32 policy-db-migrator | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:52 18:16:32 policy-db-migrator | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:52 18:16:32 policy-db-migrator | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:52 18:16:32 policy-db-migrator | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:52 18:16:32 policy-db-migrator | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:52 18:16:32 policy-db-migrator | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:52 18:16:32 policy-db-migrator | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:52 18:16:32 policy-db-migrator | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:52 18:16:32 policy-db-migrator | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:53 18:16:32 policy-db-migrator | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:53 18:16:32 policy-db-migrator | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:53 18:16:32 policy-db-migrator | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:53 18:16:32 policy-db-migrator | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:53 18:16:32 policy-db-migrator | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:53 18:16:32 policy-db-migrator | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:53 18:16:32 policy-db-migrator | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:53 18:16:32 policy-db-migrator | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:53 18:16:32 policy-db-migrator | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:53 18:16:32 policy-db-migrator | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:53 18:16:32 policy-db-migrator | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:53 18:16:32 policy-db-migrator | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:53 18:16:32 policy-db-migrator | 36 0450-pdpgroup.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:53 18:16:32 policy-db-migrator | 37 0460-pdppolicystatus.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:53 18:16:32 policy-db-migrator | 38 0470-pdp.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:53 18:16:32 policy-db-migrator | 39 0480-pdpstatistics.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:53 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.274406961Z level=info msg="Migration successfully executed" id="migrate external alertmanagers to datsourcse" duration=345.414µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.27767827Z level=info msg="Executing migration" id="create folder table" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.278661072Z level=info msg="Migration successfully executed" id="create folder table" duration=984.032µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.284480241Z level=info msg="Executing migration" id="Add index for parent_uid" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.285689845Z level=info msg="Migration successfully executed" id="Add index for parent_uid" duration=1.209254ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.290034857Z level=info msg="Executing migration" id="Add unique index for folder.uid and folder.org_id" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.29121051Z level=info msg="Migration successfully executed" id="Add unique index for folder.uid and folder.org_id" duration=1.175473ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.298438057Z level=info msg="Executing migration" id="Update folder title length" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.298473637Z level=info msg="Migration successfully executed" id="Update folder title length" duration=37µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.30302338Z level=info msg="Executing migration" id="Add unique index for folder.title and folder.parent_uid" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.304861352Z level=info msg="Migration successfully executed" id="Add unique index for folder.title and folder.parent_uid" duration=1.836722ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.308175932Z level=info msg="Executing migration" id="Remove unique index for folder.title and folder.parent_uid" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.309860762Z level=info msg="Migration successfully executed" id="Remove unique index for folder.title and folder.parent_uid" duration=1.681331ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.316412369Z level=info msg="Executing migration" id="Add unique index for title, parent_uid, and org_id" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.317642744Z level=info msg="Migration successfully executed" id="Add unique index for title, parent_uid, and org_id" duration=1.229805ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.320970764Z level=info msg="Executing migration" id="create anon_device table" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.322788065Z level=info msg="Migration successfully executed" id="create anon_device table" duration=1.816352ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.359948005Z level=info msg="Executing migration" id="add unique index anon_device.device_id" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.362007949Z level=info msg="Migration successfully executed" id="add unique index anon_device.device_id" duration=2.061834ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.368420906Z level=info msg="Executing migration" id="add index anon_device.updated_at" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.370427199Z level=info msg="Migration successfully executed" id="add index anon_device.updated_at" duration=2.005283ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.37382652Z level=info msg="Executing migration" id="create signing_key table" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.374598859Z level=info msg="Migration successfully executed" id="create signing_key table" duration=772.349µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.378117041Z level=info msg="Executing migration" id="add unique index signing_key.key_id" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.380110515Z level=info msg="Migration successfully executed" id="add unique index signing_key.key_id" duration=1.993935ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.385463828Z level=info msg="Executing migration" id="set legacy alert migration status in kvstore" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.386731032Z level=info msg="Migration successfully executed" id="set legacy alert migration status in kvstore" duration=1.267374ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.391397248Z level=info msg="Executing migration" id="migrate record of created folders during legacy migration to kvstore" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.391898694Z level=info msg="Migration successfully executed" id="migrate record of created folders during legacy migration to kvstore" duration=502.726µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.395490156Z level=info msg="Executing migration" id="Add folder_uid for dashboard" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.40757603Z level=info msg="Migration successfully executed" id="Add folder_uid for dashboard" duration=12.086194ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.41261676Z level=info msg="Executing migration" id="Populate dashboard folder_uid column" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.413827044Z level=info msg="Migration successfully executed" id="Populate dashboard folder_uid column" duration=1.211264ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.418256967Z level=info msg="Executing migration" id="Add unique index for dashboard_org_id_folder_uid_title" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.420204389Z level=info msg="Migration successfully executed" id="Add unique index for dashboard_org_id_folder_uid_title" duration=1.947192ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.423854903Z level=info msg="Executing migration" id="create sso_setting table" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.425526912Z level=info msg="Migration successfully executed" id="create sso_setting table" duration=1.671229ms 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.432696308Z level=info msg="Executing migration" id="copy kvstore migration status to each org" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.433491367Z level=info msg="Migration successfully executed" id="copy kvstore migration status to each org" duration=795.719µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.437647486Z level=info msg="Executing migration" id="add back entry for orgid=0 migrated status" 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.438207443Z level=info msg="Migration successfully executed" id="add back entry for orgid=0 migrated status" duration=564.897µs 18:16:32 grafana | logger=migrator t=2024-01-08T18:14:49.442587215Z level=info msg="migrations completed" performed=523 skipped=0 duration=7.113741519s 18:16:32 grafana | logger=sqlstore t=2024-01-08T18:14:49.453242481Z level=info msg="Created default admin" user=admin 18:16:32 grafana | logger=sqlstore t=2024-01-08T18:14:49.453533214Z level=info msg="Created default organization" 18:16:32 grafana | logger=secrets t=2024-01-08T18:14:49.461728922Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 18:16:32 grafana | logger=plugin.store t=2024-01-08T18:14:49.482430047Z level=info msg="Loading plugins..." 18:16:32 grafana | logger=local.finder t=2024-01-08T18:14:49.518861078Z level=warn msg="Skipping finding plugins as directory does not exist" path=/usr/share/grafana/plugins-bundled 18:16:32 grafana | logger=plugin.store t=2024-01-08T18:14:49.518916889Z level=info msg="Plugins loaded" count=55 duration=36.487942ms 18:16:32 grafana | logger=query_data t=2024-01-08T18:14:49.52227698Z level=info msg="Query Service initialization" 18:16:32 grafana | logger=live.push_http t=2024-01-08T18:14:49.526249636Z level=info msg="Live Push Gateway initialization" 18:16:32 grafana | logger=ngalert.migration t=2024-01-08T18:14:49.53579418Z level=info msg=Starting 18:16:32 grafana | logger=ngalert.migration orgID=1 t=2024-01-08T18:14:49.536608549Z level=info msg="Migrating alerts for organisation" 18:16:32 grafana | logger=ngalert.migration orgID=1 t=2024-01-08T18:14:49.537083135Z level=info msg="Alerts found to migrate" alerts=0 18:16:32 grafana | logger=ngalert.migration orgID=1 t=2024-01-08T18:14:49.537457719Z level=warn msg="No available receivers" 18:16:32 grafana | logger=ngalert.migration CurrentType=Legacy DesiredType=UnifiedAlerting CleanOnDowngrade=false CleanOnUpgrade=false t=2024-01-08T18:14:49.545715327Z level=info msg="Completed legacy migration" 18:16:32 grafana | logger=infra.usagestats.collector t=2024-01-08T18:14:49.585517119Z level=info msg="registering usage stat providers" usageStatsProvidersLen=2 18:16:32 grafana | logger=provisioning.datasources t=2024-01-08T18:14:49.589658218Z level=info msg="inserting datasource from configuration" name=PolicyPrometheus uid=dkSf71fnz 18:16:32 grafana | logger=provisioning.alerting t=2024-01-08T18:14:49.609001878Z level=info msg="starting to provision alerting" 18:16:32 grafana | logger=provisioning.alerting t=2024-01-08T18:14:49.609023768Z level=info msg="finished to provision alerting" 18:16:32 grafana | logger=ngalert.state.manager t=2024-01-08T18:14:49.609295361Z level=info msg="Warming state cache for startup" 18:16:32 grafana | logger=grafanaStorageLogger t=2024-01-08T18:14:49.61009279Z level=info msg="Storage starting" 18:16:32 grafana | logger=ngalert.multiorg.alertmanager t=2024-01-08T18:14:49.612798772Z level=info msg="Starting MultiOrg Alertmanager" 18:16:32 grafana | logger=http.server t=2024-01-08T18:14:49.617272966Z level=info msg="HTTP Server Listen" address=[::]:3000 protocol=http subUrl= socket= 18:16:32 grafana | logger=sqlstore.transactions t=2024-01-08T18:14:49.622381715Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 18:16:32 grafana | logger=grafana.update.checker t=2024-01-08T18:14:49.644624639Z level=info msg="Update check succeeded" duration=34.894703ms 18:16:32 grafana | logger=ngalert.state.manager t=2024-01-08T18:14:49.645146256Z level=info msg="State cache has been initialized" states=0 duration=35.851555ms 18:16:32 grafana | logger=ngalert.scheduler t=2024-01-08T18:14:49.645174306Z level=info msg="Starting scheduler" tickInterval=10s 18:16:32 grafana | logger=ticker t=2024-01-08T18:14:49.645239317Z level=info msg=starting first_tick=2024-01-08T18:14:50Z 18:16:32 grafana | logger=plugins.update.checker t=2024-01-08T18:14:49.686477125Z level=info msg="Update check succeeded" duration=76.218273ms 18:16:32 grafana | logger=sqlstore.transactions t=2024-01-08T18:14:49.912177091Z level=info msg="Database locked, sleeping then retrying" error="database is locked" retry=0 code="database is locked" 18:16:32 grafana | logger=infra.usagestats t=2024-01-08T18:16:23.621669677Z level=info msg="Usage stats are ready to report" 18:16:32 policy-db-migrator | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:53 18:16:32 policy-db-migrator | 41 0500-pdpsubgroup.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:53 18:16:32 policy-db-migrator | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:53 18:16:32 policy-db-migrator | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:53 18:16:32 policy-db-migrator | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:53 18:16:32 policy-db-migrator | 45 0540-toscacapabilitytype.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:54 18:16:32 policy-db-migrator | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:54 18:16:32 policy-db-migrator | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:54 18:16:32 policy-db-migrator | 48 0570-toscadatatype.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:54 18:16:32 policy-db-migrator | 49 0580-toscadatatypes.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:54 18:16:32 policy-db-migrator | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:54 18:16:32 policy-db-migrator | 51 0600-toscanodetemplate.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:54 18:16:32 policy-db-migrator | 52 0610-toscanodetemplates.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:54 18:16:32 policy-db-migrator | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:54 18:16:32 policy-db-migrator | 54 0630-toscanodetype.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:54 18:16:32 policy-db-migrator | 55 0640-toscanodetypes.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:54 18:16:32 policy-db-migrator | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:54 18:16:32 policy-db-migrator | 57 0660-toscaparameter.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:54 18:16:32 policy-db-migrator | 58 0670-toscapolicies.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:54 18:16:32 policy-db-migrator | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:54 18:16:32 policy-db-migrator | 60 0690-toscapolicy.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:54 18:16:32 policy-db-migrator | 61 0700-toscapolicytype.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:54 18:16:32 policy-db-migrator | 62 0710-toscapolicytypes.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:54 18:16:32 policy-db-migrator | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:54 18:16:32 policy-db-migrator | 64 0730-toscaproperty.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:54 18:16:32 policy-db-migrator | 65 0740-toscarelationshiptype.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:54 18:16:32 policy-db-migrator | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:54 18:16:32 policy-db-migrator | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:55 18:16:32 policy-db-migrator | 68 0770-toscarequirement.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:55 18:16:32 policy-db-migrator | 69 0780-toscarequirements.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:55 18:16:32 policy-db-migrator | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:55 18:16:32 policy-db-migrator | 71 0800-toscaservicetemplate.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:55 18:16:32 policy-db-migrator | 72 0810-toscatopologytemplate.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:55 18:16:32 policy-db-migrator | 73 0820-toscatrigger.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:55 18:16:32 policy-db-migrator | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:55 18:16:32 policy-db-migrator | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:55 18:16:32 policy-db-migrator | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:55 18:16:32 policy-db-migrator | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:55 18:16:32 policy-db-migrator | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:55 18:16:32 policy-db-migrator | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:55 18:16:32 policy-db-migrator | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:55 18:16:32 policy-db-migrator | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:55 18:16:32 policy-db-migrator | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:55 18:16:32 policy-db-migrator | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:55 18:16:32 policy-db-migrator | 84 0940-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:55 18:16:32 policy-db-migrator | 85 0950-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:55 18:16:32 policy-db-migrator | 86 0960-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:55 18:16:32 policy-db-migrator | 87 0970-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:56 18:16:32 policy-db-migrator | 88 0980-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:56 18:16:32 policy-db-migrator | 89 0990-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:56 18:16:32 policy-db-migrator | 90 1000-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:56 18:16:32 policy-db-migrator | 91 1010-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:56 18:16:32 policy-db-migrator | 92 1020-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:56 18:16:32 policy-db-migrator | 93 1030-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:56 18:16:32 policy-db-migrator | 94 1040-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:56 18:16:32 policy-db-migrator | 95 1050-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:56 18:16:32 policy-db-migrator | 96 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 0801241814510800u 1 2024-01-08 18:14:56 18:16:32 policy-db-migrator | 97 0100-pdp.sql upgrade 0800 0900 0801241814510900u 1 2024-01-08 18:14:56 18:16:32 policy-db-migrator | 98 0110-idx_tsidx1.sql upgrade 0800 0900 0801241814510900u 1 2024-01-08 18:14:56 18:16:32 policy-db-migrator | 99 0120-pk_pdpstatistics.sql upgrade 0800 0900 0801241814510900u 1 2024-01-08 18:14:56 18:16:32 policy-db-migrator | 100 0130-pdpstatistics.sql upgrade 0800 0900 0801241814510900u 1 2024-01-08 18:14:56 18:16:32 policy-db-migrator | 101 0140-pk_pdpstatistics.sql upgrade 0800 0900 0801241814510900u 1 2024-01-08 18:14:56 18:16:32 policy-db-migrator | 102 0150-pdpstatistics.sql upgrade 0800 0900 0801241814510900u 1 2024-01-08 18:14:56 18:16:32 policy-db-migrator | 103 0160-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0801241814510900u 1 2024-01-08 18:14:56 18:16:32 policy-db-migrator | 104 0170-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0801241814510900u 1 2024-01-08 18:14:57 18:16:32 policy-db-migrator | 105 0180-jpapdpstatistics_enginestats.sql upgrade 0800 0900 0801241814510900u 1 2024-01-08 18:14:57 18:16:32 policy-db-migrator | 106 0190-jpapolicyaudit.sql upgrade 0800 0900 0801241814510900u 1 2024-01-08 18:14:57 18:16:32 policy-db-migrator | 107 0200-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 0801241814510900u 1 2024-01-08 18:14:57 18:16:32 policy-db-migrator | 108 0210-sequence.sql upgrade 0800 0900 0801241814510900u 1 2024-01-08 18:14:57 18:16:32 policy-db-migrator | 109 0220-sequence.sql upgrade 0800 0900 0801241814510900u 1 2024-01-08 18:14:57 18:16:32 policy-db-migrator | 110 0100-jpatoscapolicy_targets.sql upgrade 0900 1000 0801241814511000u 1 2024-01-08 18:14:57 18:16:32 policy-db-migrator | 111 0110-jpatoscapolicytype_targets.sql upgrade 0900 1000 0801241814511000u 1 2024-01-08 18:14:57 18:16:32 policy-db-migrator | 112 0120-toscatrigger.sql upgrade 0900 1000 0801241814511000u 1 2024-01-08 18:14:57 18:16:32 policy-db-migrator | 113 0130-jpatoscapolicytype_triggers.sql upgrade 0900 1000 0801241814511000u 1 2024-01-08 18:14:57 18:16:32 policy-db-migrator | 114 0140-toscaparameter.sql upgrade 0900 1000 0801241814511000u 1 2024-01-08 18:14:57 18:16:32 policy-db-migrator | 115 0150-toscaproperty.sql upgrade 0900 1000 0801241814511000u 1 2024-01-08 18:14:57 18:16:32 policy-db-migrator | 116 0160-jpapolicyaudit_pk.sql upgrade 0900 1000 0801241814511000u 1 2024-01-08 18:14:57 18:16:32 policy-db-migrator | 117 0170-pdpstatistics_pk.sql upgrade 0900 1000 0801241814511000u 1 2024-01-08 18:14:57 18:16:32 policy-db-migrator | 118 0180-jpatoscanodetemplate_metadata.sql upgrade 0900 1000 0801241814511000u 1 2024-01-08 18:14:57 18:16:32 policy-db-migrator | 119 0100-upgrade.sql upgrade 1000 1100 0801241814511100u 1 2024-01-08 18:14:57 18:16:32 policy-db-migrator | 120 0100-jpapolicyaudit_renameuser.sql upgrade 1100 1200 0801241814511200u 1 2024-01-08 18:14:58 18:16:32 policy-db-migrator | 121 0110-idx_tsidx1.sql upgrade 1100 1200 0801241814511200u 1 2024-01-08 18:14:58 18:16:32 policy-db-migrator | 122 0120-audit_sequence.sql upgrade 1100 1200 0801241814511200u 1 2024-01-08 18:14:58 18:16:32 policy-db-migrator | 123 0130-statistics_sequence.sql upgrade 1100 1200 0801241814511200u 1 2024-01-08 18:14:58 18:16:32 policy-db-migrator | 124 0100-pdpstatistics.sql upgrade 1200 1300 0801241814511300u 1 2024-01-08 18:14:58 18:16:32 policy-db-migrator | 125 0110-jpapdpstatistics_enginestats.sql upgrade 1200 1300 0801241814511300u 1 2024-01-08 18:14:58 18:16:32 policy-db-migrator | 126 0120-statistics_sequence.sql upgrade 1200 1300 0801241814511300u 1 2024-01-08 18:14:58 18:16:32 policy-db-migrator | policyadmin: OK @ 1300 18:16:32 ++ echo 'Tearing down containers...' 18:16:32 Tearing down containers... 18:16:32 ++ docker-compose down -v --remove-orphans 18:16:33 Stopping policy-api ... 18:16:33 Stopping grafana ... 18:16:33 Stopping mariadb ... 18:16:33 Stopping prometheus ... 18:16:34 Stopping grafana ... done 18:16:34 Stopping prometheus ... done 18:16:35 Stopping mariadb ... done 18:16:43 Stopping policy-api ... done 18:16:43 Removing policy-api ... 18:16:43 Removing policy-db-migrator ... 18:16:43 Removing grafana ... 18:16:43 Removing mariadb ... 18:16:43 Removing prometheus ... 18:16:43 Removing policy-api ... done 18:16:43 Removing prometheus ... done 18:16:43 Removing grafana ... done 18:16:43 Removing mariadb ... done 18:16:43 Removing policy-db-migrator ... done 18:16:43 Removing network compose_default 18:16:43 ++ cd /w/workspace/policy-api-montreal-project-csit-api 18:16:43 + load_set 18:16:43 + _setopts=hxB 18:16:43 ++ echo braceexpand:hashall:interactive-comments:xtrace 18:16:43 ++ tr : ' ' 18:16:43 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:43 + set +o braceexpand 18:16:43 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:43 + set +o hashall 18:16:43 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:43 + set +o interactive-comments 18:16:43 + for i in $(echo "${SHELLOPTS}" | tr ':' ' ') 18:16:43 + set +o xtrace 18:16:43 ++ echo hxB 18:16:43 ++ sed 's/./& /g' 18:16:43 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:43 + set +h 18:16:43 + for i in $(echo "$_setopts" | sed 's/./& /g') 18:16:43 + set +x 18:16:43 + [[ -n /tmp/tmp.koHyd8ewn1 ]] 18:16:43 + rsync -av /tmp/tmp.koHyd8ewn1/ /w/workspace/policy-api-montreal-project-csit-api/csit/archives/api 18:16:43 sending incremental file list 18:16:43 ./ 18:16:43 log.html 18:16:43 output.xml 18:16:43 report.html 18:16:43 testplan.txt 18:16:43 18:16:43 sent 1,344,667 bytes received 95 bytes 2,689,524.00 bytes/sec 18:16:43 total size is 1,344,017 speedup is 1.00 18:16:43 + rm -rf /w/workspace/policy-api-montreal-project-csit-api/models 18:16:43 + exit 0 18:16:43 $ ssh-agent -k 18:16:43 unset SSH_AUTH_SOCK; 18:16:43 unset SSH_AGENT_PID; 18:16:43 echo Agent pid 2105 killed; 18:16:43 [ssh-agent] Stopped. 18:16:44 Robot results publisher started... 18:16:44 -Parsing output xml: 18:16:44 Done! 18:16:44 WARNING! Could not find file: **/log.html 18:16:44 WARNING! Could not find file: **/report.html 18:16:44 -Copying log files to build dir: 18:16:44 Done! 18:16:44 -Assigning results to build: 18:16:44 Done! 18:16:44 -Checking thresholds: 18:16:44 Done! 18:16:44 Done publishing Robot results. 18:16:44 [PostBuildScript] - [INFO] Executing post build scripts. 18:16:44 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins12974631430224568921.sh 18:16:44 ---> sysstat.sh 18:16:45 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins1940483867084905719.sh 18:16:45 ---> package-listing.sh 18:16:45 ++ facter osfamily 18:16:45 ++ tr '[:upper:]' '[:lower:]' 18:16:45 + OS_FAMILY=debian 18:16:45 + workspace=/w/workspace/policy-api-montreal-project-csit-api 18:16:45 + START_PACKAGES=/tmp/packages_start.txt 18:16:45 + END_PACKAGES=/tmp/packages_end.txt 18:16:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:16:45 + PACKAGES=/tmp/packages_start.txt 18:16:45 + '[' /w/workspace/policy-api-montreal-project-csit-api ']' 18:16:45 + PACKAGES=/tmp/packages_end.txt 18:16:45 + case "${OS_FAMILY}" in 18:16:45 + dpkg -l 18:16:45 + grep '^ii' 18:16:45 + '[' -f /tmp/packages_start.txt ']' 18:16:45 + '[' -f /tmp/packages_end.txt ']' 18:16:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:16:45 + '[' /w/workspace/policy-api-montreal-project-csit-api ']' 18:16:45 + mkdir -p /w/workspace/policy-api-montreal-project-csit-api/archives/ 18:16:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-api-montreal-project-csit-api/archives/ 18:16:45 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins13687370990724602129.sh 18:16:45 ---> capture-instance-metadata.sh 18:16:45 Setup pyenv: 18:16:45 system 18:16:45 3.8.13 18:16:45 3.9.13 18:16:45 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:16:45 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-jVx5 from file:/tmp/.os_lf_venv 18:16:47 lf-activate-venv(): INFO: Installing: lftools 18:16:58 lf-activate-venv(): INFO: Adding /tmp/venv-jVx5/bin to PATH 18:16:58 INFO: Running in OpenStack, capturing instance metadata 18:16:59 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins7337789289328527096.sh 18:16:59 provisioning config files... 18:16:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-api-montreal-project-csit-api@tmp/config9756315567819170889tmp 18:16:59 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 18:16:59 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 18:16:59 [EnvInject] - Injecting environment variables from a build step. 18:16:59 [EnvInject] - Injecting as environment variables the properties content 18:16:59 SERVER_ID=logs 18:16:59 18:16:59 [EnvInject] - Variables injected successfully. 18:16:59 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins2172398939741537272.sh 18:16:59 ---> create-netrc.sh 18:16:59 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins12332157046236488919.sh 18:16:59 ---> python-tools-install.sh 18:16:59 Setup pyenv: 18:16:59 system 18:16:59 3.8.13 18:16:59 3.9.13 18:16:59 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:16:59 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-jVx5 from file:/tmp/.os_lf_venv 18:17:01 lf-activate-venv(): INFO: Installing: lftools 18:17:09 lf-activate-venv(): INFO: Adding /tmp/venv-jVx5/bin to PATH 18:17:09 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins8016381447493839139.sh 18:17:09 ---> sudo-logs.sh 18:17:09 Archiving 'sudo' log.. 18:17:09 [policy-api-montreal-project-csit-api] $ /bin/bash /tmp/jenkins10048188859606111183.sh 18:17:09 ---> job-cost.sh 18:17:09 Setup pyenv: 18:17:09 system 18:17:09 3.8.13 18:17:09 3.9.13 18:17:09 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:17:09 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-jVx5 from file:/tmp/.os_lf_venv 18:17:11 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 18:17:18 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. 18:17:18 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. 18:17:18 lf-activate-venv(): INFO: Adding /tmp/venv-jVx5/bin to PATH 18:17:18 INFO: No Stack... 18:17:18 INFO: Retrieving Pricing Info for: v3-standard-8 18:17:19 INFO: Archiving Costs 18:17:19 [policy-api-montreal-project-csit-api] $ /bin/bash -l /tmp/jenkins16408748501715526690.sh 18:17:19 ---> logs-deploy.sh 18:17:19 Setup pyenv: 18:17:19 system 18:17:19 3.8.13 18:17:19 3.9.13 18:17:19 * 3.10.6 (set by /w/workspace/policy-api-montreal-project-csit-api/.python-version) 18:17:19 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-jVx5 from file:/tmp/.os_lf_venv 18:17:20 lf-activate-venv(): INFO: Installing: lftools 18:17:29 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. 18:17:29 python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. 18:17:30 lf-activate-venv(): INFO: Adding /tmp/venv-jVx5/bin to PATH 18:17:30 INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-api-montreal-project-csit-api/58 18:17:30 INFO: archiving workspace using pattern(s): -p **/target/surefire-reports/*-output.txt 18:17:31 Archives upload complete. 18:17:31 INFO: archiving logs to Nexus 18:17:32 ---> uname -a: 18:17:32 Linux prd-ubuntu1804-docker-8c-8g-10567 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux 18:17:32 18:17:32 18:17:32 ---> lscpu: 18:17:32 Architecture: x86_64 18:17:32 CPU op-mode(s): 32-bit, 64-bit 18:17:32 Byte Order: Little Endian 18:17:32 CPU(s): 8 18:17:32 On-line CPU(s) list: 0-7 18:17:32 Thread(s) per core: 1 18:17:32 Core(s) per socket: 1 18:17:32 Socket(s): 8 18:17:32 NUMA node(s): 1 18:17:32 Vendor ID: AuthenticAMD 18:17:32 CPU family: 23 18:17:32 Model: 49 18:17:32 Model name: AMD EPYC-Rome Processor 18:17:32 Stepping: 0 18:17:32 CPU MHz: 2799.998 18:17:32 BogoMIPS: 5599.99 18:17:32 Virtualization: AMD-V 18:17:32 Hypervisor vendor: KVM 18:17:32 Virtualization type: full 18:17:32 L1d cache: 32K 18:17:32 L1i cache: 32K 18:17:32 L2 cache: 512K 18:17:32 L3 cache: 16384K 18:17:32 NUMA node0 CPU(s): 0-7 18:17:32 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 18:17:32 18:17:32 18:17:32 ---> nproc: 18:17:32 8 18:17:32 18:17:32 18:17:32 ---> df -h: 18:17:32 Filesystem Size Used Avail Use% Mounted on 18:17:32 udev 16G 0 16G 0% /dev 18:17:32 tmpfs 3.2G 708K 3.2G 1% /run 18:17:32 /dev/vda1 155G 12G 144G 8% / 18:17:32 tmpfs 16G 0 16G 0% /dev/shm 18:17:32 tmpfs 5.0M 0 5.0M 0% /run/lock 18:17:32 tmpfs 16G 0 16G 0% /sys/fs/cgroup 18:17:32 /dev/vda15 105M 4.4M 100M 5% /boot/efi 18:17:32 tmpfs 3.2G 0 3.2G 0% /run/user/1001 18:17:32 18:17:32 18:17:32 ---> free -m: 18:17:32 total used free shared buff/cache available 18:17:32 Mem: 32167 811 27318 0 4037 30900 18:17:32 Swap: 1023 0 1023 18:17:32 18:17:32 18:17:32 ---> ip addr: 18:17:32 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 18:17:32 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 18:17:32 inet 127.0.0.1/8 scope host lo 18:17:32 valid_lft forever preferred_lft forever 18:17:32 inet6 ::1/128 scope host 18:17:32 valid_lft forever preferred_lft forever 18:17:32 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 18:17:32 link/ether fa:16:3e:39:15:4f brd ff:ff:ff:ff:ff:ff 18:17:32 inet 10.30.106.250/23 brd 10.30.107.255 scope global dynamic ens3 18:17:32 valid_lft 86027sec preferred_lft 86027sec 18:17:32 inet6 fe80::f816:3eff:fe39:154f/64 scope link 18:17:32 valid_lft forever preferred_lft forever 18:17:32 3: docker0: mtu 1500 qdisc noqueue state DOWN group default 18:17:32 link/ether 02:42:7f:a2:a9:ab brd ff:ff:ff:ff:ff:ff 18:17:32 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 18:17:32 valid_lft forever preferred_lft forever 18:17:32 18:17:32 18:17:32 ---> sar -b -r -n DEV: 18:17:32 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-10567) 01/08/24 _x86_64_ (8 CPU) 18:17:32 18:17:32 18:11:20 LINUX RESTART (8 CPU) 18:17:32 18:17:32 18:12:01 tps rtps wtps bread/s bwrtn/s 18:17:32 18:13:01 114.79 38.91 75.88 1767.52 29316.41 18:17:32 18:14:01 120.25 19.68 100.57 2279.35 35091.62 18:17:32 18:15:01 397.72 16.78 380.94 1262.52 85387.89 18:17:32 18:16:01 20.95 0.40 20.55 35.59 22998.68 18:17:32 18:17:01 48.95 1.38 47.57 115.83 24297.20 18:17:32 Average: 140.53 15.43 125.09 1092.18 39417.18 18:17:32 18:17:32 18:12:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:17:32 18:13:01 30152260 31751276 2786960 8.46 68968 1840200 1435172 4.22 817528 1676604 163392 18:17:32 18:14:01 29791768 31777988 3147452 9.56 89696 2188212 1381728 4.07 840440 1976012 150380 18:17:32 18:15:01 27610504 31306248 5328716 16.18 127932 3788384 3697672 10.88 1424444 3451324 132 18:17:32 18:16:01 26888072 30586692 6051148 18.37 128248 3790180 4267752 12.56 2159712 3434744 116 18:17:32 18:17:01 28001556 31661348 4937664 14.99 130344 3759324 1482528 4.36 1115572 3391084 45440 18:17:32 Average: 28488832 31416710 4450388 13.51 109038 3073260 2452970 7.22 1271539 2785954 71892 18:17:32 18:17:32 18:12:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:17:32 18:13:01 lo 1.40 1.40 0.15 0.15 0.00 0.00 0.00 0.00 18:17:32 18:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:32 18:13:01 ens3 142.91 98.85 1134.08 20.53 0.00 0.00 0.00 0.00 18:17:32 18:14:01 lo 3.73 3.73 0.35 0.35 0.00 0.00 0.00 0.00 18:17:32 18:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:32 18:14:01 ens3 70.60 55.34 920.23 8.72 0.00 0.00 0.00 0.00 18:17:32 18:15:01 lo 6.53 6.53 0.59 0.59 0.00 0.00 0.00 0.00 18:17:32 18:15:01 veth3e6f371 0.00 0.30 0.00 0.02 0.00 0.00 0.00 0.00 18:17:32 18:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:32 18:15:01 vethbf86b9e 29.60 38.63 2.94 4.52 0.00 0.00 0.00 0.00 18:17:32 18:16:01 lo 9.37 9.37 8.47 8.47 0.00 0.00 0.00 0.00 18:17:32 18:16:01 veth3e6f371 0.22 0.23 0.02 0.77 0.00 0.00 0.00 0.00 18:17:32 18:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:32 18:16:01 vethbf86b9e 101.27 121.36 111.65 34.44 0.00 0.00 0.00 0.01 18:17:32 18:17:01 lo 8.46 8.46 0.69 0.69 0.00 0.00 0.00 0.00 18:17:32 18:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:32 18:17:01 ens3 801.25 551.45 11964.17 112.13 0.00 0.00 0.00 0.00 18:17:32 Average: lo 5.90 5.90 2.05 2.05 0.00 0.00 0.00 0.00 18:17:32 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:17:32 Average: ens3 115.23 75.68 2270.78 13.46 0.00 0.00 0.00 0.00 18:17:32 18:17:32 18:17:32 ---> sar -P ALL: 18:17:32 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-10567) 01/08/24 _x86_64_ (8 CPU) 18:17:32 18:17:32 18:11:20 LINUX RESTART (8 CPU) 18:17:32 18:17:32 18:12:01 CPU %user %nice %system %iowait %steal %idle 18:17:32 18:13:01 all 9.58 0.00 0.80 3.31 0.04 86.27 18:17:32 18:13:01 0 25.40 0.00 1.71 1.76 0.07 71.07 18:17:32 18:13:01 1 6.29 0.00 0.67 7.18 0.05 85.81 18:17:32 18:13:01 2 1.84 0.00 0.42 0.10 0.03 97.61 18:17:32 18:13:01 3 1.77 0.00 0.53 0.65 0.02 97.03 18:17:32 18:13:01 4 1.30 0.00 0.35 0.17 0.02 98.17 18:17:32 18:13:01 5 6.90 0.00 0.47 0.35 0.03 92.25 18:17:32 18:13:01 6 25.48 0.00 1.60 1.89 0.08 70.95 18:17:32 18:13:01 7 7.76 0.00 0.70 14.44 0.03 77.06 18:17:32 18:14:01 all 8.89 0.00 0.77 4.03 0.03 86.27 18:17:32 18:14:01 0 17.03 0.00 1.39 14.46 0.03 67.10 18:17:32 18:14:01 1 1.24 0.00 0.42 11.76 0.03 86.55 18:17:32 18:14:01 2 8.92 0.00 0.65 0.17 0.02 90.25 18:17:32 18:14:01 3 20.09 0.00 1.00 1.17 0.03 77.71 18:17:32 18:14:01 4 12.59 0.00 1.13 0.13 0.02 86.13 18:17:32 18:14:01 5 6.96 0.00 0.58 0.53 0.03 91.89 18:17:32 18:14:01 6 1.24 0.00 0.48 1.96 0.05 96.27 18:17:32 18:14:01 7 3.07 0.00 0.50 2.07 0.02 94.35 18:17:32 18:15:01 all 9.75 0.00 3.63 7.84 0.09 78.70 18:17:32 18:15:01 0 6.71 0.00 3.23 24.33 0.08 65.65 18:17:32 18:15:01 1 11.43 0.00 3.44 3.80 0.10 81.22 18:17:32 18:15:01 2 9.77 0.00 3.75 4.61 0.07 81.80 18:17:32 18:15:01 3 10.04 0.00 3.48 2.23 0.08 84.18 18:17:32 18:15:01 4 12.20 0.00 4.42 19.54 0.10 63.74 18:17:32 18:15:01 5 8.32 0.00 3.01 2.53 0.10 86.04 18:17:32 18:15:01 6 9.26 0.00 3.70 2.91 0.08 84.04 18:17:32 18:15:01 7 10.35 0.00 3.97 2.76 0.07 82.85 18:17:32 18:16:01 all 10.65 0.00 0.95 1.17 0.04 87.20 18:17:32 18:16:01 0 10.15 0.00 0.63 0.15 0.02 89.05 18:17:32 18:16:01 1 16.17 0.00 1.50 0.03 0.05 82.24 18:17:32 18:16:01 2 8.37 0.00 0.94 0.05 0.03 90.61 18:17:32 18:16:01 3 10.25 0.00 0.97 0.00 0.05 88.73 18:17:32 18:16:01 4 12.92 0.00 1.04 0.00 0.05 85.99 18:17:32 18:16:01 5 4.56 0.00 0.62 9.04 0.02 85.76 18:17:32 18:16:01 6 9.84 0.00 0.70 0.05 0.02 89.39 18:17:32 18:16:01 7 12.96 0.00 1.15 0.03 0.03 85.82 18:17:32 18:17:01 all 4.00 0.00 0.57 2.14 0.04 93.26 18:17:32 18:17:01 0 17.23 0.00 1.10 0.83 0.05 80.78 18:17:32 18:17:01 1 3.19 0.00 0.58 0.20 0.05 95.97 18:17:32 18:17:01 2 3.69 0.00 0.48 0.42 0.02 95.40 18:17:32 18:17:01 3 1.50 0.00 0.47 0.94 0.08 97.01 18:17:32 18:17:01 4 1.90 0.00 0.52 1.70 0.02 95.87 18:17:32 18:17:01 5 1.54 0.00 0.48 7.22 0.03 90.73 18:17:32 18:17:01 6 2.57 0.00 0.47 0.02 0.03 96.92 18:17:32 18:17:01 7 0.37 0.00 0.47 5.75 0.02 93.40 18:17:32 Average: all 8.57 0.00 1.34 3.69 0.05 86.36 18:17:32 Average: 0 15.31 0.00 1.61 8.28 0.05 74.75 18:17:32 Average: 1 7.66 0.00 1.32 4.60 0.06 86.37 18:17:32 Average: 2 6.51 0.00 1.24 1.06 0.03 91.15 18:17:32 Average: 3 8.72 0.00 1.28 0.99 0.05 88.94 18:17:32 Average: 4 8.17 0.00 1.48 4.26 0.04 86.05 18:17:32 Average: 5 5.64 0.00 1.03 3.94 0.04 89.35 18:17:32 Average: 6 9.68 0.00 1.39 1.36 0.05 87.52 18:17:32 Average: 7 6.89 0.00 1.35 5.01 0.03 86.71 18:17:32 18:17:32 18:17:32